summary refs log tree commit diff stats
path: root/src/game.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added lightning sprite to mailbox eventKelly Rauchenberger2021-02-131-1/+11
| | | | | | | | Sprites can be destroyed now, which really just means that their index is removed from the list of active sprites. The actual memory is not freed until all sprites are deleted on map change. Sprite layers are introduced. All sprites by default are on layer 0 (Normal) which renders them in between the lower and upper map layers. There is also a layer 1 (Above) that renders above the upper map layer, and the sprite for the lightning strike uses this layer in order to not be hidden by the trees. Fixed a bug where waiting for the end of a non-looping animation would trip the flag immediately upon the final frame activating, instead of waiting the length of the last frame.
* Added sprite shadowsKelly Rauchenberger2021-02-131-0/+5
|
* Added tile-sized invisible spritesKelly Rauchenberger2021-02-121-1/+3
| | | | These are used when you want a solid, interactable object that is part of the map instead of sprite animated (e.g. the mailboxes).
* Player is no longer controllable during map transitionsKelly Rauchenberger2021-02-101-1/+1
|
* loadMap requires a direction now, so party trails are set up correctlyKelly Rauchenberger2021-02-101-1/+5
|
* Fixed running sound looping infinitely after running into map changeKelly Rauchenberger2021-02-101-4/+4
|
* When changing map, place whole party at the warpKelly Rauchenberger2021-02-101-4/+6
|
* Map changing!Kelly Rauchenberger2021-02-091-0/+60
| | | | Also removed some dependencies on the Renderer. More changes need to be made. Fading to black before the change would be good. And making sure the characters are facing the right direction. Maybe that code shouldn't live in Game, either. Later we also want to combine the tilesets for these two maps (and any others that are on Tanetane).
* Added sound and animation changes to scriptingKelly Rauchenberger2021-02-061-1/+2
|
* Added animation systemKelly Rauchenberger2021-02-031-2/+2
|
* Added camera systemKelly Rauchenberger2021-02-031-22/+0
|
* Pulled transform stuff into a system (starting to do ECS stuff)Kelly Rauchenberger2021-02-031-13/+1
|
* Added moving cameraKelly Rauchenberger2021-02-021-1/+23
|
* Added sprite Y sortingKelly Rauchenberger2021-01-301-0/+20