Classes

Accurate Timing With Actionscript 3

     Finally made some time to update my blog!!! I've been working hard and added lots of new classes to my library which i used for my own games. I'll be updating this site with new classes and examples over the coming months - so be sure to stay tuned for all the updates!

     First on the list is the problem of timers and timing in general with Flash. Well not with flash as such, but with the web browsers. It seems that the flash player plugins for web browsers aren't very accurate at all when it comes to timing. You can ask flash in AS3 for any timer delay you like (from 1ms upwards). But the flash player will not deliver such small resolutions and even on larger delays, has a big variation between TimerEvents firing. I've written my own timing code, and implemented my own timers in AS3 and added them to my ever expanding library for anyone to use! Read on if you want to know how and why you would use these classes.

Cleaning Up After Yourself In Actionscript 3 (Lack Of Class Destructors)

     Haven't written anything on here in a few days, been busy learning more AS3 and getting on with my 2 current game projects. I've got a list of things todo, plus some things i've found out about actionscript as i'm learning which might be helpful to others.

     My background is from all sorts of programming, i think a rough list is BASIC, PASCAL, AMOS, BLITZBASIC, AREXX, ASM (680x0), C, C++, ASM (80x86), LUA and now Actionscript 3. Having spent a lot of time with C++ and Delphi (oop pascal) i've got quite used to doing things in a certain way. Actionscript 3 in Flash 9 is pretty good so far, certainly i could never have created anything useful in flash previously - i think i have two left thumbs ;). I can just about "operate" paintshop pro/photoshop, but haven't really produce anything i'd be in a hurry to show! So flash and it's designer friendly interface wasn't for me. Since choosing AS3 as my new language to work on, it's been a slow start - but getting better, theres a definite way to do things with is a bit different. 


Theme & Icons by N.Design Studio
Syndicate content