summary refs log tree commit diff stats
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Started implementing scheduleKelly Rauchenberger2019-02-201-27/+0
| | | | | | | | | | Scheduled entities move downward every beat, although they have a speed that is twice the bpm, so essentially they move every other beat? Broke the simulation loop such that different parts run independently -- made it horizontal rather than vertical. Encapsulated the grid cache so that more than one position field could be cached. This is used to make sure that an entity can't move into a space that something else is already moving into. Fixed issue where an entity could move perpendicularly into the space an entity was moving out of.
* Restrictions for moving into a space a block is moving out ofKelly Rauchenberger2019-02-191-1/+12
| | | | | | An entity can only move into a space a block is moving out of if the time it would take the entity to move into the tile is at least the time remaining for the other block to finish moving out of the space. Also, crates can push each other now.
* Pushing works nowKelly Rauchenberger2019-02-161-4/+2
|
* Started implementing pushing, but not reallyKelly Rauchenberger2019-02-161-1/+11
|
* Very basic ECSKelly Rauchenberger2019-02-031-0/+60