Can you give something a brain in your which editor game without making it controllable

i don’t KNoW

1 Like

well, the most ai-like thing i know is the “random code”

oh kay i think that will work

2 Likes

I think you’re talking about an AI… right?

If you want a somewhat smart AI and not just an enemy going left and right, figure out its abilities (eg. Bowser can jump, walk left, walk right, spit fire, throw hammers (only in original SMB)) and randomly do each action.

1 Like

i want a stick man who runs and rumps randomly

1 Like

I made a little AI example of a character that follows another on this thread. (I think you may have started that one).

You can try to modify the code on this example to also do certain movements if it hits another object, or randomly decides to move using an if statement.

if (this.hitTest('barrier')) {
    jump()
}
1 Like

I liked the art.