summary refs log tree commit diff stats
path: root/res/maps
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-21 12:31:55 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-21 12:31:55 -0500
commitecbe17b582803aaeaa9ccee88a3d093ff93a6cd3 (patch)
treeb7e14ae55b6c38992598b8571ed217bc8f249887 /res/maps
parentf0eab98e417bf648261a9027bef91fe935af76cb (diff)
downloadtanetane-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.tmx1
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"/>