Galaga 1990

Scott Rossi scott at tactilemedia.com
Wed May 26 06:31:42 EDT 2010


Nice Geoff -- the use of the move command cuts down significantly on
processor use.  And your stack reinforces the benefits of avoiding a bunch
of stacked "send" messages.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



Recently, Geoff Canyon Rev wrote:

> You definitely don't want to do this by positioning everything every
> time you update. Instead, the move command is your special friend
> here. For the enemy, you can plot out a randomized course from the top
> to the bottom, and then tell it to follow that path in a set amount of
> time. The bullets are even easier since they just have to go from
> bottom to top. I did a quick hack job, cutting the code about in half
> and speeding it up significantly. It now handles three enemies and 11
> bullets without breaking a sweat on my macbook. Here's the stack:
> http://snurl.com/wsclc and here's the article I posted with some
> comments: http://gcanyon.posterous.com/a-blast-from-my-programming-past





More information about the use-livecode mailing list