Timeline for Should an object in a 2D game render itself?
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 30, 2011 at 17:54 | comment | added | finnw | +1 Interesting. I've used this approach for sound while using the Visitor Pattern for graphics. I thought this made more sense for sound because while the graphics and AI are running on the same clock, the audio mixer is running on another so an event model is easier. Also its not critical if a movement event (that causes the pan/reverb of an audio channel to change) arrives a few milliseconds late but it is critical if a sprite is drawn in the wrong state. | |
Jun 11, 2011 at 14:55 | history | answered | DeadMG | CC BY-SA 3.0 |