Time Advance, Velocities and Jerks
by rennie moffat · in iTorque 2D · 11/08/2010 (3:22 pm) · 6 replies
Hi there,
I have a question.
I just bought a new iPod Touch. It is 4G. My previous iPod, on which I tested my game was 2G. I built the game using $timeAdvance and various player velocities which would adjust like a revving engine. If the fps was low, player velocity would go up and vice versa. It created a very smooth engine, running game. However, on the new 4G, the game is ultra fast, so I have done some tests.
My target in the tests was the $timeAdance since all velocities, player and enemies were proportionate and my thinking was by lowering the $timeAdvnace it would adjust all velocities accordingly. Much easier than redoing all the velocities for each enemy. However, I have run into a problem. If my $timeAdvance is on anything but 30, my player, when moving appears to "jerk". In other words his motion is very jerky.
I am wondering if anyone is aware of this and knows a way around it.
Thanks.
I have a question.
I just bought a new iPod Touch. It is 4G. My previous iPod, on which I tested my game was 2G. I built the game using $timeAdvance and various player velocities which would adjust like a revving engine. If the fps was low, player velocity would go up and vice versa. It created a very smooth engine, running game. However, on the new 4G, the game is ultra fast, so I have done some tests.
My target in the tests was the $timeAdance since all velocities, player and enemies were proportionate and my thinking was by lowering the $timeAdvnace it would adjust all velocities accordingly. Much easier than redoing all the velocities for each enemy. However, I have run into a problem. If my $timeAdvance is on anything but 30, my player, when moving appears to "jerk". In other words his motion is very jerky.
I am wondering if anyone is aware of this and knows a way around it.
Thanks.
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
#2
11/08/2010 (6:47 pm)
Rennie, iPod Touch 4G is very fast - IWT screams along on it. We took advantage of the extra power by bringing in extra gfx, effects etc if a fast device is detected.
#3
What about g3? I say this because i am actually plugging in a Game Speed setting.
11/08/2010 (6:50 pm)
Yah seriously. The G4 is so smooth and at least twice as fast as my G2. What about g3? I say this because i am actually plugging in a Game Speed setting.
#5
11/09/2010 (7:49 am)
I have iPod versions 1, 2, and 3. There is definitely a big improvement going from v2 to v3. My framerate goes up from about 30-35 on the v2, to over 50 on the v3, so there is probably about 50% improvement. Also, I sometimes see some random lag on the v2, whereas on the v3 it's always very smooth.
#6
Thanks.
11/09/2010 (1:55 pm)
Hmm, ok, that is great Mark. On mine from v2 to v4 I see about a 200-300% increase in average frame rate. Huge. I will half to guestimate as I set my game speed settings.Thanks.
Torque Owner rennie moffat
Renman3000
1. my camera is mounted to my player, both player position and the cameraMount use onUpdates.
2. Has anyone else had to build Game Speed setters? (something to adjust game speed considering the different platforms?)