Shanghai Simple Script - Mini Game: Bull's Eye
made by ShanghaiLink/ScriptClick hereNR
Since the pockethouse link above does not work, I've re uploaded the script
( 19.94K )
Number of downloads: 64
and the necessary graphics, which need to be placed in the Gaphics >> System folder
( 582.68K )
Number of downloads: 56Introduction
Shoot at a little target in the center.How to Use
Download this image into the System folder.
Do a script call for
$game_variables = bulls_eye_game(x, y)
x is the percentage range allowed for error and y is the cursor speed. Works with Battle Engine Melody. Also, view the demo
to see it in action.
The script is activated via the use of a script call
- via "Script" in events or as part of your own scripting in RGSS2. You enter your own values into the script, just like Shanghai's instructions, using a variable of your choice in $game_variables that you want to use to handle results, and the (x,y) part of the code affects how precise the player has to be (x is the percentage of the bar that the player has to get "Perfect", .y is the cursor speed)
When you do the script call, it will automatically run the bullseye minigame for you. Upon its completion (By the player hitting a button), the variable you set will be changed based on the results. In case of a Perfect, the variable will be set to 2; in case of an Almost, it is set to 1; and in case of a Miss, it is set to 0.
You can then use that variable however you want to do whatever you want with the results.Compatibility
- Compatible with Battle Engine Melody
.For more Shanghai Simple ScriptsVisit Here.
This post has been edited by Night_Runner: Nov 1 2011, 08:19 PM
Reason for edit: Fixed broken script link