设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 97|回复: 0

[制作教程] How to creat an ABS with sword actually in hand without plugins.

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    前天 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    4446

    主题

    864

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    22899
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    28239

    灌水之王

    发表于 4 天前 | 显示全部楼层 |阅读模式
    HOW TO MAKE AN ACTION BATTLE SYSTEM WITH NO PLUIGINS

    Okay had to take photos with my phone I’ll do screen shots later but in case any one needs this information here it is... a custom ABS (action battle system) before you begin create a switch called Sword On for later use

    Step 1: turn on a Switch and name it Sword1. Important make sure that switch is turned on before anything ... On every map you want your Actor to be able to use his sword you need to create an running with the trigger set to Parallel with no conditions. Then under “Game Progression” create a variable and name it .. I use Attack ON. Set up as follows: Operation “Set” Constant at “16” .. this will insure you can always call the common event

    Step 2: Create an Enemy Event set to run on Parallel with no conditions and set its graphic. On the first page create a variable again set up as EnemyHP1 SET constant to 10 (or desired HP amount.) then turn on Self Switch A.
    Page 2  set to player touch with the condition Self Switch A .
    set up a conditional branch with Else enabled. Set it with “If The switch Sword On is ON then go to set movement route.  Set to skip and wait

    This Event
    walking animation OFF
    speed 6
    Frequency 5
    1 step backward
    speed 4
    frequency 3
    walking animation ON

    Control switch Sword ON = OFF
    Control variable EnemyHP1 sub 5 (or any other amount you desire lol )

    Below Else

    Play desired animation if any to represent the player taking damage

    Set movement route : Player set to Skip and Walking Animation OFF
    Speed 6
    Frequency 5
    1 step backward
    Speed 4
    Frequency 3
    Walking animation ON

    Change HP for the player by -1 or ...you guessed it desired amount of damage
    Check allow death

    Between End and End lol

    End

    Conditional Branch :If EnemyHP1 = 0
    Play sound effect
    Add a reward I give gold
    Control Self Switch B = ON
    Set movement route : Player Walking Animation on ( prevents glitches )

    End

    Page 3 condition self switch B
    Below Character
    Action Button
    (This is a dead enemy) if you want them to repsawn add another page if not you can stop at 3

    Page 4 condition self switch B set to Parallel

    wait 900 frames
    Wait 900 frames
    Play an animation to represent respawning
    Self switch A = OFF
    Self Switch B = OFF

    note you can copy and paste this BUT for multiple enemies to work you MUST simply create a new Variable called for example EnemyHP2 do this for each time the the variable is used in the event and you can create as many enemies as you like by copy and paste and a slight edit

    Now go to system and common Events

    Create a common event Name it .. mines Holy Sword set the trigger to parallel with switch Sword1.

    If you want a sword in your players hand you must open the character sheet in GIMP and copy the actor with its hand in each row and create a new sheet.. no walking animation just holding the hand out and draw sword or animate the arm and sword swing. Export it imgs characters. Anyhow....

    Contents of common Event:

    Conditional Branch: IF Shift is being pressed
      Conditional Branch : if Attack ON = 16
          Control switches Sword On= ON
    Change actor image (to the one with a sword )
    Set movement route : Player Skip, Wait
        Speed 6
        Frequency 5
       1 Step Forward
        Speed 4
        Frequency 3

    Change Actor Images : back to your character
    Control Switches Sword On = OFF
    Control Variables Attack On = 0

    End

    Set movement route :
    Player no wait no skip
    Speed 4
    Frequency 3 ( also prevents any Glitching )

    End

    That’s it with those steps you can now make a Zelda styled combat game apply it any way you want I’ve already got Boss battles in mind. enjoy

    can work for MV or MZ


    本贴来自国际rpgmaker官方论坛作者:Roach87处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/how-to-creat-an-abs-with-sword-actually-in-hand-without-plugins.132278/
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-14 14:29 , Processed in 0.077855 second(s), 55 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表