Strange recent behavior with setPosition method?

I’ve pared down my game to more clearly show the problem. My main concern is that gameplay has been affected (the ball is no longer hit up into the air) and it appears I don’t have a work-around. I’m not sure the bug reported below is related to the ball height problem or not, but this is what I’ve noticed.

To help see the problem, the player 1-4 scores are used to display positions of items on the screen.
Upper Left - Camera X Center * 1000 (*1000 is to see digits beyond the decimal)
Lower Left - Car X Position * 1000 (*1000 is to see digits beyond the decimal)
Upper Right - Boost Meter X Position
Lower Right - Arrow X Position (pointing Boost Meter border)

Steps to Reproduce/Observe:

  1. Start Game (Tiny Soccer Cars - Position Bug)
  2. Notice the Arrow is in line with the right border of the Boost Meters
  3. Note the Boost Meter and Arrow X positions (79 and 94, respectively)
  4. Drive the car to the right so the cars position (Lower Left Meter) is greater than 204500
  5. Notice that the the Arrow has shifted 1 pixel to the right even though the Boost Meter and Arrow positions are still the same as seen in step 3.

Expected Result: Boost Meter and Arrow remain in same positions relative to each other regardless of camera placement

Actual Result: Boost Meter shifts 1 pixel to the right when Boost Meter image touches the Left border of the screen.

Note: Another game in the Arcade seems to be affected similarly is Jet-Pack Jenny. The control of Jenny’s altitude is very erratic, much different than what I remember and different than the preview movie for the game.

1 Like