summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Added A* pathfindingKelly Rauchenberger2021-02-2713-10/+300
|
* Added underwater music and fixed music not changing bugKelly Rauchenberger2021-02-273-1/+4
|
* Pressing M mutes/unmutes musicKelly Rauchenberger2021-02-271-0/+6
| | | | (except when the debug console is open)
* Added background music (defined on a per-map basis)Kelly Rauchenberger2021-02-2712-5/+142
|
* Exposed loadMapScripts to scripting engineKelly Rauchenberger2021-02-263-3/+14
| | | | This allows common functions to be stored in not per-map script files. Which is useful for code that we're going to want in a lot of places -- i.e. how every underwater map is going to have a copy of the same exit area function.
* Added animation slowdown effect (for Lucas underwater)Kelly Rauchenberger2021-02-266-1/+26
|
* Added sprite bobbing (for Lucas underwater)Kelly Rauchenberger2021-02-269-2/+52
|
* Disabled crouching/running in the underwater mapKelly Rauchenberger2021-02-266-2/+27
|
* Added first underwater mapKelly Rauchenberger2021-02-269-21/+1377
| | | | Also spruced up the event that takes you there. Also fixed an issue where transplantParty wouldn't take the medium of the new position into consideration. Also added a constructor to the lua version of vec2i.
* Added fish spriteKelly Rauchenberger2021-02-253-0/+32
|
* Lucas wades into hot spring alone when Ionia is thereKelly Rauchenberger2021-02-255-11/+43
|
* Ionia randomly appears in the waterKelly Rauchenberger2021-02-252-1/+12
|
* Fixed animations changing wrong at the start of submerge cutsceneKelly Rauchenberger2021-02-251-2/+1
|
* Tweaked underwater textKelly Rauchenberger2021-02-251-2/+2
|
* Started working on scene with Lucas going underwaterKelly Rauchenberger2021-02-255-1/+82
| | | | The resurfacing animation seems pretty good actually. Not sure about the sound effect for him submerging. Also gotta fix the issue with cutscenes in non-normal media.
* Fixed issue where debug console could be rendered onto message textKelly Rauchenberger2021-02-251-1/+10
| | | | In the renderer, it's important to set the render target properly before any copying or drawing operations, especially if it's after a call to renderMessageLine, since that changes the render target.
* Added map init scriptsKelly Rauchenberger2021-02-244-2/+26
| | | | Map scripts also now actually run in their own lua thread.
* Ionia is in the water!Kelly Rauchenberger2021-02-244-1/+18
|
* Added Ionia water animationKelly Rauchenberger2021-02-243-2/+27
|
* Added animation for being in a hot springKelly Rauchenberger2021-02-2416-11/+202
|
* Fixed Boney's climbing animationKelly Rauchenberger2021-02-241-2/+2
| | | | It is weird.
* Added running sound for vine laddersKelly Rauchenberger2021-02-243-1/+10
|
* Fixed party trails when running on a ladderKelly Rauchenberger2021-02-243-36/+61
|
* Removed more manual animation stuffKelly Rauchenberger2021-02-241-8/+0
|
* Fixed Duster's climbing animationKelly Rauchenberger2021-02-241-2/+2
|
* Fixed Kumatora's climbing animationKelly Rauchenberger2021-02-241-2/+2
|
* Made it so you can use shift to stop running on a ladderKelly Rauchenberger2021-02-241-4/+4
|
* Removed sprite shadow while on a ladderKelly Rauchenberger2021-02-244-5/+8
|
* Added variable animation frame ratesKelly Rauchenberger2021-02-244-17/+35
| | | | Lucas's climbing animation now accurately uses 60fps and looks correct finally!
* Added shorthand for repeated frames in animationsKelly Rauchenberger2021-02-245-28/+36
|
* Removed manual animation stuffKelly Rauchenberger2021-02-248-28/+9
|
* Started working on laddersKelly Rauchenberger2021-02-2414-39/+224
| | | | | | | | | | | TODO: * all the animations are weird. we will need to have an adjustable framerate bc the climbing animation does not look right at the current rate. (also remove the manual animation stuff ig) * does the medium stuff seem good and right? i am kinda not satisfied with it. * running onto a ladder causes the characters to bunch up bc the movement speed is slowed down but the trails are not doubled * no ladder running sound * shadows should vanish while on a ladder * uhh if you end a cutscene while on a ladder it resets the animation to "still" which is wrong. will this ever happen? idk * adding a sprite to your party while you are on a ladder??
* Added a clipping mode (for testing!)Kelly Rauchenberger2021-02-234-4/+22
| | | | This allows walking through solid objects. It can be enabled and disabled using StartClipping() and StopClipping() in the debug console. It should not be used in any actual scripts.
* Added connection between hallucination_cliff and hallucination_hot_springKelly Rauchenberger2021-02-234-2/+29
|
* Generalized upper/lower layer map renderingKelly Rauchenberger2021-02-2210-180/+650
| | | | | | Map layers can have a flag on them that specifies that they should be rendered as part of the upper set (rendered above the normal sprite layer but below the above sprite layer). Also added map connections between hallucination_interior and hallucination_cliff. And named the layers in the map files bc why not.
* Adjusted which tiles are solid on the hallucination tilesetKelly Rauchenberger2021-02-221-2/+22
|
* Fixed issue with double counting collisionsKelly Rauchenberger2021-02-221-4/+4
| | | | | | | | Because of an issue with how collision checking with sprites worked, it was possible that you could collide with a boundary twice (once when moving up to it, and once when moving from it to past it, instead of just one or the other) when moving up or left as long as the colliding sprite had the ID zero. This was causing a fun issue where the map change script from hallucination_interior to hallucination_cliff was getting triggered twice, but only every other time. Because we're using integers and not real numbers, we can make the boundary exclusive by adding one. The issue was also technically possible in the down and right directions, but only if the sprite ID was INT_MAX, which is unlikely to occur. It was decided that the former collision is the real one (if you start away from the boundary and then move into it).
* Tweaked Ionia's one line of speechKelly Rauchenberger2021-02-221-1/+1
|
* Re-dumped hallucination map/tilesetKelly Rauchenberger2021-02-2213-1621/+1757
| | | | | | The hallucination cliff area and the hot spring map have also been dumped now, but they have not been tested and likely need work because they use a third layer, which is not yet supported. However these all share a tileset now, yay! I added collision and run sounds back to the tiles and hopefully it matches up with what it was before. Also the maps have nicer names now. i.e. big change with no noticeable effects
* Modified map/tileset dumper to coalesce tilesetsKelly Rauchenberger2021-02-222-178/+250
| | | | Multiple map IDs can be provided now and their tilesets will be combined.
* Entering an invalid debug command fails gracefullyKelly Rauchenberger2021-02-211-0/+5
|
* Multiple scripts can be run at onceKelly Rauchenberger2021-02-212-18/+28
| | | | And they're all on their own threads again. This is mostly so debug commands can be run during execution of other scripts. But it can also be useful for map init scripts (if we want a script to run whenever a map is loaded, even though map loading is usually done by a script).
* Debug commands run inside a coroutine now yay!Kelly Rauchenberger2021-02-212-6/+16
| | | | Also it turns out you totally don't need the runner thread.
* Added copy-pasting into the debug consoleKelly Rauchenberger2021-02-211-0/+5
|
* Added frozen animation for cutscenesKelly Rauchenberger2021-02-217-6/+73
| | | | | | The player's party will be set to "frozen" at the start of a cutscene and "still" at the end. "frozen" doesn't include idle animations, which are weird to show up during tense exchanges. A CutsceneOptions enum was introduced to be able to modify the growing number of things that StartCutscene() and HideCutsceneBars() do. Currently the lightning mailbox event uses it so that Lucas's animation is not reset to still (instead of the collapsed animation) after he's electrocuted.
* Added a debug consoleKelly Rauchenberger2021-02-2114-2/+150
| | | | | | | | 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 sprite pausingKelly Rauchenberger2021-02-217-3/+38
| | | | | | All sprites are now paused when a cutscene starts and unpaused when it ends. Pausing means that the CharacterSystem and BehaviourSystem will not process them in their tick. This allows specific sprites to be unpaused during cutscenes if movement is needed. The player character is halted and made non-controllable by the script when the cutscene starts and made controllable again when it ends. It is important to remember that if interacting with a sprite that might be moving, you have to manually call Halt() on them in their script to make them stop moving.
* Added variable movement speedKelly Rauchenberger2021-02-2010-12/+23
| | | | Ionia now moves at half Lucas's speed, which I think is good for NPCs.
* Added enclosure zonesKelly Rauchenberger2021-02-206-1/+63
| | | | A sprite with an enclosure zone will collide with it if it attempts to leave the area defined by the zone. This is used to make sure that wandering sprites don't end up in weird places.
* Added a randomly wandering Ionia to the mapKelly Rauchenberger2021-02-2011-6/+99
|