Dec
8
EventManager Example

Going to keep this short for now but I wanted to upload some example files for the EventManager to help anyone having trouble understanding it or getting it working.  I’ll post more soon about any specific questions people have but for now I’ve got to run and earn my rent money. Read the rest of this entry »

filed under: Misc | comments (3) | read more...

Nov
15
Sine and Cosine lookup tables

Sometimes speed is essential.  So recently for one of my projects that called Math.sin and Math.cos 1000 each every frame, I decided to create a lookup table.  Now that I’ve finally had some time too, I got a chance to test what I though was a clear speed difference and I found some very surprising results.

Read the rest of this entry »

filed under: Interesting stuff, Math, Misc, Scripts | comments (2) | read more...

Nov
9
Sequencing in ActionScript 3

Write an XMLLoader, wait for an event.  Parse the xml, wait for some event.  Start up some animations, wait for an event.  Show some images. wait for an event.  Sounds pretty tedious doesn’t it?   Well if you’ve ever gotten tired of sequencing things here’s a simple class for you.

Read the rest of this entry »

filed under: Misc, Scripts | comments (4) | read more...

© 2010 pajamacode | Theme by DemusDesign, Theme Lab, and Search Optimization | Powered by WordPress