Yes, I know, i'm boring, nut need anothed tip.
Game "world" may consist of 100's and 1000's of "Entities", each one is a structure, that contain coordinates. speed, bitmap index etc of game objects, like tiles, enemies, player, items and so on.
Usually a number of "dynamic" entities ( can move, animated ) is significantly less then number of statics
The width and height of the "world" id definetly much more then device widht/height, so a clipping problem appears.
So, what is better from a perfomance point of view:
1) Clear Gameview each timer tick and draw only part of the "world" that is visible -e.g. doing clipping yourself
2) Add all stuff to the Gameview ( 100's of bitmaps ) and allow Gameview to do all clipping job
Thank you
Game "world" may consist of 100's and 1000's of "Entities", each one is a structure, that contain coordinates. speed, bitmap index etc of game objects, like tiles, enemies, player, items and so on.
Usually a number of "dynamic" entities ( can move, animated ) is significantly less then number of statics
The width and height of the "world" id definetly much more then device widht/height, so a clipping problem appears.
So, what is better from a perfomance point of view:
1) Clear Gameview each timer tick and draw only part of the "world" that is visible -e.g. doing clipping yourself
2) Add all stuff to the Gameview ( 100's of bitmaps ) and allow Gameview to do all clipping job
Thank you