How to create a chase scene like in Ao Oni?

Roseredpinball

Veteran
Veteran
Joined
Sep 2, 2013
Messages
76
Reaction score
17
First Language
English
Primarily Uses
RMVXA
Without use of scripting, how can I make an antagonist character chase the player, from room to room, and if he touches him/her, it's game over? A very famous example is Ao Oni. How can I imitate that to make a chase scene?

In further detail, I want the character/monster chasing the player to stop once the player gets to a certain map, but not on any other map. I know with move route I can set it to custom>move toward player>repeat action to get them to chase the player. And I think with an autorun event I can have the character appear in the same room as the player each time the player moves to another room (aka map). But I'm not sure how to set it so that if the player touches the event/event touches the player, it's game over.

Any help would be much appreciated, thanks!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
You don't need to set anything to autorun (in fact you don't WANT to, because that would make the player unable to move).


On your monster event, add an Autonomous Movement Custom Move Route to move towards player (you don't need to specify repeat, as Autonomous Move Routes repeat by default). Set the trigger to Event Touch, and add a Game Over command to the event.


You will need to copy and paste this event to every map where you want the monster to chase the player. You cannot transfer an event between maps - they exist only on the map on which they were created.


The most complicated thing would be if you wanted them to appear near the player each time. If you just want them in the center of the map, that's fine. If you want them to be near the player, and there are several entrances to the map, you would need another parallel process event on each map to check the player's location and do a Set Event Location to move the monster wherever you wanted it to be, followed by an Erase Event command (as you only want it to happen once until you leave the map and come back again).
 

fruitlapassion

Villager
Member
Joined
Aug 28, 2013
Messages
10
Reaction score
1
First Language
spanish/french
Primarily Uses
You don't need to set anything to autorun (in fact you don't WANT to, because that would make the player unable to move).

On your monster event, add an Autonomous Movement Custom Move Route to move towards player (you don't need to specify repeat, as Autonomous Move Routes repeat by default). Set the trigger to Event Touch, and add a Game Over command to the event.

You will need to copy and paste this event to every map where you want the monster to chase the player. You cannot transfer an event between maps - they exist only on the map on which they were created.

The most complicated thing would be if you wanted them to appear near the player each time. If you just want them in the center of the map, that's fine. If you want them to be near the player, and there are several entrances to the map, you would need another parallel process event on each map to check the player's location and do a Set Event Location to move the monster wherever you wanted it to be, followed by an Erase Event command (as you only want it to happen once until you leave the map and come back again).
This is an interesting question u.u

Can I ask a thing even though I'm not the one who created the post?

If yes, how do you set the event's route to "custom"? And how would the parallel process event work? .-.

If no, I'm very sorry >.<
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Yeah, you shouldn't hijack someone else's thread.

When you create an event, on the left side (beside the graphic) is the Autonomous Movement section.  Just choose Custom from the drop down box.  This move route will repeat.  It is the equivalent of making the trigger parallel process and adding a Set Move Route as a command, but more efficient, as it lets you set a different trigger and actual commands for interacting with the event.

The parallel process event I mentioned above would simply check the player's position (it would set 2 variables to the player's X and Y location), and then do a series of conditional branches, to see if the player were near specific exits (which would indicate where they entered the map), and inside each one, there would be a Set Event Location to move the monster event to whatever spot you wanted it to be at, when entering the map in that area.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,864
Messages
1,017,056
Members
137,573
Latest member
nikisknight
Top