Hello im quite new here and i need some help on my game im planning to start a chase event where an npc chase you but stops after a while
and if anyone nice enought to send a place to get some nice horror game sprites like tilesets,characters and stuff
i thank you very much on in advance for helping me 🙂
Hello, one way to do that is to have an event with two pages: one without autonomous movement, another with autonomous movement to move toward the player.
You can use an event to set a variable to 1 and then use a parallel process that increases that variable by 1 each frame. When the variable is bigger than a certain number (the amount of frames that you want to pass before the event stops) you set the variable back to zero.
That very same variable can be used as a condition for the chasing page of your event so that when the variable goes back to zero the event stops chasing the player.
If you check through Andar's compilation of info for new users (you can find it here) you will find a lot of useful stuff. In particular there is a link to an interactive tutorial on eventing. The bonus is that you can open it up in your editor and see how everything was done. If you spend a bit of time on that now, you will save a lot of time and frustration in the future.