Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improved eight-direction pathfinding | Star Rauchenberger | 2021-07-06 | 2 | -20/+39 |
| | | | | | | | | | | In the past, not using the "cardinal directions only" flag resulted in awkward and unintuitive paths. Two changes were made to the algorithm to improve these paths. One, nodes in the graph are now a pair of a position and the direction taken to get there. This way, a small penalty can be applied whenever a turn is taken, which should incentivise paths with fewer turns (which should be simpler). This change theoretically affects the cardinal mode as well, but in practice it is unlikely to change the paths that would've been generated. This also multiplies the search space by eight (four in cardinal mode), but so far it does not appear to be a significant resource drain. Two, the heuristic used in eight-directions mode is now octile distance, instead of dominant axis distance. Additionally, the real cost of moving diagonally is ~sqrt(2) instead of 1. This somewhat disincentivises diagonal movement, since it is no longer considered the same as cardinal movement (even though cardinal and diagonal movement occurs at the same speed), but the turning penalty makes moving diagonally more favourable than zigzagging cardinally to reach a diagonal destination. Most scripted movement in the game is likely to use cardinal mode because that mirrors the way most scripted movement in Mother 3 works, but in some cases (the Hinawa event on the cliff) diagonal movement just looks better, and thus it's useful to have the improved pathfinding algorithm. | ||||
* | Added moonwalking to pathfinding behaviour | Star Rauchenberger | 2021-07-06 | 4 | -2/+10 |
| | | | | This flag will make the sprite appear to be walking backwards. | ||||
* | Added beginning of Hinawa event | Star Rauchenberger | 2021-07-06 | 3 | -3/+110 |
| | | | | #28 | ||||
* | Added the ability to pan camera to a warp point | Star Rauchenberger | 2021-07-06 | 5 | -2/+29 |
| | |||||
* | Added "floating" sprite attribute | Star Rauchenberger | 2021-07-06 | 5 | -4/+13 |
| | | | | Sprites with this flag enabled will ignore map collision. | ||||
* | Made the "everyone looks at mirror" behaviour into a background script | Star Rauchenberger | 2021-07-05 | 2 | -6/+6 |
| | | | | This simplifies it a bit, because it no longer needs to constantly check that we are on the right map. It is linked to the mirror's edge. | ||||
* | Added background scripts | Star Rauchenberger | 2021-07-05 | 6 | -2/+38 |
| | | | | Background scripts are scripts that are launched when a map is loaded. They differ in use from a map's init script in that they are expected to contain an infinite loop. These scripts are linked to a sprite and will be killed when that sprite is destroyed (usually when the map is unloaded, but if the sprite is made persistent then it may last longer). The thread running the script is given no warning that it is being killed; the coroutine is simply never called again, and the thread is disposed of. Because of this, background scripts MUST ensure the game is in a consistent state before coroutine yielding, because it is not guaranteed that the coroutine will ever be called again. | ||||
* | Added fading in/out sprites | Star Rauchenberger | 2021-07-05 | 5 | -2/+38 |
| | |||||
* | Added ghost!Hinawa sprite | Star Rauchenberger | 2021-07-05 | 3 | -0/+213 |
| | |||||
* | Added sprite opacity | Star Rauchenberger | 2021-07-05 | 4 | -3/+18 |
| | |||||
* | [switch route] Lucas strangled animations | Star Rauchenberger | 2021-03-18 | 1 | -1/+4 |
| | | | | | | They don't quite mesh with the Mecha Drago though. Will have to work on that. #10 | ||||
* | Ripped Mecha Drago sprite | Star Rauchenberger | 2021-03-18 | 3 | -0/+94 |
| | |||||
* | [switch route] Created Drago Plateau map | Star Rauchenberger | 2021-03-17 | 4 | -0/+1253 |
| | | | | #10 | ||||
* | [switch route] Added backwards RGYY music | Star Rauchenberger | 2021-03-17 | 3 | -1/+4 |
| | | | | #10 | ||||
* | [switch route] Started working on switching scene | Star Rauchenberger | 2021-03-17 | 3 | -4/+311 |
| | | | | #10 | ||||
* | Tweaked switch_claus yes branch text | Star Rauchenberger | 2021-03-15 | 1 | -1/+1 |
| | | | | #10 | ||||
* | Added Lucky sprite | Star Rauchenberger | 2021-03-14 | 3 | -0/+118 |
| | |||||
* | Added Baccio sprite | Star Rauchenberger | 2021-03-14 | 3 | -0/+103 |
| | |||||
* | Added Shimmy Zmizz sprite | Star Rauchenberger | 2021-03-14 | 3 | -0/+92 |
| | |||||
* | Added OJ sprite | Star Rauchenberger | 2021-03-14 | 3 | -0/+108 |
| | |||||
* | Added Magic (DCMC) to hallucination_interior | Star Rauchenberger | 2021-03-14 | 2 | -1/+31 |
| | |||||
* | Added debug info to Script object | Star Rauchenberger | 2021-03-13 | 2 | -0/+5 |
| | |||||
* | Sound volume is controllable from settings menu | Star Rauchenberger | 2021-03-13 | 3 | -3/+21 |
| | | | | #7 | ||||
* | Disabled mute shortcut while on menu | Star Rauchenberger | 2021-03-13 | 1 | -5/+7 |
| | | | | | | Mostly because pressing M while the settings menu is open would not cause the music slider to go down automatically. #7 | ||||
* | Music volume is controllable from settings menu | Star Rauchenberger | 2021-03-13 | 4 | -2/+35 |
| | | | | #7 | ||||
* | Added sliders to the settings menu | Star Rauchenberger | 2021-03-13 | 7 | -4/+117 |
| | | | | #7 | ||||
* | Added submenus | Star Rauchenberger | 2021-03-13 | 7 | -53/+137 |
| | | | | #7 | ||||
* | Sound effects are paused on the pause menu | Star Rauchenberger | 2021-03-13 | 3 | -0/+14 |
| | | | | #7 | ||||
* | Added pause menu open and close sound | Star Rauchenberger | 2021-03-13 | 5 | -7/+25 |
| | | | | #7 | ||||
* | Added option to exit area from pause menu on supported maps | Star Rauchenberger | 2021-03-13 | 6 | -2/+21 |
| | | | | #7 | ||||
* | Pause menu commands can do something | Star Rauchenberger | 2021-03-13 | 5 | -1/+30 |
| | | | | #7 | ||||
* | Added cursor wrapping to pause menu | Star Rauchenberger | 2021-03-13 | 1 | -10/+16 |
| | | | | #7 | ||||
* | Menu cursor should start at the top when opened | Star Rauchenberger | 2021-03-13 | 1 | -0/+2 |
| | | | | Even if it was left on a different option before closing the menu. | ||||
* | Player can move cursor on pause menu | Star Rauchenberger | 2021-03-13 | 4 | -0/+32 |
| | | | | #7 | ||||
* | Added cursor to pause menu | Star Rauchenberger | 2021-03-13 | 4 | -0/+38 |
| | | | | #7 | ||||
* | Rendered pause menu during animation | Star Rauchenberger | 2021-03-13 | 2 | -62/+112 |
| | | | | Also, the game is not rendered at all if the pause menu is totally open, which makes sense because why are we going to the effort to render it and then just colour over it. | ||||
* | Rendered some menu options | Star Rauchenberger | 2021-03-13 | 6 | -1/+88 |
| | | | | #7 | ||||
* | Added pause menu opening and closing animation | Star Rauchenberger | 2021-03-13 | 4 | -12/+86 |
| | | | | #7 | ||||
* | Created Interpolation abstraction | Star Rauchenberger | 2021-03-13 | 5 | -64/+65 |
| | | | | This simplifies EffectSystem quite a bit, and will be useful in other classes. | ||||
* | Created MenuSystem | Star Rauchenberger | 2021-03-13 | 5 | -1/+27 |
| | | | | | | It currently has nothing in it. #7 | ||||
* | Added Magic (from the DCMC) | Star Rauchenberger | 2021-03-12 | 3 | -0/+100 |
| | | | | #16 | ||||
* | [Finale] text from Alive for if you saw Doria | Star Rauchenberger | 2021-03-12 | 1 | -0/+43 |
| | | | | | | Also added a subroutine that delays execution for X milliseconds of player movement. #20 | ||||
* | Interacting with Kuma and Duster in the finale | Star Rauchenberger | 2021-03-12 | 5 | -70/+44 |
| | | | | | | The hot spring is also a little bigger now, because I'm using an enclosure to keep Lucas in, instead of setting the tiles to being solid or not. #20 | ||||
* | Prevented bonking if you moved on at least one axis | Star Rauchenberger | 2021-03-12 | 1 | -5/+6 |
| | | | | #18 | ||||
* | "switch_claus" event pans to focus on Claus | Star Rauchenberger | 2021-03-11 | 1 | -0/+3 |
| | |||||
* | Made default sprite hitboxes slightly narrower | Star Rauchenberger | 2021-03-11 | 2 | -6/+6 |
| | | | | This includes the player characters. It was impossible to access the Time Passage mailbox with the wider hitbox because the player would continuously slide between the solid tiles to either side of it. | ||||
* | Added start points for finale scene | Star Rauchenberger | 2021-03-11 | 3 | -2/+28 |
| | | | | #20 | ||||
* | Created finale map | Star Rauchenberger | 2021-03-11 | 4 | -0/+147 |
| | |||||
* | Delete the Github action for now | Star Rauchenberger | 2021-03-11 | 1 | -47/+0 |
| | |||||
* | Add auto-building on push | Star Rauchenberger | 2021-03-11 | 1 | -0/+47 |
| |