An RPG-like 2D top down demo.
Character and WorldViewport get notified when the world size is set. This way even if world size never changes they still get notified about the proper world size as soon as that information is ready, be it during instantiation or registration. Previously I was having trouble because at the point where Character was instantiated, the world size was not known yet. As such, I had to call a character.update_world_size() function after it became available. The same happened for the viewport, and this looked a bit too brittle from the programmer's perspective. Now you just instantiate the Character and things get sorted out automatically. |
||
---|---|---|
cmake/include | ||
lib | ||
src | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
COPYING | ||
LPC_Sara_Preview.png | ||
nonfree_map.tmx | ||
nonfree_map_ground.csv | ||
nonfree_map_transparent.csv | ||
nonfree_texture.png | ||
textures.xcf |