Is one way travel possible

can you make it so you can only travel in one way like in gd

could you elaborate further?

Maybe you could put barriers or lasers to stop the from moving.At least that’s the easy way.

Oh, we’re preventing the player from going left?

The way you’re suggesting is very memory intensive. Perhaps you’d just trust them to not. I can’t think of a good and efficient way to do it.

I don’t really think so. :frowning: or at least I can’t figure it out :(:frowning:

Use a player cord then make it so if the player x decrease damage the player

Could you show a picture so he knows how to do it?And me because I have no idea how to do this

1 Like

Idk how to… i know there is a way i just duno how to do it
ill look into it

Ummm ok.Thanks for the help?

It take alot of code but i can try to do it (might take some time)

1 Like

Create two properties: “X” and “PreviousX”. Make sure they’re both set to number. Create a Player Coordinates device and have it update X and transmit on channel “Update”. Finally, create a Damager and give it this code:

Does this help?

(This will only let you go right, to reverse this, just flip the less than sign in the block code)
(If you still get knocked out as soon as you move, set the initial value of “PreviousX” to 500)

1 Like

this also… thanks to some others

1 Like

I would just use invisible barriers, if I were you. Cheaper in memory, easier to understand, and thankfully, invisible barriers never run out of style! Kinda like overalls…Is it just me, or are overalls making a comeback?

1 Like

I don’t see how that would be “cheaper in memory”. It’s also much easier to use one of the proposed methods.

It can be very cool to be honest.

Because if you’re doing anything like Geometry Dash, you can just use one super-long invisible barrier. Barriers only cost 20 memory.

How would it work with just one barrier?

Not to sound like a smart aleck, but there’s this thing called “size adjustment…”

I know, but how does that prevent you from moving one direction?
(you were right about memory efficiency by the way)

1 Like

How does that stop you from moving left? You can’t adjust in-game.