Linear Velocity Y Jumping Variation

pHghostpHghost London, UKMember Posts: 2,342
Hi, I have a character who jumps using the Linear Velocity Y method.

I am also spawning a lot of actors for the character to avoid and collect. When the spawners are turned off, the jumping is very consistent but when I turn the spawning on, suddenly the jumps are all over the place.

Any idea why this could be happening?

Comments

  • KevinCrossKevinCross London, UKMember Posts: 1,894
    Is it a lag thing or are they sharing an attribute related to positioning/jumping. You say all over the place which doesn't sound too much like a lag problem. Have you tried it with fewer items to jump/avoid?
  • pHghostpHghost London, UKMember Posts: 2,342
    It feels like a lag thing since the problem goes away when the spawners are turned off and they definitely don't share attributes. So lag could actually cause the character actor to jump higher than he should?
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    Without seeing a demo I'd be guessing, but have you tried spawning fewer items. Starting with a couple then increasing the amount by a few each time to find the limit before it happens again.

    That way you could narrow it down to a lag issue. However if it happens with only a few items on the screen it might be a problem in your code.

    The game I'm working on lags a little in Creator but runs fine on the device so maybe try on a device too if you haven't already
  • pHghostpHghost London, UKMember Posts: 2,342
    So I tried removing all textures and reduced the number of items and it's behaving OK. I don't have a paid developer account yet to test on an actual device, don't want to get one until a bit later into the development, when things start fleshing out.
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    Obviously it doesn't help sort the problem but it's always good to know that the lag is a GameSalad problem and not something you've created.

    I can't offer any suggestions without seeing anything but you may find another way to get what you want to achieve as there's almost always several ways of achieving something in GameSalad.
  • pHghostpHghost London, UKMember Posts: 2,342
    I should probably also get a faster computer, haha. :)
  • pHghostpHghost London, UKMember Posts: 2,342
    Thanks for the help.
Sign In or Register to comment.