Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

[SOLVED] Trouble in Mountain Flower Grove

trying to make him move around in random paths, first though, I was gonna make a test of sorts. he goes to (30,30) and stays there doing the walking animation.

while True:
    xey = 30
    yey = 30
    hero.moveXY(xey, yey)
    xey = xey+1
    yey= yey+1

Move your initial variables before the while loop. Right now you are resetting them to 30 every time before calling the moveXY().

oops, I beat the level but then forgot to say it, thanks for the help though!