[Help] "Super Mario RPG press button on time" battle system

ZackyStardust

Chaos Phantom
Member
Joined
Apr 5, 2018
Messages
5
Reaction score
3
First Language
Portuguese
Primarily Uses
RMMV
Hiya!
I'm very fine working with RPG Maker, however, programming is DEFINITELY not my forte. I have studied a few of C++, tho.

Anyway, I'm creating a battle system where, when an enemy attacks you, if you hit the action button on the trigger/right time (the "right time" might be when the SFX reproduces, or when the character flashes) you block some of the damage. The same works for attack - on the right time, you do some extra damage. Spells (damage or healing) have that, too. Whenever you do a "perfect hit/block", there's this resource bar that increases by 1.

I REALLY don't know how to code in javascript, so I need your help guys. How do I do it? I also have to show that resource on screen. I only know "the logic" behind it, and with my coding experience (almost 0), it would be something like this. I also do understand that this may be wrong or just pointless.

When action occurs:
-When [trigger] occurs:
--if: [action button]
--then: [defense/attack variable applies] and [resource +1]
--else: null

Note that every character has a way to increase the said resource. Protagonist increases when perfect hit or perfect block. Ally X increases when perfect hit or takes a hit. Ally Y increases when perfect heal, spell damage or evade (evade is like block but not quite) and so on.

Extra question: I don't know if it's the right board (if so, ignore it), but how do I customize my battle screen layout? applying the new resource bar?
 

ZackyStardust

Chaos Phantom
Member
Joined
Apr 5, 2018
Messages
5
Reaction score
3
First Language
Portuguese
Primarily Uses
RMMV
Consider using the Timed Attack plugin series found here.
Oh nice!
It's kinda like what I wanted, but as I saw, it's only for attack - and not for defense. Also, there shouldn't be any indicator on screen - you should only need to press when the attack occurs (middle of effect/with sfx).

I don't know if it's clear enough, I don't know how to 100% explain it in english.
 

OnslaughtSupply

Ssshhh...
Veteran
Joined
May 14, 2017
Messages
731
Reaction score
764
First Language
English
Primarily Uses
RMMV
SRD also has an active defense plugin on the same page that is more like what you're after.
 

ZackyStardust

Chaos Phantom
Member
Joined
Apr 5, 2018
Messages
5
Reaction score
3
First Language
Portuguese
Primarily Uses
RMMV
SRD also has an active defense plugin on the same page that is more like what you're after.
It's pretty cool but still... Not quite. The defense should only work on the spot, during a pretty small window of time. It also should add +1 to a specific resource (Hope, Rage, Faith, etc, depends on the character) which I, too, don't know how to create.
 

Astfgl66

Veteran
Veteran
Joined
Jan 5, 2016
Messages
722
Reaction score
578
First Language
French
Primarily Uses
You can probably do that with my QTE plugin and action sequences.
Create an invisible QTE that lasts a short time at that point you want in tha action sequence and if success increase ressource or do whatever.

Check out the link in my signature.
 

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,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top