[Flashcoders] Asteroids sluggishness, optimization?

2007-02-05 Thread Martin Scott Goldberg
Heya guys, writing a repro of Asteroids and was getting an issue with
frame rates.  The frustrating thing is that on my pc it works flawlessly,
as well as a few other people I had play test it.  On others though
they're saying its chugging or starts chugging when the saucer appears.
Its been about 50/50 and is frustrating the hell out of me.  Especially
when it doesn't seem to matter if its faster cpu systems or not.

I've optimized as much as I can, cutting down on loops, having graphics
done as runtime bitmap caching when possible, etc.  I'm hoping the people
here have more suggestions.

Here is the version so far:
http://www.classicgaming.com/gamingmuseum/atariflash/asteroids-saucer.html

1 to start, up arrow to thrust, cntrl to fire, space for hyperspace.


Marty

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Asteroids sluggishness, optimization?

2007-02-05 Thread Jason Boyd

There is some issue with Macs where things run slower than the PC
version unless you use the magic frame rates of 21, 31, 41, 51, etc.
Doesn't sound like that's the problem, but just a thought.

Cool asteroids. My Pac Man is in progress:
http://clickandhum.com/portfolio/pacman.html



On 2/5/07, Martin Scott Goldberg [EMAIL PROTECTED] wrote:

Heya guys, writing a repro of Asteroids and was getting an issue with
frame rates.  The frustrating thing is that on my pc it works flawlessly,
as well as a few other people I had play test it.  On others though
they're saying its chugging or starts chugging when the saucer appears.
Its been about 50/50 and is frustrating the hell out of me.  Especially
when it doesn't seem to matter if its faster cpu systems or not.

I've optimized as much as I can, cutting down on loops, having graphics
done as runtime bitmap caching when possible, etc.  I'm hoping the people
here have more suggestions.

Here is the version so far:
http://www.classicgaming.com/gamingmuseum/atariflash/asteroids-saucer.html

1 to start, up arrow to thrust, cntrl to fire, space for hyperspace.


Marty

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com