summary refs log tree commit diff stats
path: root/src/system.h
Commit message (Collapse)AuthorAgeFilesLines
* Added MirrorSystemKelly Rauchenberger2021-03-051-0/+1
| | | | This is really just for letting one sprite mirror another's movement and animation. I tried doing it in the BehaviourSystem, but you get stuttering if you do it earlier in the loop than the CharacterSystem, so I ended up having to make a new system just for this thing that will not happen very often.
* Added a randomly wandering Ionia to the mapKelly Rauchenberger2021-02-201-0/+1
|
* Made some sprites persist between map changesKelly Rauchenberger2021-02-171-2/+0
| | | | | | The player party characters are now initialised at the start of the game and are no longer re-created after every map change. The script system takes care of moving the player into the correct position on the new map. Deleted sprite IDs are now reused the next time a sprite is created, instead of throwing out everything between maps.
* Added map fadeoutsKelly Rauchenberger2021-02-141-1/+2
| | | | Screen fadeouts and map fadeouts are now handled by the effect system.
* Added lightning sprite to mailbox eventKelly Rauchenberger2021-02-131-0/+2
| | | | | | | | 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.
* Map changing!Kelly Rauchenberger2021-02-091-0/+2
| | | | 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).
* Created script systemKelly Rauchenberger2021-02-051-1/+2
|
* Added cutscene bars (and resized game)Kelly Rauchenberger2021-02-031-1/+2
|
* Added input systemKelly Rauchenberger2021-02-031-2/+3
|
* Converted Party into CharacterSystemKelly Rauchenberger2021-02-031-1/+2
|
* Added animation systemKelly Rauchenberger2021-02-031-1/+2
|
* Added camera systemKelly Rauchenberger2021-02-031-0/+8
|
* Pulled transform stuff into a system (starting to do ECS stuff)Kelly Rauchenberger2021-02-031-0/+7