Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Closed TopicStart new topic
> [SSS] Mini Game: Input Match, Fighting Game Style!
Shanghai
post May 24 2010, 01:52 PM
Post #1


Level 31
Group Icon

Group: Revolutionary
Posts: 747
Type: Developer
RM Skill: Skilled




Shanghai Simple Script - Mini Game: Input Match
made by Shanghai



Link/Script
Click here
NR - Since the pockethouse link no longer works, I've uploaded the script here
Attached File  SSS___Minigame_Input_Match.txt ( 30.89K ) Number of downloads: 88


Introduction
Plays a little mini game to follow the input commands on the screen before the timer runs out.

How to Use
Download this image into the System folder.

NR - Backup link:
Attached File  MiniGameInputMatch.png ( 13.32K ) Number of downloads: 23


Do a script call for
CODE
@i = "236C"
$game_variables[1] = input_match(@i,x)

i is the input sequence you want the player to match. x is the amount of time given to the player. For the input string, the following items are allowed:
CODE
@i = "236C"
7  8  9  L  R                      UL  U  UR  Q  W
4     6  X  Y  Z   Translates to    L     R   A  S  D
1  2  3  A  B  C                   DL  D  DR  Sh Z  X

Don't confuse them. The score that's returned to the variable is a percent score of how well the player matched input sequence.

Works with Battle Engine Melody. Also, view the demo to see it in action.
NR - This image shows how to set up skills that require the key matching before they activate, as mentioned it requires Yanfly's Battle Engine
Attached File  SetupSkills.png ( 114.24K ) Number of downloads: 66


Compatibility
- Compatible with Battle Engine Melody.

For more Shanghai Simple Scripts
Visit Here.


__________________________
Go to the top of the page
 
+Quote Post
   
MyPhantomile
post May 24 2010, 02:48 PM
Post #2


I gotta BELIEVE!
Group Icon

Group: Revolutionary
Posts: 467
Type: Writer
RM Skill: Skilled




I haven't tested this yet, however this looks like a very good addition to the Melody Engine! I'll be sure to use it and credit appropriately. Thanks a lot and keep up the great work. thumbsup.gif
Go to the top of the page
 
+Quote Post
   
archeart
post May 25 2010, 12:39 AM
Post #3


Level 8
Group Icon

Group: Revolutionary
Posts: 118
Type: Developer
RM Skill: Intermediate




cool script keep em comin' tongue.gif


__________________________

Go to the top of the page
 
+Quote Post
   
kinan
post May 25 2010, 06:34 AM
Post #4


Level 1
Group Icon

Group: Member
Posts: 14
Type: None
RM Skill: Beginner




EDIT: Nevermind. Found the demo, which solved the issue I had in mind. Thank you ^^

This post has been edited by kinan: May 25 2010, 06:50 AM


__________________________
Current Project:

Working Title: "Game"
Started: 14/3/2009
Release: *fingers crossed* lets hope i actually finish this one!

Kinan: this is my real name. In japanese, it's funny that it also means: Peril, Distress O.O
wooow! at least my name is in the japanese language, ne? ^.^
Go to the top of the page
 
+Quote Post
   
Ridvi
post Aug 28 2011, 07:54 AM
Post #5



Group Icon

Group: Member
Posts: 1
Type: Developer
RM Skill: Intermediate




why is it that whenever the player has to press 'up', it misses? for the life of me I can't hit the up button correctly.....

other than that though, great script!

*edit* my bad. I was pushing up instead of down-right. XD The icon's look very similar, so I suppose from a player stand point you may want to make the arrows more distinguishable. but really, I love this script!

This post has been edited by Ridvi: Aug 29 2011, 05:53 AM
Go to the top of the page
 
+Quote Post
   
Fonstw
post Nov 1 2011, 08:42 AM
Post #6


Level 3
Group Icon

Group: Member
Posts: 36
Type: Writer
RM Skill: Intermediate




How do you put in more time? I find it going impossibkle fast!


__________________________
Haven't you ever noticed that "four" is the only number with the same amount of letters as it's definition in the entire English language?
Go to the top of the page
 
+Quote Post
   
Night_Runner
post Nov 1 2011, 08:41 PM
Post #7


Level 50
Group Icon

Group: +Gold Member
Posts: 1,529
Type: Scripter
RM Skill: Undisclosed




You can manually force the time when you call the input_match function.
CODE
input_match(inputs, time)


The alternative is if you want to use the number_of_frames * number_of_inputs that is given by default, and increase the number_of_frames variable.
If you would prefer to change the code to allow more time, then look for line 52:
CODE
@time = string.size * 30 if time < 1

And change that 30 to the number of frames you prefer smile.gif


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
dienaB
post Feb 8 2012, 06:15 PM
Post #8



Group Icon

Group: Member
Posts: 2
Type: Writer
RM Skill: Masterful




can anyone tell me where to find and put that " @i = "236C"
$game_variables[1] = input_match(@i,x) " ????!!!!!!!77
Go to the top of the page
 
+Quote Post
   

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th June 2013 - 04:25 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker