why is somehting so simple, so slow?

Started by
9 comments, last by kaggz 22 years, 8 months ago
Um...why can''t you interpolate frames in 2D?

Possibly because all the animation frames for each sprite are already drawn maybe. I could be wrong...but I don''t think you can calculate addition frames with a bitmap.

I think you''re way over-thinking this whole concept. It''s really quite simple.

If a game is locked at 30 (correctly by not using a WHILE) and a computer can''t go that fast, frames will be dropped. It will not cause slow motion. Once it goes below 15 frames displayed per second the animation will appear obviously jerky. But everything will still move at the same speed.

It works exactly the same as time based movement except additional frames can''t be calculated so 30 displayed frames per second is the max even though the game loop may be getting hit 150 times per second or more.

If you don''t understand how that works...fine but don''t argue. I''m doing it so I know it works.

Ben
http://www.icarusindie.com

This topic is closed to new replies.

Advertisement