cbd19df739
We render pack man at twice the size that we want on screen, which is the native resolution of the asset file. The maze is upscaled. We then project everything onto a view which is applies the scale factor. This patches also dectect the appropriate scale on OSX. This required a bit of objective C (scaling.mm), but students should not look at this file and there is a comment in that direction. Scalling.cpp provides the default implementation for other platforms. |
||
---|---|---|
.. | ||
Atlas.hpp | ||
Board.hpp | ||
Canvas.hpp | ||
Direction.hpp | ||
Game.hpp | ||
Ghost.hpp | ||
InputState.hpp | ||
PacMan.hpp | ||
PacManAnimation.hpp | ||
Pellets.hpp | ||
Position.hpp | ||
Score.hpp | ||
SuperPellets.hpp |