Problem with Background scrolling speeds

AdventureIslands

  • *
  • Posts: 728
As there are no blocks for adjusting background speed for some reason, I've set the scrolling parallax backgrounds to change speed with code blocks like this.

Otherwise this is working just fine, but for some reason both backgrounds only register the first code block, so when the game is unpaused, both backgrounds are moving at the speed of -1

Is there some bug in the 3rd parameter in the code, which is supposed to choose which background the speed is applied to, or have I just done something wrong here?

dtrungle

  • Posts: 1938
I tried using the 3rd parameter a few weeks ago and didn't get it to work. IIRC, I printed out the ID value and they were all the same.

AdventureIslands

  • *
  • Posts: 728
The last thing remaining from my game before I can release it is fix the backgrounds, so some kind of fast fix for this would be highly appreciated.


Jon

  • *
  • Posts: 17524
Jussi, please verify that this is fixed. Thanks.