Commit Graph

11 Commits

Author SHA1 Message Date
Corentin Jabot 727a2c5e76 Create an include 2021-07-05 12:02:36 +02:00
Corentin Jabot e4991ab1dd Rename PositionInt 2021-07-05 11:47:03 +02:00
Corentin Jabot ba515eaca5 Replace floats by doubles 2021-07-05 11:40:10 +02:00
Corentin Jabot 5b0e561afc Pacman and ghosts can eat each others 2021-07-01 10:19:46 +02:00
Corentin Jabot 93186dc8b9 Add ghosts
No movement for now!
2021-06-24 18:33:08 +02:00
Corentin Jabot 42ee04203f Make pacman mouth wide open while he doesn't move 2021-06-24 18:33:08 +02:00
Corentin Jabot c7ef086d3d Migrate from SDL to SFML
This simplifies the rendering code and remove all(!) pointers.

There is a number of unresolved issues

* Windows build ?
* position delta computation: migrating to SFML seems to have modified
the frame rate.
2021-06-22 13:17:12 +02:00
Corentin Jabot bbf3731cf4 Change window geometry for scoring.
* Add margins all around the board for better aestetics.
* Add room for scoring
* Because the texture atlas is a 32x32 grid, we can manipulate
textures as positions on that grid and only create a rectangle
for that texture in the rendering code.
* Avoid hardcoded values in the rendering code.
2021-06-15 23:55:55 +02:00
Patricia Aas 27b8d47dec Move to pragma once 2021-06-10 14:42:51 +02:00
Corentin Jabot 335a698226 Replace float_t by float 2021-05-10 15:14:38 +02:00
Corentin Jabot 164db664ef Use VCPKG and reorganization
* Remove non-pacman exercises.
* Use vcpkg instead of conan ( make vcpkg a submodule)
* Merge the readmem these will need to be improve later
2021-05-10 14:58:00 +02:00
Renamed from pacman/lib/PacManAnimation.hpp (Browse further)