Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

One other thing!

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 ghost1206   Members   

122
Like
Likes
Like

Posted 10 January 2002 - 09:35 PM

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?

#2 Null and Void   Members   

1087
Like
Likes
Like

Posted 11 January 2002 - 01:09 AM

How often will the images on screen change? If it''s pretty often, just redraw everything as soon as you can; It''s not that inefficient in that case. Otherwise, your approach is basically what you should be doing.

[Resist Windows XP''s Invasive Production Activation Technology!]

#3 ghost1206   Members   

122
Like
Likes
Like

Posted 11 January 2002 - 03:23 AM

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!




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.