The Daily Click ::. Projects ::. Unnamed RTS
 

Project: Unnamed RTS
Project Started: 18th February, 2009 Last Update: 31st December, 2009
Project Owner: bigredron Project Members:
Project Type: RTS Project Progress:

background rendering
Posted 2nd Oct 09, by bigredron  
So i have been using the background images object to display my game map and this works fine and is quite fast, but I want to see if I can make it faster.
So I have been experimenting with my own background rendering routine by using a LUA script file which keeps track of the window position throughout the game. i start off by pasting backdrops into the frame around where the window is positioned. Whenever I scroll I delete the backgrops that are more than several tiles away from the screen and paste in the ones towards where the player scolled. I am still using around the same ammount of objects than I was before but without the memory and CPU overhead of the background iamges objects.

i am now able to get 450-500 fps when scrolling in 1024x768 resolution! I just need to play around with it a bit more and convert into isometric view.

So far its looking good.

Posted by James Luke 2nd October, 2009

this is a very ambishos project i hope you finish it! is it fun to play yet
 
Posted by bigredron 3rd October, 2009

Nowhere near releasing an alhpa version yet. I am tweaking this engine to the shithouse, its becoming incredibly fast and powerful. Once I am happy with it I will put together a small pre-alpha demo for people to play with.
 


 



Project Forums


Favourite

Advertisement

Worth A Click