Over 11.200 objects. Help me please :(

Talk about making games.

Re: Over 11.200 objects. Help me please :(

Postby bat78 » Fri Oct 17, 2014 1:45 pm

No worries. Gladly you make it to work. I'm pretty sure you can optimize it even more though.
+1 for a good question (people quite oftenly find the fps rate as a critical problem)
The future of "Game-Editor" here
User avatar
bat78
 
Posts: 816
Joined: Sun Dec 14, 2008 9:13 pm
Location: Bulgaria, Sofia
Score: 88 Give a positive score

Re: Over 11.200 objects. Help me please :(

Postby Zivouhr » Fri Oct 24, 2014 6:01 pm

Good tips here, thanks! I'll look through these more carefully when I have more time.

In general you should always try to avoid putting code into a Draw Actor event of an actor you know you'll be cloning that many times.


Good point. Awhile back, I had a bunch of clones all drawn towards the main character throughout the land, and the more I had, the slower the game got in FPS. If you needed to code 100 zombies following a character all onscreen at once and loaded at one time, some different ways to try it so the game doesn't slow down.
City of Rott Game created on Game Editor http://cityofrott.wordpress.com/
User avatar
Zivouhr
 
Posts: 549
Joined: Sat May 17, 2014 2:12 pm
Score: 59 Give a positive score

Previous

Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron