Jump to content
DestrikGamer

eventing How to make a chasing monster (Like Ao Oni)

Recommended Posts

Hi there!

 

I'm making a horror game and I noticed alot of people wanted to know how to make a monster that chases you through different maps and I came up with a way that worked for me. I hope you can use my system!

 

NOTE: If you want a video tutorial click here!

 

Switches and Variables

 

The first thing you need to do is make a few switches and variables.

 

Switches

  • Enemy Chase
  • Enemy Appear

Variables

  • Player X
  • Player Y
  • Enemy X
  • Enemy Y
  • Enemy Chase Length
  • Enemy Chase Counter
  • (Optional) Life

Note: Because my enemy is a robot all my switches are named a little bit differently

 

Setting up your enemy

 

So your enemy event will look something like this

1432uer.jpg

If you want the enemy to insta-kill just remove the last 2 lines and replace it with "Game Over"

 

My custom move route is:

 

"Move toward player"

"Move toward player"

"Move toward player"

"Move toward player"

"Move toward player"

"Move at random"

"Move toward player"

"Move toward player"

 

Of course settings such as speed move route and the event itself can be changed just make sure you have "Enemy Appear" as a switch.

 

Note: You must have the enemy pasted in EVERY MAP for this to work where doesn't matter

 

Setting up map transferring

 

For your enemy to transfer maps you must have an event that looks like this

9763ar.jpg

What the common event "Player X and Y" does is later in this post.

 

What "Wait [Number] Frame(s)" does is for example: When the player enters a new map after 2 seconds (120 frames) the enemy will appear.

 

Note: The set event location is "Set "Enemy" to Robot X, Robot Y"

Note: You must have this event pasted in EVERY MAP for this to work where doesn't matter

 

Common Events

 

You will need 2 common events:

  • Player X and Y
  • Enemy

First you will need to make the Player X and Y common event what looks like this

a9mhr8.jpg

Make sure the trigger is "None"!

 

Now you need to make the Enemy common event what looks like this

2rm5kc2.jpg

This common event is basically a timer. If the time is up the monster disappears.

 

Now let's move on to the last event!

 

Summoning Enemy

 

Of course you need to summon your enemy! This event is only an example.

wmb7g8.jpg

The "Enemy Chase Length" is how many seconds you want the enemy to chase you in this case 25.

The "Battle6" BGM is just an example for chase music that's why in the "Enemy Chase" common event there is "Fade out BGM"

 

Note: The "Enemy Chase Length" and "Enemy Chase = On" are required! The rest is optional!

Edited by DestrikGamer

Share this post


Link to post
Share on other sites

Monsters chasing the player through maps, especially the big scary ones, really adds to the game's realism and fear. Reminds of Nemesis from Resident Evil 3. (game was good, but not as great as the first two, although it had one of the best monster concepts in the series)

 

Love the post, it's nice and detailed and should leave few questions behind.

Share this post


Link to post
Share on other sites

Monsters chasing the player through maps, especially the big scary ones, really adds to the game's realism and fear. Reminds of Nemesis from Resident Evil 3. (game was good, but not as great as the first two, although it had one of the best monster concepts in the series)

 

Love the post, it's nice and detailed and should leave few questions behind.

 

 

You beautiful beautiful person you, thank you so much!

I'm glad I could help! :D

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×