Hello!
Newbie user here~ just want to ask what will be the logic/event processing if i want to make a certain sprite do a random movement.
The Idea is for a idle village type of game, so the villagers will be moving randomly around the village without fixed direction (well maybe it will have a fixed movement once a parameter is met like if its hungry it will go to a food source).
I was thinking it'll be like:
for X: floor(random(8))*choose(1,-1)
for Y: floor(random(8))*choose(1,-1)
then increasing the numbers for bigger movements.
I just can't fully wrap around my head on the events and processing script (im not good at programming as well). T_T
Hope to have some helping hands and some theory so i can reverse-engineer it.
Thanks for reading this post!