Page 3 of 3

Re: Turns out Flash is really slow

Posted: Fri May 15, 2009 8:51 pm
by sixxie
It's near full speed on a reasonably fangled core-2-duo mac thing (with the frameskip). But you're right, this isn't really working out...

Oh well, it's been fun to hack on. Time to re-learn Java.

Flash doesn't really make it easy on itself - it forces all graphics to be 32-bit-per-pixel (ARGB), generated sound is locked to 44.1kHz stereo, and you have to feed it floats. All manipulated from a bytecode interpreter: it's like it wants to be slow!

Re: Turns out Flash is really slow

Posted: Fri May 15, 2009 11:32 pm
by Alastair
I've been unable to test the latest version as it keeps killing my browser (i.e., it stops responding) :(

Re: Turns out Flash is really slow

Posted: Tue Sep 22, 2009 10:41 am
by zaf
sixxie wrote:It's near full speed on a reasonably fangled core-2-duo mac thing (with the frameskip). But you're right, this isn't really working out...

Oh well, it's been fun to hack on. Time to re-learn Java.

Flash doesn't really make it easy on itself - it forces all graphics to be 32-bit-per-pixel (ARGB), generated sound is locked to 44.1kHz stereo, and you have to feed it floats. All manipulated from a bytecode interpreter: it's like it wants to be slow!
Can I tempt you with the idea of doing a version without relying on any browser plugins? With the latest browsers having fast javascript engines and supporting HTML 5 you may be surprised at what you can do. I think pure browser versions of ZX Spectrum and the NES are in the wild.

Cheers.

Re: Turns out Flash is really slow

Posted: Tue Sep 22, 2009 10:44 am
by zaf
Forgot to say, good job on the flash version :)

Re: Turns out Flash is really slow

Posted: Wed Sep 23, 2009 12:58 pm
by sixxie
zaf wrote: Can I tempt you with the idea of doing a version without relying on any browser plugins? With the latest browsers having fast javascript engines and supporting HTML 5 you may be surprised at what you can do. I think pure browser versions of ZX Spectrum and the NES are in the wild.
Well, haXe can target javascript too so it wouldn't even involve another complete rewrite - yeah, I'll give it a go some day :)