summary refs log tree commit diff stats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Spawnblocked map sprites with already-used namesKelly Rauchenberger2021-02-181-0/+4
| | | | i.e. Map prototypes and triggers will not be instantiated upon loading the map if there is a persistent sprite with the same name. This is important because the Claus that joins your party is originally a map prototype.
* Started adding event where Claus joins the partyKelly Rauchenberger2021-02-183-2/+16
|
* Made some sprites persist between map changesKelly Rauchenberger2021-02-1712-85/+108
| | | | | | 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 expressions (currently just surprise)Kelly Rauchenberger2021-02-171-1/+9
|
* Added scriptable camera panningKelly Rauchenberger2021-02-163-14/+79
|
* Added camera shake to lightning eventKelly Rauchenberger2021-02-154-3/+52
|
* Added map fadeoutsKelly Rauchenberger2021-02-148-14/+165
| | | | Screen fadeouts and map fadeouts are now handled by the effect system.
* Added lightning sprite to mailbox eventKelly Rauchenberger2021-02-1316-33/+135
| | | | | | | | 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 non-looping animationsKelly Rauchenberger2021-02-134-11/+31
| | | | Lucas can get electrocuted now.
* Player is a bit lower on screen nowKelly Rauchenberger2021-02-131-1/+1
|
* Added sprite shadowsKelly Rauchenberger2021-02-135-0/+15
|
* Got correct sprites for message arrowsKelly Rauchenberger2021-02-122-13/+18
|
* Added sfx for selecting message choicesKelly Rauchenberger2021-02-121-0/+8
|
* Added tile-sized invisible spritesKelly Rauchenberger2021-02-122-1/+18
| | | | These are used when you want a solid, interactable object that is part of the map instead of sprite animated (e.g. the mailboxes).
* Scripts are organised per-map nowKelly Rauchenberger2021-02-127-19/+20
|
* Added message bulletsKelly Rauchenberger2021-02-123-13/+32
|
* Added choice promptsKelly Rauchenberger2021-02-115-38/+110
| | | | "A presses" are also no longer special values in the lines list, but are rather a field on the MessageLine object.
* Player movement/input is halted during cutscenesKelly Rauchenberger2021-02-103-1/+16
|
* Player is no longer controllable during map transitionsKelly Rauchenberger2021-02-104-4/+7
|
* Removed out-of-bounds tile collisionKelly Rauchenberger2021-02-101-4/+10
| | | | This allows running off screen for a map transition to happen without bumping into something that isn't there.
* loadMap requires a direction now, so party trails are set up correctlyKelly Rauchenberger2021-02-105-6/+14
|
* Running is preserved across screen transitionsKelly Rauchenberger2021-02-103-13/+32
|
* Direction is preserved across map transitions nowKelly Rauchenberger2021-02-101-1/+25
|
* Fixed running sound looping infinitely after running into map changeKelly Rauchenberger2021-02-103-4/+14
|
* Added fade out around map changeKelly Rauchenberger2021-02-104-3/+20
| | | | Also moved script system first in the loop so that the camera can catch up before rendering. Also added a map change from map 2 back to map 1.
* When changing map, place whole party at the warpKelly Rauchenberger2021-02-101-4/+6
|
* Fixed issue with walking vertically into solid spritesKelly Rauchenberger2021-02-101-6/+6
|
* Map changing!Kelly Rauchenberger2021-02-0916-66/+119
| | | | 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 trigger zones to the mapKelly Rauchenberger2021-02-098-18/+76
| | | | Walking into a trigger zone runs a script.
* Maps can contain named points of interest called warpsKelly Rauchenberger2021-02-093-1/+11
|
* Fixed issue with single-line messagesKelly Rauchenberger2021-02-091-0/+4
| | | | Including the "no problem here" message. Problem was introduced with the \f change.
* Entity prototypes can be stored in the map file nowKelly Rauchenberger2021-02-093-5/+49
|
* Added newlines that don't require A pressesKelly Rauchenberger2021-02-092-8/+26
| | | | \n in a text message just indicates a newline. \n\f is a newline with an A press.
* Added "no problem here"Kelly Rauchenberger2021-02-071-0/+13
|
* Characters added to a party now tween to their starting position instead of ↵Kelly Rauchenberger2021-02-061-2/+13
| | | | teleporting
* Added function to get Direction from one point to anotherKelly Rauchenberger2021-02-061-0/+26
|
* Added sound and animation changes to scriptingKelly Rauchenberger2021-02-064-7/+42
|
* Fixed text wrapping miscalculation issueKelly Rauchenberger2021-02-061-7/+1
|
* Added sprite interactionKelly Rauchenberger2021-02-064-14/+49
|
* Added collision with other spritesKelly Rauchenberger2021-02-063-29/+105
|
* Added FlintKelly Rauchenberger2021-02-061-0/+4
|
* Added collidable object cacheKelly Rauchenberger2021-02-064-18/+96
|
* Moved some collision stuff into the TransformSystemKelly Rauchenberger2021-02-063-49/+88
|
* Prevented multiple loading of the same image filesKelly Rauchenberger2021-02-052-13/+18
|
* Organised resources folderKelly Rauchenberger2021-02-054-23/+23
|
* Created script systemKelly Rauchenberger2021-02-056-2/+106
|
* Added pageflip message soundKelly Rauchenberger2021-02-051-0/+2
|
* Added little bobbing "next message" arrowKelly Rauchenberger2021-02-055-4/+51
|
* Added speaker headerKelly Rauchenberger2021-02-055-11/+49
|
* Added text boxesKelly Rauchenberger2021-02-0410-4/+377
| | | | | | 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.