whenever the player hits a switch at the end of a level, the screen is supposed to fade to black, switch tilemaps, then fade back in. what actually happens is; the screen fades to black, then i get a game over for seemingly no reason. why?
please help me. i can’t playtest any more levels if i cant get in them without dying. this won’t get done without someone’s help.
Ill help! If you dont mind, you could send the link
ok send up the game and i will see if i can fix up the code
LINk?
Could you send the code
Please send a game link so we can take a look at the code
Always send your code otherwise no one will understand the issue.
apologies, everyone. here’s the link.
The game over block is the issue for some reason when I removed it the next level loaded. I would find some alternative solution like using tilemaps.
welp. Since I suck at code, I don’t know what’s going wrong. Plus, data and y-axis? I’ve never used them. (technically, I have used y-axis, but that doesn’t count.)
I know the problem and currently have it fixed. I will releasevthe link when i have fixed the enemies as well
i figured it out! if i get rid of the y value in favor of {[camera Y] - 0.99}, i can get the same effect regardless of tilemap height!