Hi has anyone ever tried to make a screen shake effect? I can think of threww ways of doing this:
1) make sure that EVERYTHING you draw has offset x and y added on to their coordinates. these are normally 0 but change when the screen is shaking. Problem with this is it would slow down all drawing operations and be a pain to convert existing code.
2) Use some kinda DX or OpenGL calls to tell the videocard to start rendering at a different top left origin.
3) Use BMax to tell the video card to use a different top left origin, can this be done?
thanks!
1) make sure that EVERYTHING you draw has offset x and y added on to their coordinates. these are normally 0 but change when the screen is shaking. Problem with this is it would slow down all drawing operations and be a pain to convert existing code.
2) Use some kinda DX or OpenGL calls to tell the videocard to start rendering at a different top left origin.
3) Use BMax to tell the video card to use a different top left origin, can this be done?
thanks!