#3876 - jammin.won - Tue Mar 11, 2003 2:17 pm
today when i was trying to display my animated sprite along with bg2....something strange happens....
that was a 128(basic tiles) x4 frames sprite....and the map was 256 color and 512x512...
when i load sprite data into mem FIRST and map data SECOND....the sprite then behaves abnormally ... the OAM of that sprite will automatically turns to OAM 512 PRIO 1 ... every 3 key-stroke.
Normally the sprite should change its char_no# in the order of 0 -> 128 -> 256 -> 384 -> 0 ....but it now is 0 -> 128 -> 0 -> 512 ->0(w/ PRIO 1)
and the most annoying thing is that No.512 char has never been used so thats a blank character....
well ,then i tried not to load map data ....and everything goes back to normal.But the annoying No.512 (1 PRIO) char appears again when i loaded map data again....
finally .i tried to load map data FIRST and sprite data SECOND ,phew...... settled....
but that's so strange that i cant work out what has happened...can sb plz gimme a hand ????
btw the character base block is at 0 and screen base block is at 28 (from turtorial =)
thx .
-=jammin=-
_________________
[Images not permitted - Click here to view it]
that was a 128(basic tiles) x4 frames sprite....and the map was 256 color and 512x512...
when i load sprite data into mem FIRST and map data SECOND....the sprite then behaves abnormally ... the OAM of that sprite will automatically turns to OAM 512 PRIO 1 ... every 3 key-stroke.
Normally the sprite should change its char_no# in the order of 0 -> 128 -> 256 -> 384 -> 0 ....but it now is 0 -> 128 -> 0 -> 512 ->0(w/ PRIO 1)
and the most annoying thing is that No.512 char has never been used so thats a blank character....
well ,then i tried not to load map data ....and everything goes back to normal.But the annoying No.512 (1 PRIO) char appears again when i loaded map data again....
finally .i tried to load map data FIRST and sprite data SECOND ,phew...... settled....
but that's so strange that i cant work out what has happened...can sb plz gimme a hand ????
btw the character base block is at 0 and screen base block is at 28 (from turtorial =)
thx .
-=jammin=-
_________________
[Images not permitted - Click here to view it]