BASIC

Author Topic: Game speed slower on IPod Touch!  (Read 1750 times)

Offline Ozden79

  • Mr. Polyvector
  • ***
  • Posts: 121
    • View Profile
Game speed slower on IPod Touch!
« on: 2010-Jan-27 »
Hello There,

Finally, I could deploy my first test game on IPod Touch. Everything seems to be fine apart that the gameplay is slower than what I see in PC. Does anybody know why this happens?

I don't have much processing that takes time and also the game fps is set to 60.

Thanks,

Özden

MrTAToad

  • Guest
Re: Game speed slower on IPod Touch!
« Reply #1 on: 2010-Jan-27 »
The ARM processors run at a much slower speed than ones in normal PC's - although they can do a lot more per instruction than Intel's conveluted mess.

Your movement system shouldn't be based on a fixed step, but timer based.  You should also not limit the FPS.

Offline Ozden79

  • Mr. Polyvector
  • ***
  • Posts: 121
    • View Profile
Re: Game speed slower on IPod Touch!
« Reply #2 on: 2010-Jan-27 »
I thought so as well and started to change the fps based paradigm to time based one. Other than that, I use a 1st generation IPod touch which has slower processor which I think affects it as well.

Something that I wondering is that the GLBasic created xcode is a native code to be compiled for IPhone I guess, I mean no additional layer acting as a run-time or something which affects the speed as well?

Özden

Offline matchy

  • Prof. Inline
  • *****
  • Posts: 1540
    • View Profile
Re: Game speed slower on IPod Touch!
« Reply #3 on: 2010-Jan-27 »
I have an 8mb iPod Touch and soon keen to get the 16mb version because it's faster!

Offline Ozden79

  • Mr. Polyvector
  • ***
  • Posts: 121
    • View Profile
Re: Game speed slower on IPod Touch!
« Reply #4 on: 2010-Jan-27 »
I've converted my frame based logic to time based and the speed is the same as in desktop, thank you,  especially MrTAToad... :D