GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Game running at double speed on device?

evandiazevandiaz Posts: 4Member
edited November -1 in Tech Support
I'm in the fine tuning stages of my game and in the creator preview on my mac it works correctly, but when I play the adhoc on my iPhone it plays at double time. I've got a timer that increases +1 every second and it's counting by twos instead of how it does in the creator.

frame rate is in generally the 40s, memory usage is a non-issue, but it is consistantly playing in double time...

I'm puzzled, any ideas??

Comments

  • firemaplegamesfiremaplegames Posts: 3,206Member
    It sounds like a logic bug to me...

    If I had to guess, I would think that you are somehow spawning two of those timers somewhere.

    Maybe on the Mac they are in sync and you don't notice it?

    I've never seen that otherwise.
  • evandiazevandiaz Posts: 4Member
    Comparing the adHoc with the creator preview, I notice that the actual game is running at the correct speed, it's just the one timer that is counting by twos, thus throwing off the balance of the game.

    Checking the scenes, I have one actor with display text game.levelTime

    LevelTime being a custom integer I created has this controlling logic:

    rule: when game.pause is false
    then: timer every: 1 sec (run to completion is off)
    Change attribute: game.levelTime to game.levelTime+1

    there is also only one actor in the scene controlling levelTime I cant find any logic bug :\
  • rebumprebump Posts: 1,058Member
    Wish all my GS games ran at double speed!!! ;-)
This discussion has been closed.