News for hackers. Stuff that matters.
Re:Flixel: flash game framework by teamonkey on Saturday November 21, 2009 @07:12PM (#955142)
Does an event loop really keep the CPU use down in Flash? In C/C++ I've always found that the event polling overhead means that it's ever so slightly less efficient than a game loop, but not so much so that it matters. I thought it was purely a matter of taste?
Re:Flixel: flash game framework by mcav on Saturday November 21, 2009 @07:49PM (#955181)
When Flash isn't rendering to the screen (i.e. via constant blitting), it hardly consumes any CPU at all. In my experience, blitting the screen 30fps causes a lot of CPU load even when you aren't doing anything.
Re:Flixel: flash game framework by teamonkey on Saturday November 21, 2009 @08:46PM (#955249)
You don't want to render stuff you don't have to regardless of the method you use.