Commit Graph

15 Commits

Author SHA1 Message Date
b19daafc2b Refactor some constants to Constants class
Use TILE_SIZE everywhere a magic 8 appears (in the context of a tile size)
2020-01-22 02:35:05 +04:00
a9e99a363c Plumb in high scores 2020-01-16 16:23:30 +04:00
5c227e53d1 Render fonts ourselves with a font spritesheet.
Ensures font looks original to classic pac-man
2020-01-16 12:32:32 +04:00
b05cca6b3f Remove unused ShapeRenderer, add FPS counter in DEBUG mode
Move ghost reverse after path logic, which may have been the cause of
ghosts getting stuck inside the house...?

Moved where 'paused' is rendered
2020-01-07 15:47:41 +04:00
bf0d5e041b Functional menu 2019-12-29 12:24:51 +04:00
30962673d5 Version 0.1.0 2019-12-29 00:33:16 +04:00
cd2b968631 Ghosts can get inside their house now
Add Path object for defining  apath an entity should take at a given speed.

Fix some issues with ghost capturing logic
2019-12-27 14:35:47 +04:00
76c169fe5a A PacDude is born.
And he moves!
But you can't control him.
2019-12-24 18:28:09 +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
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
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