Posts tagged with optimalisation

Optimized loops

ActionScript

Optimized loopsEvery one should write code that performs well. Do you use loops in your code? This is a simple trick everyone could apply to his loops.

Read more

Wait a minute with setTimeout

ActionScript, Code snippets

While working on a game, I created a function spawner. The idea was to make a function which would call a function like createEnemy() a hundred times with an interval. So I quickly created a static function. Read the full post to see that the setTimeout function should be handled with care.

Read more