How to optimise magnitude

dwibredwibre Member Posts: 192
Im trying to optimise my game. A lot of my badies use magnitude to check how far hero is. When hero gets close they start their animation/spawning fire etc. Is there a better way to do this? if 10 badies are constantly checking heros position this could be slowing thing down whats your thoughts.

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Have you tested it on a device? It might be slowing it down, but if you don't see any negative changes while the game is running on the device, then I think it's fine.
  • dwibredwibre Member Posts: 192
    edited July 2013
    @Braydon_SFX Just trying to find ways to optimise the game its running fine on Iphone5, slower on Iphone 4s. but Iphone 4 & 3gs its unplayable.
Sign In or Register to comment.