You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope to eventually add support for triggers. This would consist of a placable entity (much like a platform) although invisible outside of the editor.
Concept;
Placing trigger entities;
trigger 1
trigger 2
trigger 3
Would trigger a function of code defined within the map file; such as:
world.map.trigger1 = function() print ("1 triggered") end
world.map.trigger2 = function() print ("2 triggered") end
world.map.trigger3 = function() print ("3 triggered") end
This would be used to allow programmable cut-scenes, temporarily altering the game state (disabling character movement, allowing scripted actions). Or simply for certain entities to move/do something when the player collides with a trigger entity.
The text was updated successfully, but these errors were encountered:
I hope to eventually add support for triggers. This would consist of a placable entity (much like a platform) although invisible outside of the editor.
Concept;
Placing trigger entities;
Would trigger a function of code defined within the map file; such as:
This would be used to allow programmable cut-scenes, temporarily altering the game state (disabling character movement, allowing scripted actions). Or simply for certain entities to move/do something when the player collides with a trigger entity.
The text was updated successfully, but these errors were encountered: