Question about design

Posted by lukeluke on Game Development See other posts from Game Development or by lukeluke
Published on 2011-11-23T09:41:06Z Indexed on 2011/11/23 10:11 UTC
Read the original article Hit count: 205

Filed under:
|

Two fast questions about two design decisions:

  1. Suppose that you are checking collisions between game elements. When you find a collision between object 1 and object 2, do you play immediately a sound effect or do you insert it in a list and, in a later a stage, do you process all sound effects?
  2. Same question as above for user input. When the user presses key 'keypad left' do you insert the event in a queue and process it later or do you update character position immediately?

Thx

© Game Development or respective owner

Related posts about architecture

Related posts about engine