Grid movement :)

I’m working on a snake game, and I need the snake to have grid movement.

Alright, I can help with this. (i just made a grid movement example yesterday lol)

So, is it like the original snake game?

1 Like

Yea. I just need to find a way to make it switch on on the grid

@DinoDev
image
Okay, what do I do here?

Make the proximity a circle, and 10 at the highest.

connect it to the x and the y of positions. so it snaps to it like a grid.

It just stays in one place.

I can help just wait.

1 Like

Ik, but you have to get it to move for it to snap duh

Ok, don’t know if you’ve seen this but Grazer made it its a bit buggy because if you go to far there is an invisible wall for some reason but here ya go:

1 Like

gtg, just use it to figure out how to make it move with it.

I’m moving it by velocity, not by just pressing buttons repeatedly.

1 Like

You have to on the rotation switch :upside_down_face:

1 Like

But how do I switch it off?

uh you connect it to the off input on the switch behavior?

1 Like

Yes, but there isn’t exactly a “miss” in the proximity

1 Like

Yes, but if it misses it won’t turn on, so have the output of the switch turn it off then.

1 Like

use a nor logic gate :upside_down_face:

1 Like

I’ll see if that one works

1 Like

I can use everything… Everything in flowlab but logic gates. Why is that?

1 Like