summary refs log tree commit diff stats
path: root/src/input_system.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added pause menu opening and closing animationStar Rauchenberger2021-03-131-12/+17
| | | | #7
* Simplified collision detection outputKelly Rauchenberger2021-03-111-13/+5
| | | | It is no longer split into horizontal and vertical results. Also, the collision detection routine now does the work of calculating an adjusted position, instead of the caller (CharacterSystem) having to do it. This will be useful for #3.
* Added A* pathfindingKelly Rauchenberger2021-02-271-1/+1
|
* Pressing M mutes/unmutes musicKelly Rauchenberger2021-02-271-0/+6
| | | | (except when the debug console is open)
* Added copy-pasting into the debug consoleKelly Rauchenberger2021-02-211-0/+5
|
* Added a debug consoleKelly Rauchenberger2021-02-211-2/+42
| | | | | | | | Open it by pressing backtick, close it by hitting escape. Pressing backtick does not open it in release builds. Current shortcomings: opening it for the first time also types a backtick for some reason, but not on subsequent times. Also, it doesn't create a coroutine, so any script function that yields is going to fail. This also added a "is gameplay paused" flag to Game, which will be useful for adding a pause menu.
* Added variable movement speedKelly Rauchenberger2021-02-201-1/+2
| | | | Ionia now moves at half Lucas's speed, which I think is good for NPCs.
* Scripts are organised per-map nowKelly Rauchenberger2021-02-121-3/+3
|
* Added choice promptsKelly Rauchenberger2021-02-111-0/+8
| | | | "A presses" are also no longer special values in the lines list, but are rather a field on the MessageLine object.
* Added "no problem here"Kelly Rauchenberger2021-02-071-0/+13
|
* Added sprite interactionKelly Rauchenberger2021-02-061-13/+33
|
* Created script systemKelly Rauchenberger2021-02-051-1/+3
|
* Added little bobbing "next message" arrowKelly Rauchenberger2021-02-051-2/+3
|
* Added speaker headerKelly Rauchenberger2021-02-051-1/+1
|
* Added text boxesKelly Rauchenberger2021-02-041-2/+7
| | | | | | Text now reveals itself and scrolls! Yay! It even plays speaker beeps. TODO: the arror indicating an A press is needed. Bullets on lines that need bullets. The header that says who the speaker is, if relevant.
* Added cutscene bars (and resized game)Kelly Rauchenberger2021-02-031-5/+15
|
* Added input systemKelly Rauchenberger2021-02-031-0/+89