#85319 - MrD - Sun May 28, 2006 11:43 pm
Hey,
I'm converting a prototype engine currently using Windows-based libraries to the DS. The game currently renders the world and the sprites using pixel-by-pixel methods (without any HW acceleration, or gfx library sprite functions), and I'm trying to recreate the engine using an exrot background (mode 5) on the DS main screen. There's a lot of VRAM writes using this method though, and I think the engine will slow down greatly...
At this stage, (almost) everything is running on the arm9... I'm trying to figure out some way of using the arm7 also, but I'm not sure how I'd time the two so that they worked correctly.
Does anybody have any hints on common slow-spots in game engines, and could they recommend a method of discovering exactly which functions or actions are taking the most time?
I think trying to rewrite the sprite rendering engine to use the OAM would take too long, but would it be worth it for the speed increase?
_________________
Not active on this forum. For Lemmings DS help see its website.
Last edited by MrD on Mon May 29, 2006 2:42 am; edited 1 time in total
I'm converting a prototype engine currently using Windows-based libraries to the DS. The game currently renders the world and the sprites using pixel-by-pixel methods (without any HW acceleration, or gfx library sprite functions), and I'm trying to recreate the engine using an exrot background (mode 5) on the DS main screen. There's a lot of VRAM writes using this method though, and I think the engine will slow down greatly...
At this stage, (almost) everything is running on the arm9... I'm trying to figure out some way of using the arm7 also, but I'm not sure how I'd time the two so that they worked correctly.
Does anybody have any hints on common slow-spots in game engines, and could they recommend a method of discovering exactly which functions or actions are taking the most time?
I think trying to rewrite the sprite rendering engine to use the OAM would take too long, but would it be worth it for the speed increase?
_________________
Not active on this forum. For Lemmings DS help see its website.
Last edited by MrD on Mon May 29, 2006 2:42 am; edited 1 time in total