-
- Downloads
Implementing animated movement of units (tile-based)
- Creating `Box2dHelper.hpp` with inline converting helper functions of Box2D coordinates, tiles and pixels - Outsourcing `PIXELS_PER_METER` into `Box2dHelper.hpp` - Setting `PIXELS_PER_METER` from 32 to 16 (tile length = 1 meter)
Showing
- src/game/Box2dHelper.hpp 42 additions, 0 deletionssrc/game/Box2dHelper.hpp
- src/game/Bullet.cpp 1 addition, 0 deletionssrc/game/Bullet.cpp
- src/game/Bullet.hpp 0 additions, 4 deletionssrc/game/Bullet.hpp
- src/game/Level.cpp 3 additions, 2 deletionssrc/game/Level.cpp
- src/game/Unit.cpp 76 additions, 27 deletionssrc/game/Unit.cpp
- src/game/Unit.hpp 14 additions, 0 deletionssrc/game/Unit.hpp
Loading
Please register or sign in to comment