设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
搜索附件  
同能RPG制作大师 › 附件中心 › 同能RM技术讨论区 › RPG Maker VA 讨论区 › How to make a chasing monster (Like Ao Oni)-10.jpg

How to make a chasing monster (Like Ao Oni)-10.jpg

 

How to make a chasing monster (Like Ao Oni):
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





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





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





Make sure the trigger is "None"!

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





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.





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!












本贴来自国际rpgmaker官方论坛作者:DestrikGamer处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/how-to-make-a-chasing-monster-like-ao-oni.31877/
How to make a chasing monster (Like Ao Oni)-10.jpg
         同一主题附件:
    How to make a chasing monster (Like Ao Oni)-6.jpg
    How to make a chasing monster (Like Ao Oni)-7.jpg
    How to make a chasing monster (Like Ao Oni)-8.jpg
    How to make a chasing monster (Like Ao Oni)-9.jpg
    How to make a chasing monster (Like Ao Oni)-10.jpg
简体中文
繁體中文
English(英语)
日本語(日语)
Deutsch(德语)
Русский язык(俄语)
بالعربية(阿拉伯语)
Türkçe(土耳其语)
Português(葡萄牙语)
ภาษาไทย(泰国语)
한어(朝鲜语/韩语)
Français(法语)
关闭

幸运抽奖

社区每日抽奖来袭,快来试试你是欧皇还是非酋~

立即查看

Loading...

QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

GMT+8, 2026-10-5 02:33 , Processed in 0.042931 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部