Made events in the editor, they are showing up in the exported .json all fine. But how do you check for them?
Tried the following within the enterFrame runtime function. Example here trying to find “titleIn” event name.
– Check for events
if skeleton.state.Event == “titleIn” then
print(“titleIn”); end
This doesn’t work because the field ‘state’ is nil but I can’t find anywhere in the user guide which describes how to do this more accurately…
But they are basically the same idea - there are generic system ones - runtime event listeners (like enterFrame) that anyone can listen for, and the ones specific to individual things - like say tap and touch, which send a message only to the thing that has been tapped or touch.