well its not to complicated basically you make an if player x > camera x - screen size then that way when you go to far back you die
then an if player x > camera x + screen size if you go to far forward
Okay, it's late and my head's fuzzy, but I think I understood that... 👍🥴
Hi there, I'm going to need to ask you about this thing again 🥴
I've been working on other stuff since, but I want to give this a proper go. Can you share any screenshots of the project? Or the project itself maybe? 🤔
Well I'm not too sure on what things this code will work on but you basically make something like this
CamX =+ 1
Move camera to (CamX, 0)
If CamX <= Px - 4
Kill the player
If CamX >= 105 (105 is the safe part at the end, change it as needed)
Px is the players X location
Hope this helps, good luck. and I want to see what you make after its done.
Thanks 👍 I'll give that a go