SGDK - Correct time to call VDP_setPlanSize?
Posted: Wed Mar 07, 2012 1:15 pm
Hi,
I'm trying to resize the planes' size to 64x64 by calling VDP_setPlanSize(64,64) but it doesn't seem to have any effect. It looks like it still thinks it's in 32x32. Is the function not working because I can only call it at certain times?
I'm expecting my background to look like this (warning: gross simplification ahead)
0000000000000000
1111111111111111
2222222222222222
3333333333333333
But I'm getting this instead
00000000 // lines are stopped half-way and continues on the next line
00000000
11111111
11111111
// also cuts out the bottom half of the map.
I'm also calling VDP_setScreenHeight224() and VDP_setScreenWidth320() which I don't know if they would affect it.
What could I be missing?
Thanks!
DJCC
I'm trying to resize the planes' size to 64x64 by calling VDP_setPlanSize(64,64) but it doesn't seem to have any effect. It looks like it still thinks it's in 32x32. Is the function not working because I can only call it at certain times?
I'm expecting my background to look like this (warning: gross simplification ahead)
0000000000000000
1111111111111111
2222222222222222
3333333333333333
But I'm getting this instead
00000000 // lines are stopped half-way and continues on the next line
00000000
11111111
11111111
// also cuts out the bottom half of the map.
I'm also calling VDP_setScreenHeight224() and VDP_setScreenWidth320() which I don't know if they would affect it.
What could I be missing?
Thanks!
DJCC