A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Timers in games

  1. #1
    Junior Member
    Join Date
    Mar 2000
    Posts
    18
    Can anyone tell me which method of implementing a timer in Flash is less CPU intensive so it doesn't interfere with anything else playing.

    The two methods I know of implementing a timer are:

    a) Using GetTimer
    b) Just creating a MC looping every n frames and adding
    1 to a time counter


    cheers,

    DD

  2. #2
    Senior Member Mad-Sci's Avatar
    Join Date
    Mar 2000
    Posts
    2,756
    Hi use GetTimer.
    Mad_sci

  3. #3
    Junior Member
    Join Date
    Mar 2000
    Posts
    18
    ok...will just go for that.

    I think last time I used GetTimer I did it a bit messy and found it a nightmare to work with it.

    I'll need to work on a generic thingy I can use to just drop in and go


    DD

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center