Battle Wheel/Scroll Attack

Awesomeguy2561

Awesome
Member
Joined
Sep 8, 2015
Messages
32
Reaction score
0
First Language
English
Primarily Uses
So I was wondering if someone could make a script that would make the players click at a certain time to attack. At a certain point on the wheel/line, wherever they clicked (or pressed enter) would be a miss, an attack, or a critical attack. I want something like this:

Adventure-Time-Card-Wars-Battle-Wheel.png

Or this:

SU_screenshots_iphone5_purplepuma.png

Is this possible?
 

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
181
First Language
Meowish
Primarily Uses
yes possible, there's already scripts like that out there.

try google for "rgss3 timed attack" or "rgss3 combo input" and i am sure you will find one you need.
 

Awesomeguy2561

Awesome
Member
Joined
Sep 8, 2015
Messages
32
Reaction score
0
First Language
English
Primarily Uses
I looked, but I didn't find exactly what I wanted. I just really want what is in either of those pictures.
 

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
181
First Language
Meowish
Primarily Uses
So you only want a battle with Attack/Miss/Critical and no skills?

Seems a fun concept for a web based game or mobile games. (especially under touch screen environment)

You might want to wait for MV then, there's bound to be someone willing to make that for the up coming RMMV.

Since MV is, by default, using side view battle, so that clears the 1st part of your request, all they need is to modify the battle commands to do what you want there.

But if you want a 100% same system as your graphic.. RM might not be the right tool. Have you tried GG?

http://www.rpgmakerweb.com/products/programs/gg-maker

Unlike RM, GG gives you more control over the UI (Check video on 1:14)




edit:

Maybe something like a wheel of fortune might work for extra skills? ;)

But i only have examples from Unity. Not RM. But should be do-able in RM/GG with a bit of work.
 
Last edited by a moderator:

skymen

Veteran
Veteran
Joined
Aug 26, 2013
Messages
46
Reaction score
5
First Language
French
Primarily Uses
Hey.
You could do both with some eventing skills :3
In your battle, just create your wheel image, and your arrow image
Make your image rotate at a certain speed

Then do this:
Start of the loop:

If screen.pictures[x].angle >= y then

Process like if the arrow missed and rotated too much (x being the picture ID and y the minimum angle the pic should have to be considered off limits)
Break Loop
End if
If C buttoon is pressed then
Process action depending on the angle of pictures a bit like this:
If screen.pictures[x].angle < y then

If screen.pictures[x].angle > y- whatever number
Elsif screen.pictures[x].angle > y- whatever greater number
And so on
End If
End if
Wait 1
End of loop

That should do the trick

For the other picture, not being a wheel, just check for X or y instead.
If you want your wheel to be unlimited, just remove the first part
If you want a Time limit, just create a var where you will set how many frames you want the thing to last, and add this (you var being T)
If T > 0

Substract 1 from T
Else
Break loop
End if
If you want your arrow to go back and forth, just play with switches, having a "Right?" switch activated. If it is, then move the image to the right, when it reaches a certain X, deactivate the switch, and add another part that will then be activated, and that will move the arrow left.

(Eventing my boy. Eventing)
 

Awesomeguy2561

Awesome
Member
Joined
Sep 8, 2015
Messages
32
Reaction score
0
First Language
English
Primarily Uses
Thanks! I will try this out and use this in my game!
 

Awesomeguy2561

Awesome
Member
Joined
Sep 8, 2015
Messages
32
Reaction score
0
First Language
English
Primarily Uses
Could someone make a wheel? I am really bad at making stuff like this. Thanks.

Sorry for double post.
 
Last edited by a moderator:

skymen

Veteran
Veteran
Joined
Aug 26, 2013
Messages
46
Reaction score
5
First Language
French
Primarily Uses
Wat do you mean by "making a wheel", Mainking a picture for the wheel, or actually programing the wheel?

Also, you have that "Edit" Button to avoid double posting (and to avoid making that handsome moderator come and write in a beautiful blue that double posting is indeed bad)
 

Awesomeguy2561

Awesome
Member
Joined
Sep 8, 2015
Messages
32
Reaction score
0
First Language
English
Primarily Uses
Just the picture.

I just need 3 spaces, with one of the spaces being really small.
 
Last edited by a moderator:

skymen

Veteran
Veteran
Joined
Aug 26, 2013
Messages
46
Reaction score
5
First Language
French
Primarily Uses


Is that ok?



Without the gray part.
 
Last edited by a moderator:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,136
Reaction score
806
First Language
Hungarian
Primarily Uses
RMVXA
I made the exact same battle QTE (quick time event, with multiple button inputs, but you can use a single input too) system with the wheel image and all.


If you are interested, you can find the link to it in my signature.


You can set up your skills to behave differently when the player misses or succeeds the timed attack.
 

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

Latest Threads

Latest Profile Posts

Love it when someone confuses "RPG Maker (or script/plugin) has a bug" with "I didn't set it up right and it's not working as I want (or gives an error)"
Is animation really as hard as I think it is?
Out of sudden, snow. Everywhere.
Blech. I hate coming up with stories. Making gameplay is fun but coming up with lore and reasons for these areas/mechanics just makes me sleepy.

Forum statistics

Threads
94,574
Messages
922,006
Members
124,441
Latest member
nanaya07
Top