I'm working on a submarine game and i'm trying to make bubble 'particles' spawn at the back of the sub. It seems to work for a minute, but when the sub starts moving down the layout the particles start spawning further and further away from where they should spawn. Moving back up makes them spawn closer to where they should spawn.
What did I goof on?
mediafire.com
I think its because you're spawning the bubbles on your background layer, which has 60% parallax. Spawning them on one of your other layers should fix it.
I can't actually test it because it keeps giving me an error when previewing it in my browser.
Develop games in your browser. Powerful, performant & highly capable.
Yup, that was it. I totally forgot that I had put parallax on the background. Thank you! <img src="smileys/smiley36.gif" border="0" align="middle" />