Currently I am using a lot of code to determine what direction to move to and "choose(1,2,3,4)" direction so I don't know how I can pick the direction directly because its random.
Basically what I want to do is;
if *sprites started moving to direction x*
--> set animation to x
--> create block at position x
I never added the animations, but I know how to do it by myself if I find a way to determine where and when it started moving.
- Code: Select all