So I created some obstacle blocks like in the old nes megaman games. on a timer the block appears and then disappears. That works fine. I have them on two frames. On the first frame I have a background layer below my game layer that scrolls with a 0.5 coefficient and the blocks work fine. But on the second frame I did the same thing but the blocks keep getting created on the background layer. When I created the object in the code I created them relative to some invisible actives which are on the game layer. I've also made sure in the code that it is being created on the correct layer. But the problem still exist.
I hope that wasn't too confusing for you. Thanks for any help
Hello guys! I'm New! -- I've been new for a year now...haha
Are you destroying the blocks then recreating them? Try making it based on animation instead, see if that works. That way the objects will always be on the designated layer and they should be able to disappear appropriately.