| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|
|
|
|
| |
#10
|
|
|
|
|
|
| |
He will wander randomly until you get close, and will then run at you. Talking to him or bumping into him does nothing currently. If you move out of his range of interest he will go back to wandering at a walking pace.
#10
|
| |
|
|
|
|
| |
This layer is below the normal sprite layer. Sprites on it are only rendered within the area of a zone that is defined per-map.
|
| |
|
|
|
|
| |
The issue was that the large number of sprites on the map causes the game sprite vector to resize itself during the map load, which invalidates all sprite object pointers, including the one to the player sprite that is used to give the player control again after a map change.
|
| |
|
|
|
|
|
|
| |
Looking pretty good so far.
TODO: direction facing functions have inverted Y coordinate. confusion expression doesn't exist yet. rest of scene.
|
|
|
|
| |
The entryway should also work for the door in the time_passage map. The spritesheet also contains an entryway for Mixolydia's house.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Screen fadeouts and map fadeouts are now handled by the effect system.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Lucas can get electrocuted now.
|
| |
|
|
|
|
| |
"A presses" are also no longer special values in the lines list, but are rather a field on the MessageLine object.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|