Will changing Blank Animation in Gameplay improve performanc

Discuss game development design and post your game ideas

Post » Thu Oct 22, 2015 2:05 pm

Will changing Blank Animation in Game play while not on screen improve performance?

I have AI Enemy Characters patrolling in different parts of the layout and when not on screen, it is kind of a waste for them to use up memory while the character is not scrolling in that location. Will changing the animations of the sprites to blank while not on screen improve performance? and disabling their collisions and behavior and patrolling improve performance while not on screen?

Thanks to anyone that replies.
Hope Ashley replies too for verification.
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
64
S
18
G
90
Posts: 1,119
Reputation: 59,567

Post » Thu Oct 22, 2015 11:35 pm

Putting an "is on screen" check above the collisions and patrolling could help, if done right.

I wouldn't bother with blank sprites though. Don't worry about that. Unless your image memory use is getting to the point of extremes, there's no point in trying things that may even make performance worse if not done correctly.

As always, organize everything into "groups" and use the debugger to see if it's actually helping performance. That's what the "profile" tab is for. It shows how much CPU resources something is using.
B
75
S
30
G
35
Posts: 340
Reputation: 22,896

Post » Sat Oct 24, 2015 1:57 am

Okay Thanks a lot. I'll try checking the Profile Tab in the Debugger if it improves performance.
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
64
S
18
G
90
Posts: 1,119
Reputation: 59,567


Return to Game Development, Design & Ideas

Who is online

Users browsing this forum: No registered users and 1 guest