hi guys...
when subclassing the Sprite class and registering Event.ENTER_FRAME
from the documentation:
"Event.ENTER_FRAME event is dispatched to all Sprite instances no matter these instances are on the scene tree or not."
is there a way to avoid this?
TNT ENGiNE for Gideors Studio - Particle Engine, Virtual Pad, Animator Studio, Collision Engine - DOWNLOAD NOW !!! IT'S FREE!!! -
www.tntengine.com
Comments
i'm cleanig the "raw" code of gidhelix and try to optimize more...
but i need to better understand how Gideros manages events...
and execution flow of lua sources... (and Lua oop) :P
sorry form my continuos silly questions...
but i'm new to Lua and Gideros
www.tntengine.com
1^st thanks for your code. it work fine
but with this code i need to remove the sprite to the stage to stop it's events
in my situation i need to leave the sprites on the stage but i would stop all events...
i need to declare and raise an "user" event right?
www.tntengine.com