#1845 - TrisOver - Fri Jan 24, 2003 10:50 am
Hi,
I Use a backround Rotation not wrapped.
I use only a 88x160 display zone.
I have these ideas to use double buffering
- I allow to write to VRAM even it's not VBLANK
- I use 2 display zones: at 0 X Background & at (240-88) X Backround
- so if X Background is 0, I only see first display zone, and if X Backround is (240-88), I Only see second display zone
- I refresh hided display zone with new map every frame
- I swap 0 and (288-40) X Backround positions every VBLANK
Good or bad Idea to optimize my game ?
_________________
TrisOver
I Use a backround Rotation not wrapped.
I use only a 88x160 display zone.
I have these ideas to use double buffering
- I allow to write to VRAM even it's not VBLANK
- I use 2 display zones: at 0 X Background & at (240-88) X Backround
- so if X Background is 0, I only see first display zone, and if X Backround is (240-88), I Only see second display zone
- I refresh hided display zone with new map every frame
- I swap 0 and (288-40) X Backround positions every VBLANK
Good or bad Idea to optimize my game ?
_________________
TrisOver