diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-21 12:31:55 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-21 12:31:55 -0500 |
commit | ecbe17b582803aaeaa9ccee88a3d093ff93a6cd3 (patch) | |
tree | b7e14ae55b6c38992598b8571ed217bc8f249887 /res/maps | |
parent | f0eab98e417bf648261a9027bef91fe935af76cb (diff) | |
download | tanetane-ecbe17b582803aaeaa9ccee88a3d093ff93a6cd3.tar.gz tanetane-ecbe17b582803aaeaa9ccee88a3d093ff93a6cd3.tar.bz2 tanetane-ecbe17b582803aaeaa9ccee88a3d093ff93a6cd3.zip |
Added sprite pausing
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.
Diffstat (limited to 'res/maps')
-rw-r--r-- | res/maps/map2.tmx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/maps/map2.tmx b/res/maps/map2.tmx index af021bf..77e7725 100644 --- a/res/maps/map2.tmx +++ b/res/maps/map2.tmx | |||
@@ -696,6 +696,7 @@ | |||
696 | <property name="collisionOffsetY" type="int" value="-8"/> | 696 | <property name="collisionOffsetY" type="int" value="-8"/> |
697 | <property name="collisionWidth" type="int" value="12"/> | 697 | <property name="collisionWidth" type="int" value="12"/> |
698 | <property name="enclosureZone" value="ionia_enclosure"/> | 698 | <property name="enclosureZone" value="ionia_enclosure"/> |
699 | <property name="interactionScript" value="talk_to_ionia"/> | ||
699 | <property name="movementSpeed" type="int" value="1"/> | 700 | <property name="movementSpeed" type="int" value="1"/> |
700 | <property name="shadow" type="bool" value="true"/> | 701 | <property name="shadow" type="bool" value="true"/> |
701 | <property name="wander" type="bool" value="true"/> | 702 | <property name="wander" type="bool" value="true"/> |