Archived

This topic is now archived and is closed to further replies.

ghost1206

One other thing!

Recommended Posts

ghost1206    122
One other decision I''ve already made (and I am not too sure if it''s correct) concerning the game, has to do with the way the screen is updated. I''ve used directInput and had the pointer blited each time I get a mouse event. The thing is that I am NOT following Microsoft''s example having a function ("updateFrame") called constantly to update the screen, but rather a function that is called only if something occurs (e.g. a mouse event or something else). Is this the right way to do things, or I should follow Microsoft''s example. It''s just that it strikes me as not too efficient. Any thoughts?

Share this post


Link to post
Share on other sites
ghost1206    122
That''s my thinking too. Since the game is a strategy (and not let''s say an RTS) there is no reason why I should be bliting like a madman, but only when it''s necesssary. Thanks!

Share this post


Link to post
Share on other sites