Odolwa
Member
OK, the issue is that I wanted to move a non-repeating background sprite relative to the player, but to also place the sprite a bit ahead of the player when they enter the room. This is the parallax code:
By doing this, I end up with a situation where the sprite is always placed at the far left of the room, where the player enters, rather than slightly farther ahead where I have placed it in the room editor. My question is, can I apply the parallax code 'and' also have the background sprite placed ahead of the player when they enter the room?
Thank you.
Code:
background_x[1] = view_xview[0]*0.6;
Thank you.