Recent posts by Valfrit on Kongregate

Flag Post

Topic: Game Programming / Best game engine!

Originally posted by Aceeri:


Flag Post

Topic: Game Programming / Removing Interactive Tutorial Listeners

All events listeners should be removed even if they are weak referenced ( I don’t believe you can add event listeners to a vector, so you’ll have to create a seperate function to manually remove each listener. Create a listener that calls this function when the game is exited and don’t forget to delete the new listener in that function as well.

Just a heads up, AS3’s event listeners are extremely slow, try using a Signal ( pattern instead.