Commit Graph

33 Commits

Author SHA1 Message Date
f43840979b Now the tunnel works
Also don't allow setting next direction to the current direction.
2019-12-25 19:22:56 +04:00
f5ba40255a Pacman null check since he might arrive at a null tile 2019-12-25 19:12:26 +04:00
347f8f5dba Bounds check on getTile 2019-12-25 19:11:33 +04:00
7bece08683 Implement pause 2019-12-25 17:50:52 +04:00
437ae39a9e Remove ghost's eyes, move eye sprites to ghosts sprites 2019-12-25 16:55:28 +04:00
1a74c9aae3 Load in the rest of the sound assets. 2019-12-25 16:26:25 +04:00
0b2b7fac0f Allow resizing 2019-12-25 16:26:13 +04:00
fbd7715b5a Reset on win, play the alternate music. 2019-12-25 01:56:05 +04:00
fd30774746 Eat power pellets. 2019-12-25 01:33:27 +04:00
e038db9500 Draw lives, add intro music, background siren
Move score to original position
2019-12-25 01:24:30 +04:00
67cf7ff7c5 Correct 8-bit wavs to 16-bit 2019-12-25 01:23:02 +04:00
5382e4896d Wakka Wakka 2019-12-24 23:39:27 +04:00
a23e9169b7 Remove pellets where there shouldn't be any 2019-12-24 23:38:46 +04:00
ea4426f0a0 Dot eater 2019-12-24 22:56:31 +04:00
124f665232 LevelTile.HALLWAY -> LevelTile.TUNNEL 2019-12-24 22:39:39 +04:00
d8319148b9 LevelComponent -> LevelTile 2019-12-24 22:38:32 +04:00
961b4469c5 Add pacman controls.
Changed coordinates such that the center of a tile is now
tile_coordinate + 0.5 rather than tile_coordinate, which makes math make
more sense.
2019-12-24 22:35:02 +04:00
e30f7af064 Fixed level data 2019-12-24 22:32:46 +04:00
76c169fe5a A PacDude is born.
And he moves!
But you can't control him.
2019-12-24 18:28:09 +04:00
765151a654 Fix pacman sprites (align whole pac to partial pac) 2019-12-24 18:27:02 +04:00
e28ca3f6b3 Add .xcf files 2019-12-24 15:36:31 +04:00
6c45eaeac5 Move a sprite 2019-12-24 15:36:18 +04:00
c7a880a6a6 Include barrier to level data file, remove added offset on render 2019-12-24 15:32:52 +04:00
9985da33e0 Move asset loading to central Assets object. Add joystix font 2019-12-24 15:32:52 +04:00
8336838fc4 Render LevelComponents with sprites instead of shapes 2019-12-24 15:32:52 +04:00
8d6a9b7f97 Add sprite sheets. 2019-12-24 15:32:42 +04:00
ae4069f9fc Match the original Pacman dimensions
Move the field up to match original Pacman
position.
2019-12-24 12:51:42 +04:00
eae226b5bb Render pellets on menu screen.
Add Level object which contains level data (in the form of
an 2D array of stateless LevelComponents), LevelLoader which loads
level data from a txt file.
2019-12-24 02:27:05 +04:00
e031cb4400 Add State + MenuState, use AssetManager 2019-12-24 00:59:13 +04:00
bb934b0d7c ASCII pacman level! 2019-12-24 00:56:25 +04:00
fd89c7d492 Add logo. 2019-12-24 00:11:18 +04:00
8d64ca7c36 Initial commit.
Basic window setup, sound and level assets.
2019-12-23 23:07:24 +04:00
75185a7f23 Root commit. 2019-12-23 23:03:59 +04:00