what is the function for the object to walk randomly across the screen in 8 directions?
Develop games in your browser. Powerful, performant & highly capable.
you can just use "move forward" with "sine" behavior on the angle, with adjusted random parameters on it . And you can use "bound to layout" behavior, to keep the sprite inside the layout.
why doesn't it work?
I dont think you need to pick each one.. just create an if vaca_1.direction = D -> move forward..
else if vaca_1.direction = E -> move forward..
but how do i do it?
I want it to randomly set left, right, up or down for the object every X time
You are already doing it on:
Every random(3.10) seconds -> vaca_1.direcao choose
But it's not working
shouldn't one of the 4 letters appear there that I randomly determined should keep changing?
Send me a discord msg I will help you.
KryptoPixel#1694