#69887 - christosterone - Thu Feb 02, 2006 8:06 pm
I am designing the graphics engine structure for an RTS im making for the gba. there are many units and many projectiles and many other graphical entities which would be OAM screen sprites.
i quickly exceeded my 128 sprite limit.
i was thinking about only displaying the units which would be visible on the part of the map that my gba would be displaying. i would make rectangles and use somes algorithms to see which intersect a rectangle thats the screen etc.
Even if i got it to work, it seems like i would have to redefine all 128 sprites every drawing loop cycle.
does anybody think that will work or is there another way i should be doing this before i spend a lot of time coding.
chris
i quickly exceeded my 128 sprite limit.
i was thinking about only displaying the units which would be visible on the part of the map that my gba would be displaying. i would make rectangles and use somes algorithms to see which intersect a rectangle thats the screen etc.
Even if i got it to work, it seems like i would have to redefine all 128 sprites every drawing loop cycle.
does anybody think that will work or is there another way i should be doing this before i spend a lot of time coding.
chris