| View previous topic :: View next topic |
| Author |
Message |
Giuliano
Joined: 13 Sep 2005 Posts: 78
|
Posted: Tue Sep 13, 2005 11:28 am Post subject: Blitting Speed |
|
|
Blitting is kind of slow. I have made a tile engine and when I draw all my tiles, it drops the FPS down by an incredible amt.
Are you guys working on different forms of drawing graphics w/ increased speeds? If so, when can such a release be expected ?
I really believe the Lua scripting language has potential for some higher end games and applications if it continues to be updated |
|
| Back to top |
|
 |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Wed Sep 14, 2005 3:24 am Post subject: |
|
|
i do not know how much you blit, but i blit on different layers
HUD (user interface and stats)
background (15x29 tiles @ 16px)
playground
explosions
sprites
players
NO speed-drops here
maybe you should have a look on your code and see where you can optimize id
note: use double buffer to perform blit & blit the buffered images to screen (or merge them before you blit it to screen)
so only few blits are left onto the screen (which solves any flicker) |
|
| Back to top |
|
 |
|