Pressing "P" to uncover invisible items for 15 seconds (costs 1/8 battery).
Assistant
Got it! You're aiming to implement a mechanic where pressing "P" uncovers invisible items for 15 seconds at the cost of 1/8 of a battery. Are you adding this mechanic to a game inRPG Maker MZor a different engine? Let me know so I can guide you with the proper steps or code.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
To create this mechanic inRPG Maker , you can useEventingandControl the battery mechanic and a simple"P" key press triggerfor uncovering the invisible items. Here’s a step-by-step guide on how you can set it up:
1.Create , you'll need a variable to track the battery level.
Go to theControl command.
Create a new variable, such as"Battery Level".
Set the initial value (e.g., 100 or 8/8 for a full battery).
Go to theControl command.
Create a new variable, such as"Battery Level".
Set the initial value (e.g., 100 or 8/8 for a full battery).
2.Invisible Item Event
For the invisible items, use the"Show Picture"or"Set Event Opacity"event command to make the items invisible.
Create an event where the item should be.
Set the item's opacity to 0% using"Change Event Opacity".
This will make the item invisible, and it will appear when you use the "P" key.
Create an event where the item should be.
Set the item's opacity to 0% using"Change Event Opacity".
This will make the item invisible, and it will appear when you use the "P" key.
3.Button Press Event for "P"
Now, create an event that checks when the player presses the "P" key and triggers the uncovering of invisible items.
Use a"Conditional Branch"event.
Set it to check if theP keyis pressed (:Input.isPressed('p')).
Inside the conditional branch, check if thebattery levelis above 1/8.
Use a"Conditional Branch"event.
Set it to check if theP keyis pressed (:Input.isPressed('p')).
Inside the conditional branch, check if thebattery levelis above 1/8.
4.Uncover the Items (15 Seconds)
When "P" is pressed and there is enough battery:
Use"Set Event Opacity"or"Show Picture"to make the item visible.
Use a"Wait"command for 15 seconds (or 900 frames, since 1 second = 60 frames).
After the wait time,set opacity back to 0to hide the item again.
Use"Set Event Opacity"or"Show Picture"to make the item visible.
Use a"Wait"command for 15 seconds (or 900 frames, since 1 second = 60 frames).
After the wait time,set opacity back to 0to hide the item again.
5.Battery Consumption
After the uncovering, reduce the battery by1/8(since you said pressing "P" uses 1/8 of the battery).
Use"Change Variable"to subtract 1 from theBattery Level.
Ensure that theBattery Levelvariable is not going below 0.
Use"Change Variable"to subtract 1 from theBattery Level.
Ensure that theBattery Levelvariable is not going below 0.
Example Event Code
User
yes this could be good information too Using the item scanner to collect items while visible (requires batteries and the "Scan" skill).
Assistant
Great! To integrate anItem where the player can collect items while visible, you'll need to implement a few more things, such as thebattery consumption,scan skill requirement, and theitem collection process.
Here’s how you can set this up inRPG Maker MZ:
1.Item Scanner Skill
First, you need to ensure that the player has before they can use the scanner to collect visible items.
Create the Scan Skill:Go to >Skillsand create a new skill called"Scan".Set this skill to be usable in the field (or during battle, if you that it triggers when the player uses the Scan skill.
Go to >Skillsand create a new skill called"Scan".
Set this skill to be usable in the field (or during battle, if you prefer).
that it triggers when the player uses the Scan skill.
Create the Scan Skill:
Go to >Skillsand create a new skill called"Scan".
Set this skill to be usable in the field (or during battle, if you prefer).
that it triggers when the player uses the Scan skill.
Go to >Skillsand create a new skill called"Scan".
Set this skill to be usable in the field (or during battle, if you prefer).
that it triggers when the player uses the Scan skill.
2.Create the Scan Event
Once the player uses theScanskill, the event should trigger the item collection mechanic. You can make the item appear and be collectible only when the scanner is in use.
Create a New Event for Items:Set this event to beInvisibleby default usingSet Event Opacity.Set the event to have a condition where it checks for whether skillhas been used (usingSelf Switches).
Set this event to beInvisibleby default usingSet Event Opacity.
Set the event to have a condition where it checks for whether skillhas been used (usingSelf Switches).
Condition for Scanning:Use aConditional Branchto check if the player has skill.After that, create anotherConditional to check if there are enoughbatteriesto use the scanner.If the player has the skill and enough battery, trigger the item to become visible and collectible.
Use aConditional Branchto check if the player has skill.
After that, create anotherConditional to check if there are enoughbatteriesto use the scanner.
If the player has the skill and enough battery, trigger the item to become visible and collectible.
Create a New Event for Items:
Set this event to beInvisibleby default usingSet Event Opacity.
Set the event to have a condition where it checks for whether skillhas been used (usingSelf Switches).
Set this event to beInvisibleby default usingSet Event Opacity.
Set the event to have a condition where it checks for whether skillhas been used (usingSelf Switches).
User
Managing scanner and battery life (scanner can break if the battery runs out
Assistant
To manage both theItem ScannerandBattery Lifein a way that the scannercan breakif the battery runs out, we need to introduce a failure mechanic for the scanner and ensure it can be repaired or replaced. Here’s how you can implement this feature inRPG Maker MZ:
1.Setting Up the Battery and Scanner Variables
You will need to manage two primary things:
Battery Level: This tracks how much battery the scanner has.
Scanner Status: This determines whether the scanner isworkingorbroken.
Battery Level: This tracks how much battery the scanner has.
Scanner Status: This determines whether the scanner isworkingorbroken.
Variables:
Battery Level: (e.g., variable#001 )
Scanner Status: (e.g., variable#002 Scanner Status)Set the value to0(working) or1(broken).
To implement thefailurewhen the battery runs out, you can set up an event that will check theBattery Leveland break the scanner if the battery is empty.
Steps:
Use aCommon Eventthat is triggered when the player uses skill.
In theCommon Event, check if greater than 0. If it is, the scan will proceed; if it’s 0, the scanner will break.
Use aCommon Eventthat is triggered when the player uses skill.
In theCommon Event, check if greater than 0. If it is, the scan will proceed; if it’s 0, the scanner will break.
3.Common Event for Scanning with Failure Mechanic
Here’s an example of how theCommon scanning can be set up to check battery and break the scanner:
plaintextCopy◆Conditional Branch: If Actor [Player] has Skill [Scan]
◆Conditional Branch: If Variable [Battery Level] > 0
◆Change Variable [Battery Level] by -1 (decreases battery each time scan is used)
◆Set Event Opacity: Set Opacity to 100% (to make the item visible)
◆Wait: 600 frames (10 seconds visible time)
◆Set Event Opacity: Set Opacity to 0% (to hide the item again)
◆Else
◆Show Text: "Battery is dead! The scanner breaks!"
◆Change Variable [Scanner Status] = 1 (set the scanner to "broken")
◆Change Variable [Battery Level] = 0 (set battery to 0 since it’s out of power)
◆End
◆End
In this setup:
If greater than 0, the scanner will function normally, making the item visible and then hiding it after a set time (e.g., 10 seconds).
If , theScanner Statusis set tobroken(variable set to 1), and a message will show that the scanner is no longer working.
User
yes now the final idea is Pressing "P" to uncover invisible items for 15 seconds (costs 1/8 battery).
Using the item scanner to collect items while visible (requires batteries and the "Scan" skill). Managing scanner and battery life (scanner can break if the battery runs out, costs 500 gold for 5 minutes).
Skill system ("Knowledge" skill required to use the scanner).
Assistant
Awesome! Now that you have the full concept in mind, here’s how we can implement theItem Scannersystem,battery management,scanner breakageupon battery depletion, and the requirement for theKnowledge skillin RPG Maker MZ.
1.Define New Variables and Skills
You’ll need to set up the following:
Battery Level(Variable #001)
Scanner Status(Variable #002) (Broken or Working)
Skill: Knowledge(You’ll need to create this skill to use the scanner)
Battery Level(Variable #001)
Scanner Status(Variable #002) (Broken or Working)
Skill: Knowledge(You’ll need to create this skill to use the scanner)
2.Implementing the "P" Key for Uncovering Invisible Items
You’ll use pressing the "P" key to uncover invisible items. This will require a small battery consumption each time it’s activated.
Common Event for "P" Key Press (Uncovering Invisible Items):
plaintextCopy◆Conditional Branch: If Actor [Player] has Skill [Scan]
◆Conditional Branch: If Variable [Battery Level] > 0
◆Change Variable [Battery Level] by -1 (consume 1 battery)
◆Set Event Opacity: Set Opacity to 100% (item visible)
◆Wait: 600 frames (10 seconds for scanning)
◆Collect Item [item] (collect the item from the event)
◆Set Event Opacity: Set Opacity to 0% (item invisible again)
◆Else
◆Show Text: "Battery is dead! The scanner doesn't work."
◆End
◆Else
◆Show Text: "You need the Knowledge skill to use the scanner."
◆End
In this event:
If the player has , it will check if there’s enough battery.
If the battery is sufficient, it will consume 1 battery point, make the item visible, and allow the player to collect it.
If the player doesn’t have theScanskill or if the battery is dead, it will display the appropriate message.
If the player has , it will check if there’s enough battery.
If the battery is sufficient, it will consume 1 battery point, make the item visible, and allow the player to collect it.
User
call it item discover and use. scanner for this checking the rarity of items 1/9 stars and uncovers the item description plus the coast also if you do have lv 2/4 you may get multiple depending on the stars on the item higher the chance you wont get multiples.
Assistant
Got it! Let’s make theItem Discover and Use Scannersystem, which checks therarity of items (1/9 stars), uncovers theitem descriptionandcost, and adds the mechanic forlevels(2/4) that affect the chance of gettingmultiplesbased on the star rating of the item. Here's how we can break down the system:
1.New System Overview:
Item Discover and Use Scannerchecks itemrarity (1 to 9 stars).
Item Descriptionandcostwill be revealed when scanned.
Level System: If the player hasLevel 2/4, they may get multiple items from a scan depending on the item’s star rating.
Higher star-rated items have alower chanceof giving multiples (and will be more likely to be discovered individually).
You’ll need to trackLevel Progressionfor this.
Item Discover and Use Scannerchecks itemrarity (1 to 9 stars).
Item Descriptionandcostwill be revealed when scanned.
Level System: If the player hasLevel 2/4, they may get multiple items from a scan depending on the item’s star rating.
Higher star-rated items have alower chanceof giving multiples (and will be more likely to be discovered individually).
You’ll need to trackLevel Progressionfor this.
2.Variables & Setup:
We’ll add the following new variables and make adjustments for thescanner mechanics:
Item Rarity(Variable #003) (1 to 9 stars)
Item Description(Variable #004) (Item text info)
Item Cost(Variable #005) (Item cost in gold)
Level 2/4(Variable #006) (Check for level threshold)
Item Rarity(Variable #003) (1 to 9 stars)
Item Description(Variable #004) (Item text info)
Item Cost(Variable #005) (Item cost in gold)
Level 2/4(Variable #006) (Check for level threshold)
3.Scanner Use Process:
Common Event for Item Discovery:
This event will check therarityof the item, reveal itsdescription, and show thecost. It will also check if the player isLevel 2 or 4to determine if they can getmultiplesbased on the star rating.
plaintextCopy◆Conditional Branch: If Actor [Player] has Skill [Scan]
◆Conditional Branch: If Variable [Battery Level] > 0
◆Change Variable [Battery Level] by -1 (consume 1 battery)
◆Show Text: "Scanning item..."
◆Wait: 600 frames (10 seconds for scanning)
code
User
say it again changing Multiples Based on Level: Level 2 or 4 increases the chance of multiples based on item rarity. to scanners class power radix points 340 items discovered with discover skill/
Assistant
Here’s the updated version of theItem Discover and Use Scannersystem, where the chance of discovering multiples is now tied to theScanner's Class PowerandRadix Points, rather than being directly linked to the player's level:
1.System Overview:
Item Discover and Use rarity(1 to 9 stars), reveals theitem descriptionandcost, and determines the chance of discoveringmultiplesbased on theScanner's Class PowerandRadix Points.
TheRadix Pointsmechanic is tied to the number ofitems discoveredwith theDiscover skill.
Scanner Class Powerinfluences the chance of discoveringmultiples.
Item Discover and Use rarity(1 to 9 stars), reveals theitem descriptionandcost, and determines the chance of discoveringmultiplesbased on theScanner's Class PowerandRadix Points.
TheRadix Pointsmechanic is tied to the number ofitems discoveredwith theDiscover skill.
Scanner Class Powerinfluences the chance of discoveringmultiples.
2.Scanner Mechanics Update:
Multiples Based on Scanner Class Power:
The chance of discoveringmultiplesis based on theScanner's Class Power(tied toRadix Points).
Radix Pointswill be accumulated based on the number ofitems discoveredwith theDiscover skill.For every340 items discovered, the player’sScanner Class Powerincreases, giving them a higher chance to discovermultiples.
For every340 items discovered, the player’sScanner Class Powerincreases, giving them a higher chance to discovermultiples.
The chance of discoveringmultiplesis based on theScanner's Class Power(tied toRadix Points).
Radix Pointswill be accumulated based on the number ofitems discoveredwith theDiscover skill.
For every340 items discovered, the player’sScanner Class Powerincreases, giving them a higher chance to discovermultiples.
For every340 items discovered, the player’sScanner Class Powerincreases, giving them a higher chance to discovermultiples.
3.New Variables & Mechanics:
Scanner Class Power(Variable #007) — Tracks thepowerof the scanner, which increases as moreRadix Pointsare earned.
Radix Points(Variable #008) — Tracks the player’s totalRadix Points, which are earned by discovering items using theDiscover skill.
Scanner Class Power(Variable #007) — Tracks thepowerof the scanner, which increases as moreRadix Pointsare earned.
Radix Points(Variable #008) — Tracks the player’s totalRadix Points, which are earned by discovering items using theDiscover skill.
4.Radix Points and Class Power:
As the player discovers items with theDiscover skill, they earnRadix Points.
For every 340 items discovered, the player earns aClass Power increase(e.g., +1 Class Power).
HigherClass Powergives the player a better chance to discovermultiplesfrom the scanner.
User
scanner power radar item needed
Assistant
It sounds like you're wanting to integrate aScanner Power Radaror anItem Needed Radarfeature into the system, possibly to track which items are needed for certain actions or quests, or to better visualize theScanner Power.
Here’s an idea for integrating this:
1.Scanner Power Radar:
This radar would act as an on-screen display or an indicator that shows the player'sScanner Class Powerand how it influences item discovery or scanning. It could also be used to visually represent the effectiveness of theScannerin uncovering rare items or checking the rarity of discovered items.
2.Radar Mechanics:
Scanner Power Radar(on-screen display) would show:Scanner Power Level: A bar or gauge indicating the currentScanner Class Power.Item Rarity Detection: An indication of how effective the scanner is at detecting items based on theirrarity(e.g., lower-tier items being detected more easily).Battery Indicator: A meter showing how muchbatteryis left for scanning.Item Discovered Indicator: A visual indicator for any items discovered or in the process of being scanned.
Scanner Power Level: A bar or gauge indicating the currentScanner Class Power.
Item Rarity Detection: An indication of how effective the scanner is at detecting items based on theirrarity(e.g., lower-tier items being detected more easily).
Battery Indicator: A meter showing how muchbatteryis left for scanning.
Item Discovered Indicator: A visual indicator for any items discovered or in the process of being scanned.
TheScanner Power Radarcould dynamically update as the player accumulatesRadix Points, unlocking higherScanner Class Powerand therefore better item discovery chances.
Scanner Power Radar(on-screen display) would show:
Scanner Power Level: A bar or gauge indicating the currentScanner Class Power.
Item Rarity Detection: An indication of how effective the scanner is at detecting items based on theirrarity(e.g., lower-tier items being detected more easily).
Battery Indicator: A meter showing how muchbatteryis left for scanning.
Item Discovered Indicator: A visual indicator for any items discovered or in the process of being scanned.
Scanner Power Level: A bar or gauge indicating the currentScanner Class Power.
Item Rarity Detection: An indication of how effective the scanner is at detecting items based on theirrarity(e.g., lower-tier items being detected more easily).
Battery Indicator: A meter showing how muchbatteryis left for scanning.
Item Discovered Indicator: A visual indicator for any items discovered or in the process of being scanned.
TheScanner Power Radarcould dynamically update as the player accumulatesRadix Points, unlocking higherScanner Class Powerand therefore better item discovery chances.
3.Item Needed Radar:
User
This seems like a complex game or challenge where the player has to select the correct song from a list of choices to win a large prize. Here’s a breakdown of how it might work based on your description:
Game Structure:
The player is given 15 choices, and in each choice, there are 3 options (songs).
The goal is to select the correct song in each of the 15 choices.
Winning Conditions:
If the player selects all 15 correct songs, they win the grand prize of 200,000 gold.
If the player selects all wrong songs, they receive 5,000 gold (which seems like a consolation prize).
Radix Points & Scandisk:
You mention 40 scandisk and radix points, which seem to be additional clues or elements in the game. These might represent hidden indicators or markers that help the player identify the correct songs.
Instead of "sea shells," the focus is on radix points, which could be a metaphor for key decision points in the game.
List of 40 Songs:
At some point, the player may have to choose from a list of 40 songs or guess the correct one to proceed or win the prize.
Strategy & Winning:
The player must carefully analyze the clues (radix points) and possibly the scandisk to make informed choices.
Selecting the right songs consistently is crucial to reaching the 200,000 gold prize.
How to Play:
Step 1: In each of the 15 choices, you are given 3 song options. You must select the one correct song.
Step 2: Use the 40 scandisk and radix points as hints to help you identify the correct songs.
Step 3: If you successfully choose all 15 correct songs, you win the 200,000 gold prize.
Step 4: If you choose all wrong songs, you get a consolation prize of 5,000 gold.
Tips:
Pay attention to any clues or hints provided by the radix points and scandisk. They might be critical in identifying the correct songs.
If there’s a list of 40 songs, try to narrow down the
fifteen right correct song from 15 choice's of 3 option in each choice. to see if you can win 200,000 gold Find 23 scandisk they are the radix points player must chose 6 from a list of 23 songs or guess to win 200,000 gold the right songs is a rap tour expedition to win 200,000 gold all wrong songs is 5,000 gold make a rpg maker mz script for my rap show game that has 23 of my music
Creating an RPG Maker MZ script for your rap show game involves a combination of eventing, variable handling, and possibly custom scripting to handle the logic of selecting songs, checking for correct answers, and awarding prizes. Below is a detailed breakdown of how you can implement this in RPG Maker MZ:
Game Concept Recap:
15 Choices: Each choice has 3 song options.
Assistant
RPG Maker MZ Script for Rap Show Game
Let's break down how you can implement the rap show game logic in RPG Maker MZ using events, variables, and common events. Here's a guide to setting this up.
Step 1: Prepare Your Assets
23 Songs: Make sure you've added the 23 music tracks to your game’s audio files. You’ll need them later for the player to choose from.
Graphics: You may need some visual assets, such as a "Choice" window for the player to pick the songs.
23 Songs: Make sure you've added the 23 music tracks to your game’s audio files. You’ll need them later for the player to choose from.
Graphics: You may need some visual assets, such as a "Choice" window for the player to pick the songs.
Step 2: Create Variables & Switches
Variables:PlayerSelection: This will store the player’s current song selection (to track which song they picked).CorrectSongs: This will track how many correct songs the player has chosen.TotalChoices: To count how many songs the player has chosen (in case they pick 6 songs).
PlayerSelection: This will store the player’s current song selection (to track which song they picked).
CorrectSongs: This will track how many correct songs the player has chosen.
TotalChoices: To count how many songs the player has chosen (in case they pick 6 songs).
Switches:GameOver: This will stop the game if the player has completed the song selections.Win: This will trigger the win condition if all 6 correct songs are selected.Fail: This will trigger if the player picks all wrong songs.
GameOver: This will stop the game if the player has completed the song selections.
Win: This will trigger the win condition if all 6 correct songs are selected.
Fail: This will trigger if the player picks all wrong songs.
Variables:
PlayerSelection: This will store the player’s current song selection (to track which song they picked).
CorrectSongs: This will track how many correct songs the player has chosen.
TotalChoices: To count how many songs the player has chosen (in case they pick 6 songs).
PlayerSelection: This will store the player’s current song selection (to track which song they picked).
CorrectSongs: This will track how many correct songs the player has chosen.
TotalChoices: To count how many songs the player has chosen (in case they pick 6 songs).
Switches:
GameOver: This will stop the game if the player has completed the song selections.
Win: This will trigger the win condition if all 6 correct songs are selected.
Fail: This will trigger if the player picks all wrong songs.
GameOver: This will stop the game if the player has completed the song selections.
User
Certainly! Below is a custom plugin for RPG Maker MZ that implements the logic for your rap show game. This plugin will handle the selection of 6 songs from a list of 23, check if the selected songs are correct, and award the player either 200,000 gold (if all 6 songs are correct) or 5,000 gold (if all songs are wrong).
RPG Maker for Rap Show Game
Plugin Name: RapShowGame.js
javascript
Copy
/*:
@plugindesc A custom plugin for a rap show game where the player selects 6 songs from a list of 23.
@author YourName
@help This plugin allows players to select 6 songs from a list of 23. If all 6 songs are correct, the player wins 200,000 gold. If all songs are wrong, the player wins 5,000 gold.
Instructions:
Place this plugin in your RPG Maker MZ project's js/plugins folder.
Enable the plugin in the Plugin Manager.
Use the following script calls to start the game:
RapShowGame.start();
Define the correct songs in the plugin parameters.
@param CorrectSongs
@desc List of correct song IDs (comma-separated). Example: 1, 3, 5, 7, 9, 11
@default 1,3,5,7,9,11
*/
(function() {
code
var parameters = PluginManager.parameters('RapShowGame');
var correctSongs = parameters['CorrectSongs'].split(',').map(Number);
var RapShowGame = {
selectedSongs: [], // Stores the player's selected songs
maxSelections: 6, // Maximum number of songs the player can select
// Starts the game
start: function() {
this.selectedSongs = []; // Reset selected songs
this.showSongSelection();
},
// Displays the song selection menu
showSongSelection: function() {
let choices = [];
for (let i = 1; i <= 23; i++) {
choices.push(Song ${i});
}
SceneManager.push(Scene_Message);
SceneManager.prepareNextScene([]);
SceneManager.scene().
Assistant
Here’s a custom plugin for RPG Maker MZ that lets you implement your own 23 rage-themed songs and integrates music playback, song selection, and gold rewards based on correct or incorrect selections. The plugin includes the ability to check if the selected songs are correct and award gold accordingly.
RPG Maker for Rap Show Game with Custom Songs and Music Playback
@plugindesc A custom plugin for a rap show game where the player selects 6 songs from a list of 23 custom songs. Includes music playback.
@author YourName
@help This plugin allows players to select 6 songs from a list of 23 custom songs. If all 6 songs are correct, the player wins 200,000 gold. If all songs are wrong, the player wins 5,000 gold.
Instructions:
Place this plugin in your RPG Maker MZ project's js/plugins folder.
Enable the plugin in the Plugin Manager.
Use the following script calls to start the game:
RapShowGame.start();
Add your custom song titles and audio files to the plugin parameters.
@param SongTitles
@desc List of 23 custom song titles (comma-separated). Example: Song1,Song2,Song3
@desc List of correct song IDs (comma-separated). Example: 1, 3, 5, 7, 9, 11
@default 1,3,5,7,9,11
*/
(function() {
var parameters = PluginManager.parameters('RapShowGameCustomSongs');
var songTitles = parameters['SongTitles'].split(',');
var correctSongs = parameters['CorrectSongs'].split(',').map(Number);
code
User
the songs will be achieved perfect score each time for 1.1x money and 2.1xmoney for two perfect score. so when rap song stops for 15 seconds and it said a certain word the song will pause. the game will ask you what word was it by choice's of five vocabulary words or press 1. 2. 3. 4. 5. to select word with keyboard. depending on what time of the song, here's an example the song stops at a point 1:16 to ask the vocab for song 1 word (drum) i got to say word up example of my unheard of insulation (drum). at 1:16 of the track. if you don't get the song it skips to song two another song that stops at 2:22. final example you have the option to pick the word from 5 choices every song has different choices. when you use keyboard press 1. 2. 3. 4. 5. to select five option of grid on top center of the screen saying (1.up 2.word 3.say 4.insolation 5.drum) keyboard options 1. 2. 3. 4. 5. with keyboard when you make your choice it says are you sure. say yes, if no back to choices and time continues to start ticking to zero then skips to next song of the six on the list
Assistant
Got it! Here's a breakdown of the RPG Maker MZ plugin that will implement your system, including the vocabulary word selection during the rap song's pause. This system will ask the player to select a word when the song stops at a specific point, based on the time of the song. The player will use keyboard keys to select their answers, and the game will proceed based on their choices.
Key Features:
Songs stop at a specific point, and the game asks the player to identify a word.
The player is given 5 vocabulary word choices, and they select using the keyboard (1, 2, 3, 4, or 5).
After making a selection, the game asks if the player is sure, and they can confirm or go back to the choices.
Players earn 1.1x money for a perfect score and 2.1x money if they get two perfect scores in a row.
Songs stop at a specific point, and the game asks the player to identify a word.
The player is given 5 vocabulary word choices, and they select using the keyboard (1, 2, 3, 4, or 5).
After making a selection, the game asks if the player is sure, and they can confirm or go back to the choices.
Players earn 1.1x money for a perfect score and 2.1x money if they get two perfect scores in a row.
can you fuse the last two message to create one great big rap game
Assistant
Sure! Here's the fully integrated system for yourRap Gamein RPG Maker MZ, combining the song stop and vocabulary word choices, along with the rewards for perfect answers. It includes the mechanics for songs pausing at specific times, word choice selection via the keyboard, confirmation of answers, rewards, and progression through multiple songs.
This plugin ensures that when a rap song reaches a certain point, the game will pause and ask the player to select a vocabulary word from a set of five options. Based on whether they select the correct word, they will receive a money reward, with bonus rewards for consecutive correct answers.
@plugindesc A rap game plugin where players identify vocabulary words from song lyrics, earning rewards based on their choices.
@author YourName
@help This plugin pauses the song at specific points to present the player with a vocabulary word. They choose from 5 options and are rewarded for correct answers.
Instructions:
Place this plugin in your RPG Maker MZ project's js/plugins folder.
Enable the plugin in the Plugin Manager.
Define your songs' timings, vocabulary choices, and correct answers in the parameters.
@param SongTimes
@desc List of times for each song where the song will pause to ask a vocabulary question. Format: [songNumber, timeInSeconds]
@default [[1, 76], [2, 142]]
@param WordChoices
@desc List of 5 word choices for each song. Each song has 5 options. Format: [songNumber, wordChoicesArray]
@desc List of the correct word for each song. Format: [songNumber, correctWord]
@default [[1, "drum"], [2, "bass"]]
@param GoldReward
@desc Gold reward for correct answers: 1.1x money for one correct answer, 2.1x money for two correct answers in a row.
@default 110000, 210000
*/
(function() {
var parameters = PluginManager.parameters('RapGameWithVocabularyChoice');
code
User
after talking about the radar when you said all the RPG Maker MZ Script for Rap Show Game and everything under that message. put it together in one final idea for the rap game
Assistant
Sure! Here's a final integration of all your ideas for theRap GameinRPG Maker MZ, bringing together the vocabulary word challenges, song tracking, money rewards, and progression system in one cohesive structure. This includes everything from the radar mechanic, the rap show game setup, vocabulary word choices, to the song playing system.
Final Concept for the Rap Show Game in RPG Maker MZ
Overview:
In theRap Show Game, players will participate in rap battles, complete various music-related tasks, and test their knowledge of the song lyrics and vocabulary through interactive gameplay. The goal is to score perfect answers to unlock rewards, advance through songs, and make money.
The game also includes aRadar System, which tracks the player’s progress, achievements, and song completions. Each song played will stop at a certain point, and the player will be prompted with vocabulary word choices, tested on the lyrics they hear, and given the opportunity to earn in-game currency and rewards based on their performance.
Main Features of the Rap Game:
Song Stop and Vocabulary Question Mechanic:At specific times in a song, the game pauses and asks the player to identify a vocabulary word from the lyrics.The player is given five vocabulary choices and must press a corresponding key (1-5) to select the correct word.Players can earn1.1x money for one correct answeror2.1x money for two correct answers in a row.Incorrect answers lead to skipping the song, and the game moves on to the next track.
At specific times in a song, the game pauses and asks the player to identify a vocabulary word from the lyrics.
The player is given five vocabulary choices and must press a corresponding key (1-5) to select the correct word.
Players can earn1.1x money for one correct answeror2.1x money for two correct answers in a row.
Incorrect answers lead to skipping the song, and the game moves on to the next track.
Radar System:TheRadartracks players’ progression in discovering songs, identifying words, and completing rap battles.Points (Radix Points)are earned each time a player identifies a word correctly, with additional rewards for consecutive correct answers.Gold Rewards: Players earn money based on the number of correct answers they provide during the song breaks. They also receiveBronze, Silver, Gold, Platinum, and on their progress.XP and Levels: Players level up as they progress, unlocking new songs and features like new vocabulary challenges and beat styles.
TheRadartracks players’ progression in discovering songs, identifying words, and completing rap battles.
Points (Radix Points)are earned each time a player identifies a word correctly, with additional rewards for consecutive correct answers.
Gold Rewards: Players earn money based on the number of correct answers they provide during the song breaks. They also receiveBronze, Silver, Gold, Platinum, and on their progress.
User
put all these things you said together: RPG Maker MZ Script for Rap Show Game: RPG Maker for Rap Show Game with Custom Songs and Music Playback: Plugin: RapGameWithVocabularyChoice.js: Final Concept for the Rap Show Game in RPG Maker MZ
Assistant
Certainly! Here's the completeRPG Maker theRap Show Gamethat includes custom songs, music playback, vocabulary choices, and the radar system, all integrated into one cohesivepluginnamedRapGameWithVocabularyChoice.js.
This final script combines theRap Show Game,Song Playback System,Vocabulary Challenges,Gold Rewards, andRadar System.
@desc List of the correct word for each song. Format: [songNumber, correctWord]
@default [[1, "drum"], [2, "bass"]]
@param GoldReward
@desc Gold reward for correct answers: 1.1x money for one correct answer, 2.1x money for two correct answers in a row.
@default 110000, 210000, 110000, 210000
*/
(function() {
var parameters = PluginManager.parameters('RapGameWithVocabularyChoice');
code
User
Picture
Assistant
Here's the visual representation of the rap-themed RPG game interface, combining the dynamic music player, radar system, and vocabulary challenge sections. Let me know if you need any adjustments or further details!
plaintextCopy◆Conditional Branch: If Input is Pressed ('p')
◆Conditional Branch: If Variable [Battery Level] > 1
◆Change Event Opacity: Set Opacity to 100% (or Show Picture for the item)
◆Wait: 900 frames (15 seconds)
◆Change Event Opacity: Set Opacity to 0% (or Hide Picture)
◆Change Variable [Battery Level] by -1
◆End
◆End
Optional: Show Battery Level
You could also display the remaining battery on screen by showing theBattery Level variablethrough aShow Textcommand or even as aHUD element.
Does this setup work for your game mechanics? Let me know if you need further clarification or help!
Condition for Scanning:
Use aConditional Branchto check if the player has skill.
After that, create anotherConditional to check if there are enoughbatteriesto use the scanner.
If the player has the skill and enough battery, trigger the item to become visible and collectible.
Use aConditional Branchto check if the player has skill.
After that, create anotherConditional to check if there are enoughbatteriesto use the scanner.
If the player has the skill and enough battery, trigger the item to become visible and collectible.
3.Battery Consumption
When the scanner is used, it should consume somebattery power.
Use a Common Event for Scanning:In the common event triggered by skill, add a command to reduce the battery by a set amount (e.g., 1/8 of the total battery).You can do this by using theChange Variablecommand to subtract from theBattery Level.
In the common event triggered by skill, add a command to reduce the battery by a set amount (e.g., 1/8 of the total battery).
You can do this by using theChange Variablecommand to subtract from theBattery Level.
Use a Common Event for Scanning:
In the common event triggered by skill, add a command to reduce the battery by a set amount (e.g., 1/8 of the total battery).
You can do this by using theChange Variablecommand to subtract from theBattery Level.
In the common event triggered by skill, add a command to reduce the battery by a set amount (e.g., 1/8 of the total battery).
You can do this by using theChange Variablecommand to subtract from theBattery Level.
4.Item Collection
After the item is visible and the player scans it, they should be able to collect it.
Create the Item Collection Process:Once the item is visible, add aPick Up Itemoption or use aConditional Branchto check if the player steps on the event.If the player interacts with the item, they will automatically collect it and the item will disappear.You can also add a sound effect or message to confirm the collection.
Once the item is visible, add aPick Up Itemoption or use aConditional Branchto check if the player steps on the event.
If the player interacts with the item, they will automatically collect it and the item will disappear.
You can also add a sound effect or message to confirm the collection.
Create the Item Collection Process:
Once the item is visible, add aPick Up Itemoption or use aConditional Branchto check if the player steps on the event.
If the player interacts with the item, they will automatically collect it and the item will disappear.
You can also add a sound effect or message to confirm the collection.
Once the item is visible, add aPick Up Itemoption or use aConditional Branchto check if the player steps on the event.
If the player interacts with the item, they will automatically collect it and the item will disappear.
You can also add a sound effect or message to confirm the collection.
5.Example Common Event for Scanning
Here’s an example of what theCommon theScan skillcould look like:
plaintextCopy◆Conditional Branch: If Actor [Player] has Skill [Scan]
◆Conditional Branch: If Variable [Battery Level] > 1
◆Set Event Opacity: Set Opacity to 100% (to make the item visible)
◆Change Variable [Battery Level] by -1 (or 1/8, depending on your scale)
◆Wait: 600 frames (example: 10 seconds)
◆Set Event Opacity: Set Opacity to 0% (to hide the item again)
◆Else
◆Show Text: "Not enough battery!"
◆End
◆End
This code checks if the player has and if there’s enoughbattery. If the conditions are met, it makes the item visible for a short time (like 10 seconds) and then hides it again. The battery decreases with each scan.
6.Optional: Make the Battery Deplete Over Time
You can also add a system where the battery depletes over time while is active (if you want the scanner to drain even when the item isn’t actively being scanned).
Use that checks if the scanner is activated and drains battery gradually every few seconds.
Use that checks if the scanner is activated and drains battery gradually every few seconds.
Recap of Steps:
Create the Scan Skillin the Database.
Set up a Common Eventthat triggers when the skill is used.
Check for allowing the item to become visible and collectible.
Reduce Batteryafter each scan (e.g., by 1/8).
Make the Item Visible and Collectiblefor a set time.
Create the Scan Skillin the Database.
Set up a Common Eventthat triggers when the skill is used.
Check for allowing the item to become visible and collectible.
Reduce Batteryafter each scan (e.g., by 1/8).
Make the Item Visible and Collectiblefor a set time.
Does this setup cover your needs for theItem ? Let me know if you'd like any additional details or adjustments!
If greater than 0, the scanner will function normally, making the item visible and then hiding it after a set time (e.g., 10 seconds).
If , theScanner Statusis set tobroken(variable set to 1), and a message will show that the scanner is no longer working.
4.Preventing Scanning When the Scanner is Broken
Now, you need to prevent the player from using the scanner when it's broken. This can be done by checking theScanner Statusbefore allowing them to use .
plaintextCopy◆Conditional Branch: If Variable [Scanner Status] = 1 (Broken)
◆Show Text: "The scanner is broken! You need to repair it!"
◆End
◆Else
◆Proceed with Scanning...
◆End
5.Repairing the Scanner
To allow the player to repair the scanner, you can create an event (like a shop or a special NPC) that restores theScanner Statusto working (variable set to 0) for a price or by using a specific item.
Example Repair Event:
Create aRepair NPCorItemthat repairs the scanner.
If the player has the right item or currency (e.g., a specificrepair kitorgold), set to 0 (working).
Create aRepair NPCorItemthat repairs the scanner.
If the player has the right item or currency (e.g., a specificrepair kitorgold), set to 0 (working).
plaintextCopy◆Conditional Branch: If Actor [Player] has Item [Repair Kit]
◆Change Variable [Scanner Status] = 0 (set scanner to working)
◆Show Text: "The scanner has been repaired!"
◆Remove Item [Repair Kit] (remove the repair item after use)
◆Else
◆Show Text: "You need a Repair Kit to fix the scanner!"
◆End
Alternatively, you could have a currency-based repair system:
plaintextCopy◆Conditional Branch: If Actor [Player] has [500 Gold]
◆Change Variable [Scanner Status] = 0 (set scanner to working)
◆Change Gold by -500 (subtract the cost of repair)
◆Show Text: "The scanner has been repaired!"
◆Else
◆Show Text: "You don’t have enough gold to repair the scanner."
◆End
6.Optional: Battery Recharge Mechanic
If you want to make the battery rechargeable instead of the scanner breaking, you could introduce a system where the player can recharge the battery at certain locations (e.g., at a specialcharging station).
that restores a set amount ofbattery powerwhen the player interacts with it.
Use theChange Variablecommand to add to theBattery Level.
that restores a set amount ofbattery powerwhen the player interacts with it.
Use theChange Variablecommand to add to theBattery Level.
Recap of the Process:
Create Variables:Battery Level(tracks battery power).Scanner Status(tracks whether the scanner is working or broken).
Battery Level(tracks battery power).
Scanner Status(tracks whether the scanner is working or broken).
Scanning Event:Check if the battery is above 0 before allowing the scan to happen. If not, set the scanner to "broken."
Check if the battery is above 0 before allowing the scan to happen. If not, set the scanner to "broken."
Prevent Scanning When Broken:Use aConditional Branchto stop the player from using the scanner if theScanner Statusis broken.
Use aConditional Branchto stop the player from using the scanner if theScanner Statusis broken.
Repair Mechanic:Add arepair eventwhere the player can fix the scanner using a special item or currency.
Add arepair eventwhere the player can fix the scanner using a special item or currency.
Optional Battery Recharge:Allow the player to recharge the battery at specific locations or events.
Allow the player to recharge the battery at specific locations or events.
Create Variables:
Battery Level(tracks battery power).
Scanner Status(tracks whether the scanner is working or broken).
Battery Level(tracks battery power).
Scanner Status(tracks whether the scanner is working or broken).
Scanning Event:
Check if the battery is above 0 before allowing the scan to happen. If not, set the scanner to "broken."
Check if the battery is above 0 before allowing the scan to happen. If not, set the scanner to "broken."
Prevent Scanning When Broken:
Use aConditional Branchto stop the player from using the scanner if theScanner Statusis broken.
Use aConditional Branchto stop the player from using the scanner if theScanner Statusis broken.
Repair Mechanic:
Add arepair eventwhere the player can fix the scanner using a special item or currency.
Add arepair eventwhere the player can fix the scanner using a special item or currency.
Optional Battery Recharge:
Allow the player to recharge the battery at specific locations or events.
Allow the player to recharge the battery at specific locations or events.
Does this system sound like what you had in mind? Let me know if you need any adjustments or further assistance!
If the player doesn’t have theScanskill or if the battery is dead, it will display the appropriate message.
4.Battery Management and Scanner Breakage
You’ll manage theBattery Leveland introduce the mechanic where the scanner can break if the battery runs out. Thescanner repaircosts 500 gold and is done at a repair station.
Scanner Breakage and Repair Mechanic:
Scanner Failure: When Levelhits 0, set theScanner Statusto "broken."
Repair Mechanism: At a repair station, you can have the player pay 500 gold to restore the scanner for 5 more minutes of use.
Scanner Failure: When Levelhits 0, set theScanner Statusto "broken."
Repair Mechanism: At a repair station, you can have the player pay 500 gold to restore the scanner for 5 more minutes of use.
Here’s a way to manage this:
Common Event for Using the Scanner (With Failure Mechanism):
plaintextCopy◆Conditional Branch: If Actor [Player] has Skill [Scan]
◆Conditional Branch: If Variable [Battery Level] > 0
◆Change Variable [Battery Level] by -1 (consume 1 battery)
◆Set Event Opacity: Set Opacity to 100% (item visible)
◆Wait: 600 frames (10 seconds for scanning)
◆Collect Item [item] (collect the item from the event)
◆Set Event Opacity: Set Opacity to 0% (item invisible again)
◆Else
◆Change Variable [Scanner Status] = 1 (Set scanner to broken)
◆Show Text: "Battery is dead! The scanner is broken!"
◆End
◆Else
◆Show Text: "You need the Knowledge skill to use the scanner."
◆End
When , theScanner be set tobroken, and it won’t function anymore.
plaintextCopy◆Conditional Branch: If Actor [Player] has 500 Gold
◆Change Gold by -500 (subtract gold for repair)
◆Change Variable [Scanner Status] = 0 (set scanner to working)
◆Change Variable [Battery Level] = 8 (full battery)
◆Show Text: "The scanner has been repaired and recharged!"
◆Else
◆Show Text: "You don't have enough gold to repair the scanner."
◆End
This repair event checks if the player . If they do, it will:
Set theScanner Statusto working (value 0).
Fully recharge theBattery Levelto 8 (or whatever your full battery value is).
Set theScanner Statusto working (value 0).
Fully recharge theBattery Levelto 8 (or whatever your full battery value is).
5.Knowledge Skill Requirement
TheKnowledgeskill will be required to use . You can create this skill in theDatabaseand make it apassive skillthat allows players to unlock the scanner's functionality.
Setting up the Knowledge Skill:
Go to >Skillsand create a new skill calledKnowledge.
Make it apassive skillor just alearnable skill.
Use aConditional Branchin the Common Event for scanning to check if the player has this skill before allowing them to use the scanner.
Go to >Skillsand create a new skill calledKnowledge.
Make it apassive skillor just alearnable skill.
Use aConditional Branchin the Common Event for scanning to check if the player has this skill before allowing them to use the scanner.
6.Recap of the System:
Pressing "P": The player can uncover invisible items for 15 seconds, consuming 1/8 battery each time.
Item Scanner: The player uses skillto make items visible and collect them. This requiresbatteryand theKnowledge skill.
Scanner Breakage: If the battery runs out, the scanner breaks, and it cannot be used unless repaired. TheScanner Statusis set to broken when the battery is 0.
Repair Mechanism: The player can repair the scanner and recharge the battery for 5 minutes of use.
Knowledge Skill: Required to use the scanner.
Pressing "P": The player can uncover invisible items for 15 seconds, consuming 1/8 battery each time.
Item Scanner: The player uses skillto make items visible and collect them. This requiresbatteryand theKnowledge skill.
Scanner Breakage: If the battery runs out, the scanner breaks, and it cannot be used unless repaired. TheScanner Statusis set to broken when the battery is 0.
Repair Mechanism: The player can repair the scanner and recharge the battery for 5 minutes of use.
Knowledge Skill: Required to use the scanner.
This setup should allow for a rich and immersiveitem scanningandbattery managementexperience. Let me know if you’d like to fine-tune any parts of this system!
◆Set Variable [Item Rarity] to Random(1, 9) (Determine item rarity from 1 to 9 stars)
◆Set Variable [Item Description] to "This is an item with rarity [Item Rarity] stars."
◆Set Variable [Item Cost] to Random(10, 1000) (Random cost for the item)
◆Show Text: "Item Rarity: [Item Rarity] stars"
◆Show Text: "Description: [Item Description]"
◆Show Text: "Cost: [Item Cost] gold"
◆Conditional Branch: If Variable [Level 2/4] >= 2
◆Show Text: "You have Level 2/4, there is a chance you may discover multiples!"
◆Conditional Branch: If Variable [Item Rarity] > 6
◆Show Text: "Rare item detected! Lower chance of multiples."
◆Conditional Branch: If Random(1, 100) < 25 (25% chance of getting multiples for high rarity)
◆Show Text: "Multiple items discovered!"
◆Collect Item [item] (Give multiple of the item)
◆Else
◆Show Text: "Single item discovered."
◆Collect Item [item] (Give 1 item)
◆Else
◆Show Text: "Common item detected! Higher chance of multiples."
◆Conditional Branch: If Random(1, 100) < 50 (50% chance of getting multiples for low rarity)
◆Show Text: "Multiple items discovered!"
◆Collect Item [item] (Give multiple of the item)
◆Else
◆Show Text: "Single item discovered."
◆Collect Item [item] (Give 1 item)
◆End
◆Else
◆Show Text: "No multiples found due to low skill level."
◆End
◆Else
◆Show Text: "Battery is dead! The scanner doesn't work."
◆End
◆Else
◆Show Text: "You need the Knowledge skill to use the scanner."
◆End
4.Item Rarity and Multiples Mechanics:
Item Rarity: This will be assigned randomly and 9using theRandom(1, 9)function.If the item rarity is6 or higher, it will have alower chance of giving multiples.If the item rarity is5 or lower, it has ahigher chance of giving multiples.
If the item rarity is6 or higher, it will have alower chance of giving multiples.
If the item rarity is5 or lower, it has ahigher chance of giving multiples.
Level 2/4:The player must beLevel 2 or 4to unlock the chance to getmultiple items.Level 2/4will increase the chance of discoveringmultiple itemsdepending on the star rating:Forrarity 1-5: Higher chance ofmultiples(50% for 1-5 star items).Forrarity 6-9: Lower chance ofmultiples(25% for 6-9 star items).The chances can be adjusted to fit your desired difficulty and progression. For example, you could modify the random check to make the chances dynamic based on the player’slevelor specific item types.
The player must beLevel 2 or 4to unlock the chance to getmultiple items.
Level 2/4will increase the chance of discoveringmultiple itemsdepending on the star rating:Forrarity 1-5: Higher chance ofmultiples(50% for 1-5 star items).Forrarity 6-9: Lower chance ofmultiples(25% for 6-9 star items).
Forrarity 1-5: Higher chance ofmultiples(50% for 1-5 star items).
Forrarity 6-9: Lower chance ofmultiples(25% for 6-9 star items).
Item Rarity: This will be assigned randomly and 9using theRandom(1, 9)function.
If the item rarity is6 or higher, it will have alower chance of giving multiples.
If the item rarity is5 or lower, it has ahigher chance of giving multiples.
If the item rarity is6 or higher, it will have alower chance of giving multiples.
If the item rarity is5 or lower, it has ahigher chance of giving multiples.
Level 2/4:
The player must beLevel 2 or 4to unlock the chance to getmultiple items.
Level 2/4will increase the chance of discoveringmultiple itemsdepending on the star rating:Forrarity 1-5: Higher chance ofmultiples(50% for 1-5 star items).Forrarity 6-9: Lower chance ofmultiples(25% for 6-9 star items).
Forrarity 1-5: Higher chance ofmultiples(50% for 1-5 star items).
Forrarity 6-9: Lower chance ofmultiples(25% for 6-9 star items).
The player must beLevel 2 or 4to unlock the chance to getmultiple items.
Level 2/4will increase the chance of discoveringmultiple itemsdepending on the star rating:
Forrarity 1-5: Higher chance ofmultiples(50% for 1-5 star items).
Forrarity 6-9: Lower chance ofmultiples(25% for 6-9 star items).
Forrarity 1-5: Higher chance ofmultiples(50% for 1-5 star items).
Forrarity 6-9: Lower chance ofmultiples(25% for 6-9 star items).
The chances can be adjusted to fit your desired difficulty and progression. For example, you could modify the random check to make the chances dynamic based on the player’slevelor specific item types.
5.Item Description and Cost:
The item’sdescriptionandcostare dynamically displayed after the scan. You can make these details more specific by adding different descriptions and costs for different item types. Here's a sample system for adding more variety:
plaintextCopy◆Set Variable [Item Description] to "A powerful [Item Name], perfect for adventurers."
◆Set Variable [Item Cost] to 500 (or any value based on item type)
You can add multiple item descriptions and costs based onitem types(weapons, armor, consumables) or rarity for more variety.
6.Leveling System for Multiple Items:
The player’sLevel(which could be tracked as a simplePlayer ) will affect thechance of multiples. Here's a simple check forLevel 2/4:
plaintextCopy◆Conditional Branch: If Actor [Player] Level >= 2
◆Show Text: "You are at Level 2 or 4, so you may get multiples!"
◆Continue with multiple item check
◆Else
◆Show Text: "You need to reach Level 2 or 4 to get multiple items."
◆End
7.Scanner Battery and Repair:
Make sure to tie the battery consumption and potentialscanner breakageinto this system. If the battery runs out, the player can’t use the scanner anymore until repaired, just like in the previous setup.
8.Final Workflow:
Pressing buttonwill trigger theItem Discover and Use Scanner.
It will check theitem rarity, reveal thedescription, andcost.
If the player isLevel 2 or 4, they will have a chance of discoveringmultiple itemsbased on the item’s rarity.
If thebattery is low, it will stop the scan until the battery is recharged or replaced.
Pressing buttonwill trigger theItem Discover and Use Scanner.
It will check theitem rarity, reveal thedescription, andcost.
If the player isLevel 2 or 4, they will have a chance of discoveringmultiple itemsbased on the item’s rarity.
If thebattery is low, it will stop the scan until the battery is recharged or replaced.
Recap of Features:
descriptions, rarity, and cost.
Scanner Functionality: Uses battery and requires skill.
Multiples Based on Level: Level 2 or 4 increases the chance of multiples based on item rarity.
Scanner Breakage: If the battery runs out, the scanner can’t be used until repaired.
descriptions, rarity, and cost.
Scanner Functionality: Uses battery and requires skill.
Multiples Based on Level: Level 2 or 4 increases the chance of multiples based on item rarity.
Scanner Breakage: If the battery runs out, the scanner can’t be used until repaired.
Let me know if you need any adjustments or further details on implementing this system!
As the player discovers items with theDiscover skill, they earnRadix Points.
For every 340 items discovered, the player earns aClass Power increase(e.g., +1 Class Power).
HigherClass Powergives the player a better chance to discovermultiplesfrom the scanner.
Example:
Radix Points: If the player has340 Radix Points, they haveScanner Class Power 1.
Class Power 1gives them ahigher chance of multiplesfor lower-star items (1-5 stars).
Class Power 2(680 Radix Points) increases the chances of discoveringmultiplesfor mid-tier items (6-7 stars), and so on.
Radix Points: If the player has340 Radix Points, they haveScanner Class Power 1.
Class Power 1gives them ahigher chance of multiplesfor lower-star items (1-5 stars).
Class Power 2(680 Radix Points) increases the chances of discoveringmultiplesfor mid-tier items (6-7 stars), and so on.
5.Item Discovery Process:
Common Event for Item Discovery:
The scanner checks therarityof the item, and if the player hasScanner Class Powerfrom accumulatedRadix Points, it may give themmultiplesbased on the item’s rarity.
plaintextCopy◆Conditional Branch: If Actor [Player] has Skill [Scan]
◆Conditional Branch: If Variable [Battery Level] > 0
◆Change Variable [Battery Level] by -1 (consume 1 battery)
◆Show Text: "Scanning item..."
◆Wait: 600 frames (10 seconds for scanning)
code
◆Set Variable [Item Rarity] to Random(1, 9) (Determine item rarity from 1 to 9 stars)
◆Set Variable [Item Description] to "This is an item with rarity [Item Rarity] stars."
◆Set Variable [Item Cost] to Random(10, 1000) (Random cost for the item)
◆Show Text: "Item Rarity: [Item Rarity] stars"
◆Show Text: "Description: [Item Description]"
◆Show Text: "Cost: [Item Cost] gold"
◆Set Variable [Scanner Class Power] to Variable [Radix Points] / 340 (Class Power based on Radix Points)
◆Conditional Branch: If Variable [Scanner Class Power] >= 1
◆Show Text: "Scanner Class Power activated! You have a higher chance of discovering multiples."
◆Conditional Branch: If Variable [Item Rarity] <= 5
◆Show Text: "Common item detected! Higher chance of multiples."
◆Conditional Branch: If Random(1, 100) < 50 (50% chance of getting multiples for lower rarity items)
◆Show Text: "Multiple items discovered!"
◆Collect Item [item] (Give multiple of the item)
◆Else
◆Show Text: "Single item discovered."
◆Collect Item [item] (Give 1 item)
◆Else If Variable [Item Rarity] > 5 and Variable [Item Rarity] <= 7
◆Show Text: "Uncommon item detected! Medium chance of multiples."
◆Conditional Branch: If Random(1, 100) < 30 (30% chance of getting multiples for mid-range rarity)
◆Show Text: "Multiple items discovered!"
◆Collect Item [item] (Give multiple of the item)
◆Else
◆Show Text: "Single item discovered."
◆Collect Item [item] (Give 1 item)
◆Else If Variable [Item Rarity] > 7
◆Show Text: "Rare item detected! Lower chance of multiples."
◆Conditional Branch: If Random(1, 100) < 10 (10% chance of getting multiples for high rarity items)
◆Show Text: "Multiple items discovered!"
◆Collect Item [item] (Give multiple of the item)
◆Else
◆Show Text: "Single item discovered."
◆Collect Item [item] (Give 1 item)
◆End
◆Else
◆Show Text: "Scanner Class Power is too low. You cannot discover multiples yet."
◆End
◆Else
◆Show Text: "Battery is dead! The scanner doesn't work."
◆End
◆Else
◆Show Text: "You need the Knowledge skill to use the scanner."
◆End
6.Scanner Class Power Breakdown:
Radix Pointsincrease as the playerdiscovers itemswith theDiscover skill.
Scanner Class Powercan be leveled up after discovering340 items. For every 340 items, you gain an additionalClass Powerpoint.
Higher Class Powerincreases the chance of discoveringmultiplesas the player unlocksClass Power 1, 2, etc.
Radix Pointsincrease as the playerdiscovers itemswith theDiscover skill.
Scanner Class Powercan be leveled up after discovering340 items. For every 340 items, you gain an additionalClass Powerpoint.
Higher Class Powerincreases the chance of discoveringmultiplesas the player unlocksClass Power 1, 2, etc.
7.Radix Points and Discover Skill:
Radix Pointsare earned whenever the playerdiscovers itemsusing theDiscover skill.
The player needs to unlock theDiscover skillto start accumulatingRadix Points.
Every340 items discoveredwill increaseScanner Class Power, improving the chance of findingmultiples.
earned whenever the playerdiscovers itemsusing theDiscover skill.
The player needs to unlock theDiscover skillto start accumulatingRadix Points.
Every340 items discoveredwill increaseScanner Class Power, improving the chance of findingmultiples.
8.Item Discovery Results:
the item influences the chance of discoveringmultiples, withlower rarity itemshaving a higher chance andhigher rarity itemshaving a lower chance.
Scanner Class PowerandRadix Pointswill directly influence the probability of discoveringmultiples.
the item influences the chance of discoveringmultiples, withlower rarity itemshaving a higher chance andhigher rarity itemshaving a lower chance.
Scanner Class PowerandRadix Pointswill directly influence the probability of discoveringmultiples.
9.Final :
The playerscans itemsusing theItem Discover and Use Scanner, which checks the item’srarity, reveals itsdescriptionandcost, and calculates the chance of discoveringmultiples.
The player’sScanner Class Power, based on accumulatedRadix Points, determines how often they getmultiples.
As the player discovers more items, theirScanner Class Powerincreases, giving them better chances to findmultiplesfrom their scans.
The playerscans itemsusing theItem Discover and Use Scanner, which checks the item’srarity, reveals itsdescriptionandcost, and calculates the chance of discoveringmultiples.
The player’sScanner Class Power, based on accumulatedRadix Points, determines how often they getmultiples.
As the player discovers more items, theirScanner Class Powerincreases, giving them better chances to findmultiplesfrom their scans.
This updated version integrates theScanner Class Powerbased onRadix Points, replacing the level-based mechanic. Let me know if you’d like any further adjustments!
You can use theItem Needed Radarto display the items the player currently needs for a quest or specific activity, such ascollecting certain itemsto complete a puzzle, trade, or progress in the story.
Item Needed Radarcould be activated by theDiscover skillor automatically show in the inventory or quest log.
When the player scans an area or opens an item, this radar would highlight whichitems are neededand how many of each type are required.
Item Needed Radarcould be activated by theDiscover skillor automatically show in the inventory or quest log.
When the player scans an area or opens an item, this radar would highlight whichitems are neededand how many of each type are required.
Example ofItem Needed RadarMechanics:
Visual Feedback: As the player collects or discovers items, theItem Needed track whichitemsstill need to be gathered.
Quest Progression: For quests involving item collection (e.g., “Collect 5 Mystic Stones”), this radar would keep track of how many items the player has and how many more are needed.
Radar Alerts: Alerts or notifications will pop up when the radar detects aneeded itemnearby or when the player discovers something that counts toward completing a quest.
Visual Feedback: As the player collects or discovers items, theItem Needed track whichitemsstill need to be gathered.
Quest Progression: For quests involving item collection (e.g., “Collect 5 Mystic Stones”), this radar would keep track of how many items the player has and how many more are needed.
Radar Alerts: Alerts or notifications will pop up when the radar detects aneeded itemnearby or when the player discovers something that counts toward completing a quest.
4.Combining the Two(Radar + Scanner Power):
be tied to both theScanner Power Radar(showingScanner Class Power) and theItem Needed Radar(showingneeded items).
As the player uses theItem Discover and Use Scanner, theScanner Power Radarupdates with theClass Powergained throughRadix theBattery Indicatorwill decrease.
TheItem Needed automatically activate to showitems that are requiredfor quests, discoveries, or inventory completion.
be tied to both theScanner Power Radar(showingScanner Class Power) and theItem Needed Radar(showingneeded items).
As the player uses theItem Discover and Use Scanner, theScanner Power Radarupdates with theClass Powergained throughRadix theBattery Indicatorwill decrease.
TheItem Needed automatically activate to showitems that are requiredfor quests, discoveries, or inventory completion.
5.Integration Example:
When Using the Scanner:TheScanner Power Radarshows your currentClass Powerand how it's influencing your discovery chances.TheItem Needed Radarhighlights specific items you're actively looking for in the world. If you're near an item that’s necessary for your quest, it will light up on the radar.
TheScanner Power Radarshows your currentClass Powerand how it's influencing your discovery chances.
TheItem Needed Radarhighlights specific items you're actively looking for in the world. If you're near an item that’s necessary for your quest, it will light up on the radar.
Using the Radar: guide the player torare itemsthat are harder to find based on theScanner Power Level. As , the radar becomes more efficient at pinpointingneeded itemsfor both quests and item discovery.
guide the player torare itemsthat are harder to find based on theScanner Power Level. As , the radar becomes more efficient at pinpointingneeded itemsfor both quests and item discovery.
When Using the Scanner:
TheScanner Power Radarshows your currentClass Powerand how it's influencing your discovery chances.
TheItem Needed Radarhighlights specific items you're actively looking for in the world. If you're near an item that’s necessary for your quest, it will light up on the radar.
TheScanner Power Radarshows your currentClass Powerand how it's influencing your discovery chances.
TheItem Needed Radarhighlights specific items you're actively looking for in the world. If you're near an item that’s necessary for your quest, it will light up on the radar.
Using the Radar:
guide the player torare itemsthat are harder to find based on theScanner Power Level. As , the radar becomes more efficient at pinpointingneeded itemsfor both quests and item discovery.
guide the player torare itemsthat are harder to find based on theScanner Power Level. As , the radar becomes more efficient at pinpointingneeded itemsfor both quests and item discovery.
6.Final Workflow:
The player canuse the scannerto uncoveritemsor check theirrarity.
TheScanner Power Radarwill update to reflect the currentClass Powerbased on accumulatedRadix Points.
TheItem Needed Radarwill show items required for quests or progress, giving the player additional guidance as they explore or scan for rare materials.
Scanner Batteryusage will deplete with each scan, and theRadarcan also visually show thebattery status, ensuring the player stays aware of their resources.
The player canuse the scannerto uncoveritemsor check theirrarity.
TheScanner Power Radarwill update to reflect the currentClass Powerbased on accumulatedRadix Points.
TheItem Needed Radarwill show items required for quests or progress, giving the player additional guidance as they explore or scan for rare materials.
Scanner Batteryusage will deplete with each scan, and theRadarcan also visually show thebattery status, ensuring the player stays aware of their resources.
Let me know if you’d like a more specific breakdown or code implementation for this feature!
23 Songs: The player must choose 6 songs from a list of 23 to win 200,000 gold.
Correct Songs: The right songs are related to a rap tour expedition.
Prizes:
All 6 correct songs = 200,000 gold.
All wrong songs = 5,000 gold.
RPG Maker MZ Implementation
Step 1: Prepare Your Assets
23 Songs: Ensure you have 23 music tracks in your game's audio files.
Variables: Create variables to track the player's song selections and correct answers.
Switches: Use switches to manage game states (e.g., whether the player has won or lost).
Step 2: Set Up Variables
Variables:
Song1, , Song3, ..., (to represent each song).
CorrectSongs (to track how many correct songs the player has chosen).
PlayerSelection (to store the player's current song choice).
Switches:
GameOver (to end the game after the player makes 6 selections).
Win (to check if the player has won).
Step 3: Create the Event for Song Selection
This event will allow the player to select 6 songs from a list of 23.
Create a Common Event:
Name: Song Selection.
Trigger: None (will be called manually).
Inside the Common Event:
Use Show Choices to display the 23 song options.
For each choice, assign a variable (PlayerSelection) to store the selected song.
Example:
plaintext
Copy
Show Choices: Song1, , Song3, ..., Song23
When Song1 is selected:
Set Variable: PlayerSelection = 1
When
Win: This will trigger the win condition if all 6 correct songs are selected.
Fail: This will trigger if the player picks all wrong songs.
Step 3: Create Common Events for Song Selection
The game will have 15 choices, each with 3 song options. The player needs to select the correct songs to win. Let’s structure how this works:
Song Selection Event(Common Event)
Trigger: This can be triggered either by a button press or a dialogue option, depending on how you want it to flow.
Trigger: This can be triggered either by a button press or a dialogue option, depending on how you want it to flow.
Set Up Choices for Song Selection:Display 3 songs per choice, usingShow Choicescommand.After the player selects a song, set thePlayerSelectionvariable.
Display 3 songs per choice, usingShow .
After the player selects a song, set thePlayerSelectionvariable.
Check the Selection:Compare the selected song to thecorrect songsstored in your game (you can use a variable or set up an array with correct song numbers).If the player picks the correct song, increment theCorrectSongsvariable.If the player picks a wrong song, add a counter or simply continue to the next choice.
Compare the selected song to thecorrect songsstored in your game (you can use a variable or set up an array with correct song numbers).
If the player picks the correct song, increment theCorrectSongsvariable.
If the player picks a wrong song, add a counter or simply continue to the next choice.
Set Up Choices for Song Selection:
Display 3 songs per choice, usingShow .
After the player selects a song, set thePlayerSelectionvariable.
Display 3 songs per choice, usingShow .
After the player selects a song, set thePlayerSelectionvariable.
Check the Selection:
Compare the selected song to thecorrect songsstored in your game (you can use a variable or set up an array with correct song numbers).
If the player picks the correct song, increment theCorrectSongsvariable.
If the player picks a wrong song, add a counter or simply continue to the next choice.
Compare the selected song to thecorrect songsstored in your game (you can use a variable or set up an array with correct song numbers).
If the player picks the correct song, increment theCorrectSongsvariable.
If the player picks a wrong song, add a counter or simply continue to the next choice.
plaintextCopyShow Choices: "Song 1", "Song 2", "Song 3", ..., "Song 23"
When Song 1 is selected:
Set Variable: PlayerSelection = 1
Check if is Correct
If Correct:
Increase Variable: CorrectSongs by 1
Else:
Continue to Next Choice
Song Check Logic(for each choice)
For each of the 6 selections the player makes, you’ll need to check if they picked the correct song and update the variables accordingly.
plaintextCopyShow Choices: "Song 1", "Song 2", "Song 3"
When Song 1 is selected:
Set Variable: PlayerSelection = 1
Check Correctness
If PlayerSelection == CorrectSong1
Increase Variable: CorrectSongs by 1
Else:
Do nothing (wrong choice)
Repeat this for all 15 rounds of choices. Ensure that the total correct songs match the right amount to win the prize.
Step 4: Win & Fail Conditions
After the player makes their selections, you’ll check if they won or lost:
Win Condition:
IfCorrectSongs == 6, the player wins the grand prize of 200,000 gold.
plaintextCopyIf Variable: CorrectSongs == 6
Show Text: "Congratulations! You've won 200,000 gold!"
Gain Gold: 200,000
Set Switch: Win = ON
End Game / Transition to Next Scene
Fail Condition:
If the player selects all wrong songs (you can track this via a counter or variable), they get a consolation prize of 5,000 gold.
plaintextCopyIf Variable: CorrectSongs == 0
Show Text: "Sorry, you picked all the wrong songs! You get 5,000 gold."
Gain Gold: 5,000
Set Switch: Fail = ON
End Game / Transition to Next Scene
Step 5: Scandisk & Radix Points Clues
As part of the game, players can useScandiskandRadix clues to help select the correct songs.
Scandisk: These can be used to reveal hidden hints about which songs are correct.
Radix Points: These could serve as additional hints. For example, they might highlight or identify which songs are correct in a given round.
Scandisk: These can be used to reveal hidden hints about which songs are correct.
Radix Points: These could serve as additional hints. For example, they might highlight or identify which songs are correct in a given round.
You can implement them as follows:
Show Clues Before Selections:If the player has enough Scandisk/ Radix Points, you can show clues like:"The correct song has a tempo of 100 BPM.""The song features a guest rapper."
"The correct song has a tempo of 100 BPM."
"The song features a guest rapper."
Checking if Clue is Used:If the player uses the clue, you can decrease the amount of Scandisk/ Radix Points they have and display the clue.
If the player uses the clue, you can decrease the amount of Scandisk/ Radix Points they have and display the clue.
Show Clues Before Selections:If the player has enough Scandisk/ Radix Points, you can show clues like:
"The correct song has a tempo of 100 BPM."
"The song features a guest rapper."
"The correct song has a tempo of 100 BPM."
"The song features a guest rapper."
Checking if Clue is Used:
If the player uses the clue, you can decrease the amount of Scandisk/ Radix Points they have and display the clue.
If the player uses the clue, you can decrease the amount of Scandisk/ Radix Points they have and display the clue.
plaintextCopyIf Radix Points >= 1
Show Text: "Hint: The correct song has a 90 BPM tempo."
Decrease Radix Points by 1
Step 6: Final Wrap-Up & Reward
Once the game is completed, depending on whether the player wins or loses, show the appropriate message and reward. You can also display the player’s totalRadix Pointsearned throughout the game.
Example of Final Event Flow:
Player Makes Song Selections: 15 rounds of 3 choices.
Track Correct and Wrong Answers: UpdateCorrectSongswith each selection.
At the End of 15 Selections: Check if the player has selected the correct songs and award the prize (200,000 gold or 5,000 gold).
Player Makes Song Selections: 15 rounds of 3 choices.
Track Correct and Wrong Answers: UpdateCorrectSongswith each selection.
At the End of 15 Selections: Check if the player has selected the correct songs and award the prize (200,000 gold or 5,000 gold).
By following these steps, you’ll have a fully functioning rap show game with song choices, clues, and rewards integrated into RPG Maker MZ. Let me know if you need any more assistance with this!
you also have to have the (items music chip) so the song to play on your phone. make a 23 song rage titles for he songs to and make a plugin with that
Here’s a custom plugin for RPG Maker MZ that includes:
23 song titles for your rap show game (rage-themed titles).
A system to select 6 songs from the list of 23.
Logic to check if the selected songs are correct and award gold accordingly.
Music playback functionality for the songs using the (items music chip) so players can listen to the songs on their phone.
RPG Maker for Rap Show Game with Song Titles and Music
Plugin Name: RapShowGameWithMusic.js
javascript
Copy
/*:
@plugindesc A custom plugin for a rap show game where the player selects 6 songs from a list of 23 rage-themed songs. Includes music playback.
@author YourName
@help This plugin allows players to select 6 songs from a list of 23 rage-themed songs. If all 6 songs are correct, the player wins 200,000 gold. If all songs are wrong, the player wins 5,000 gold.
Instructions:
Place this plugin in your RPG Maker MZ project's js/plugins folder.
Enable the plugin in the Plugin Manager.
Use the following script calls to start the game:
RapShowGame.start();
Ensure your audio files are named according to the song titles (e.g., "LandOfRage.ogg").
@param CorrectSongs
@desc List of correct song IDs (comma-separated). Example: 1, 3, 5, 7, 9, 11
@default 1,3,5,7,9,11
*/
(function() {
code
var parameters = PluginManager.parameters('RapShowGameWithMusic');
var correctSongs = parameters['CorrectSongs'].split(',').map(Number);
// Define 23 rage-themed song titles
var songTitles = [
"Land of Rage", "Burning Fury", "Anger Ascension", "Rage Revolution", "Chaos Collision",
"Furious Beatdown", "Riot Rhythms", "Madness Manifest", "Wrath Waves", "Outburst Anthem",
"Tantrum Territory", "Rage Refrain", "Inferno Intensity", "Bl
so i will be putting my own songs in there for the rap gagme
Got it! You’ll be using your own songs for the rap game. Below is the custom plugin for RPG Maker MZ that allows you to integrate your own songs into the game. The plugin will:
Allow you to define your own 23 song titles.
Let players select 6 songs from the list.
Check if the selected songs are correct and award 200,000 gold for all correct songs or 5,000 gold for all wrong songs.
Include music playback functionality so players can listen to your songs during the game.
RPG Maker for Rap Show Game with Custom Songs
Plugin Name: RapShowGameCustomSongs.js
javascript
Copy
/*:
@plugindesc A custom plugin for a rap show game where the player selects 6 songs from a list of 23 custom songs. Includes music playback.
@author YourName
@help This plugin allows players to select 6 songs from a list of 23 custom songs. If all 6 songs are correct, the player wins 200,000 gold. If all songs are wrong, the player wins 5,000 gold.
Instructions:
Place this plugin in your RPG Maker MZ project's js/plugins folder.
Enable the plugin in the Plugin Manager.
Use the following script calls to start the game:
RapShowGame.start();
Add your custom song titles and audio files to the plugin parameters.
@param SongTitles
@desc List of 23 custom song titles (comma-separated). Example: Song1,Song2,Song3
@default Song1,Song2,Song3
@param CorrectSongs
@desc List of correct song IDs (comma-separated). Example: 1, 3, 5, 7, 9, 11
@default 1,3,5,7,9,11
*/
(function() {
code
var parameters = PluginManager.parameters('RapShowGameCustomSongs');
var songTitles = parameters['SongTitles'].split(',');
var correctSongs = parameters['CorrectSongs'].split(',').map(Number);
var RapShowGame = {
selectedSongs: [], // Stores the player's selected songs
maxSelections: 6, // Maximum number of songs the player can select
// Starts the game
start: function() {
this.selectedSongs = []; // Reset selected songs
this.showSongSelection();
},
// Displays the song selection menu
showSongSelection: function() {
let choices = songTitles;
SceneManager.push(Scene_Message);
SceneManager.prepareNextScene([]);
SceneManager.scene().setChoices(choices, 0, this.maxSelections);
SceneManager.scene().setHandler('onChoice', this.onSongSelected.bind(this));
},
// Handles song selection
onSongSelected: function(index) {
this.selectedSongs.push(index + 1); // Add selected song to the list
AudioManager.playSe({ name: 'Decision', volume: 90, pitch: 100, pan: 0 }); // Play a sound effect
if (this.selectedSongs.length >= this.maxSelections) {
this.checkResults();
} else {
this.showSongSelection();
}
},
// Checks if the selected songs are correct
checkResults: function() {
let correctCount = 0;
this.selectedSongs.forEach(song => {
if (correctSongs.includes(song)) {
correctCount++;
}
});
if (correctCount === this.maxSelections) {
$gameParty.gainGold(200000);
$gameMessage.add("Congratulations! You selected all the correct songs and won 200,000 gold!");
} else if (correctCount === 0) {
$gameParty.gainGold(5000);
$gameMessage.add("You selected all wrong songs. Here's 5,000 gold as a consolation prize.");
} else {
$gameMessage.add("You didn't select all the correct songs. Better luck next time!");
}
}
};
// Add plugin commands
var _Game_Interpreter_pluginCommand = Game_Interpreter.prototype.pluginCommand;
Game_Interpreter.prototype.pluginCommand = function(command, args) {
_Game_Interpreter_pluginCommand.call(this, command, args);
if (command === 'RapShowGame') {
if (args[0] === 'start') {
RapShowGame.start();
}
}
};
})();
How to Use the Plugin
Add Your Songs:
In the plugin parameters, replace the SongTitles with your 23 custom song titles.
In the CorrectSongs parameter, specify the IDs of the correct songs (e.g., 1,3,5,7,9,11).
Add Audio Files:
Place your audio files (e.g., .ogg or .m4a) in the audio/bgm folder of your RPG Maker MZ project.
Name the files according to the song titles (e.g., MySong1.ogg, MySong2.ogg).
Start the Game:
Use the plugin command RapShowGame start in an event to begin the game.
Example Event Setup
Create a new event in RPG Maker MZ.
Add a Script command:
javascript
Copy
RapShowGame start
Run the event to start the game.
Features
Customizable: Add your own song titles and audio files.
Interactive: Players can select songs and listen to them.
Rewards: Awards gold based on the player's performance.
var RapShowGame = {
selectedSongs: [], // Stores the player's selected songs
maxSelections: 6, // Maximum number of songs the player can select
// Starts the game
start: function() {
this.selectedSongs = []; // Reset selected songs
this.showSongSelection();
},
// Displays the song selection menu
showSongSelection: function() {
let choices = songTitles;
SceneManager.push(Scene_Message);
SceneManager.prepareNextScene([]);
SceneManager.scene().setChoices(choices, 0, this.maxSelections);
SceneManager.scene().setHandler('onChoice', this.onSongSelected.bind(this));
},
// Handles song selection
onSongSelected: function(index) {
this.selectedSongs.push(index + 1); // Add selected song to the list
AudioManager.playSe({ name: 'Decision', volume: 90, pitch: 100, pan: 0 }); // Play a sound effect
// Play the selected song
AudioManager.playBgm({ name: songTitles[index], volume: 90, pitch: 100, pan: 0 });
if (this.selectedSongs.length >= this.maxSelections) {
this.checkResults();
} else {
this.showSongSelection();
}
},
// Checks if the selected songs are correct
checkResults: function() {
let correctCount = 0;
this.selectedSongs.forEach(song => {
if (correctSongs.includes(song)) {
correctCount++;
}
});
if (correctCount === this.maxSelections) {
$gameParty.gainGold(200000);
$gameMessage.add("Congratulations! You selected all the correct songs and won 200,000 gold!");
} else if (correctCount === 0) {
$gameParty.gainGold(5000);
$gameMessage.add("You selected all wrong songs. Here's 5,000 gold as a consolation prize.");
} else {
$gameMessage.add("You didn't select all the correct songs. Better luck next time!");
}
}
};
// Add plugin commands
var _Game_Interpreter_pluginCommand = Game_Interpreter.prototype.pluginCommand;
Game_Interpreter.prototype.pluginCommand = function(command, args) {
_Game_Interpreter_pluginCommand.call(this, command, args);
if (command === 'RapShowGame') {
if (args[0] === 'start') {
RapShowGame.start();
}
}
};
})();
How to Use the Plugin:
Add Your Songs:In the plugin parameters, replace theSongTitleswith your 23 custom song titles.Example:LandOfRage,BurningFury,AngerAscension,...for a list of 23 songs.
In the plugin parameters, replace theSongTitleswith your 23 custom song titles.
Example:LandOfRage,BurningFury,AngerAscension,...for a list of 23 songs.
Define Correct Songs:In theCorrectSongsparameter, specify the IDs of the correct songs. For example,1,3,5,7,9,11.
In theCorrectSongsparameter, specify the IDs of the correct songs. For example,1,3,5,7,9,11.
Add Audio Files:Place your audio files in theaudio/bgmfolder of your RPG Maker MZ project.Name the files according to the song titles (e.g.,LandOfRage.ogg,BurningFury.ogg).
Place your audio files in theaudio/bgmfolder of your RPG Maker MZ project.
Name the files according to the song titles (e.g.,LandOfRage.ogg,BurningFury.ogg).
Start the Game:Use the plugin commandRapShowGame startin an event to begin the game.
Use the plugin commandRapShowGame startin an event to begin the game.
Add Your Songs:
In the plugin parameters, replace theSongTitleswith your 23 custom song titles.
Example:LandOfRage,BurningFury,AngerAscension,...for a list of 23 songs.
In the plugin parameters, replace theSongTitleswith your 23 custom song titles.
Example:LandOfRage,BurningFury,AngerAscension,...for a list of 23 songs.
Define Correct Songs:
In theCorrectSongsparameter, specify the IDs of the correct songs. For example,1,3,5,7,9,11.
In theCorrectSongsparameter, specify the IDs of the correct songs. For example,1,3,5,7,9,11.
Add Audio Files:
Place your audio files in theaudio/bgmfolder of your RPG Maker MZ project.
Name the files according to the song titles (e.g.,LandOfRage.ogg,BurningFury.ogg).
Place your audio files in theaudio/bgmfolder of your RPG Maker MZ project.
Name the files according to the song titles (e.g.,LandOfRage.ogg,BurningFury.ogg).
Start the Game:
Use the plugin commandRapShowGame startin an event to begin the game.
Use the plugin commandRapShowGame startin an event to begin the game.
Customizable:Add your own song titles and audio files.
Interactive:Players can select songs and listen to them.
Rewards:The game awards gold based on the player's performance.
Customizable:Add your own song titles and audio files.
Interactive:Players can select songs and listen to them.
Rewards:The game awards gold based on the player's performance.
This plugin will enable players to interact with your custom songs and award them appropriately based on their selections!
@desc List of the correct word for each song. Format: [songNumber, correctWord]
@default [[1, "drum"], [2, "bass"]]
@param GoldReward
@desc Gold reward for correct answers: 1.1x money for one correct answer, 2.1x money for two correct answers in a row.
@default 110000, 210000, 110000, 210000
*/
(function() {
var parameters = PluginManager.parameters('RapShowGameWithWordChoice');
code
var songTimes = JSON.parse(parameters['SongTimes']);
var wordChoices = JSON.parse(parameters['WordChoices']);
var correctWords = JSON.parse(parameters['CorrectWord']);
var goldReward = JSON.parse(parameters['GoldReward']).map(Number);
var RapShowGame = {
currentSongIndex: 0,
consecutiveCorrect: 0,
selectedWord: null,
songPlayed: false,
// Starts the game
start: function() {
this.currentSongIndex = 0;
this.consecutiveCorrect = 0;
this.selectedWord = null;
this.songPlayed = false;
this.playSong();
},
// Plays the song and sets up the stop time for vocab word question
playSong: function() {
var songTime = songTimes[this.currentSongIndex];
var songNumber = songTime[0];
var stopTime = songTime[1];
this.playSongAtStopTime(songNumber, stopTime);
},
// Plays song until it reaches the stop time
playSongAtStopTime: function(songNumber, stopTime) {
var songTitle = `Song ${songNumber}`;
var correctWord = <URL>tCorrectWord(songNumber);
var choices = this.getWordChoices(songNumber);
// Play the song (assuming the song file exists as "Song1.ogg", "Song2.ogg", etc.)
AudioManager.playBgm({ name: `Song${songNumber}`, volume: 90, pitch: 100, pan: 0 });
// Stop the song at the given time
<REDACTED>(() => {
this.showWordChoice(choices, correctWord);
}, stopTime * 1000); // Stop the song at stopTime (in seconds)
},
// Display word choices on the screen
showWordChoice: function(choices, correctWord) {
var options = choices.join("\n");
$gameMessage.add("Choose the correct word:\n" + options);
$gameMessage.add("1. " + choices[0] + "\n2. " + choices[1] + "\n3. " + choices[2] + "\n4. " + choices[3] + "\n5. " + choices[4]);
// Let player select using the keyboard
this.selectedWord = null; // Reset word selection
this.setupWordChoiceHandlers(correctWord);
},
// Set up keyboard handlers to select the word
setupWordChoiceHandlers: function(correctWord) {
// Listen for keypress (1-5)
<URL>dEventListener("keydown", (e) => {
if (e.key >= 1 && e.key <= 5) {
this.selectedWord = e.key;
this.confirmChoice(correctWord);
}
});
},
// Confirm the player's choice
confirmChoice: function(correctWord) {
if (this.selectedWord) {
var choiceIndex = this.selectedWord - 1; // Convert to 0-based index
var selectedChoice = <URL>tWordChoices(this.currentSongIndex + 1)[choiceIndex];
if (selectedChoice === correctWord) {
this.onCorrectAnswer();
} else {
this.onIncorrectAnswer();
}
}
},
// Reward for correct answer
<REDACTED>: function() {
if (this.consecutiveCorrect < 2) {
$gameParty.gainGold(goldReward[0]);
$gameMessage.add("Correct! You earned 1.1x money.");
this.consecutiveCorrect++;
} else {
$gameParty.gainGold(goldReward[1]);
$gameMessage.add("Correct again! You earned 2.1x money.");
}
this.nextSong();
},
// Penalize or skip to the next song if the answer is incorrect
<REDACTED>: function() {
$gameMessage.add("Incorrect! Moving to the next song.");
this.nextSong();
},
// Move to the next song
nextSong: function() {
this.currentSongIndex++;
if (this.currentSongIndex < songTimes.length) {
this.playSong();
} else {
$gameMessage.add("You've completed the rap game!");
}
},
// Get correct word for the current song
getCorrectWord: function(songNumber) {
return correctWords.find(w => w[0] === songNumber)[1];
},
// Get word choices for the current song
getWordChoices: function(songNumber) {
return wordChoices.find(w => w[0] === songNumber)[1];
}
};
// Add plugin commands to start the game
var _Game_Interpreter_pluginCommand = Game_Interpreter.prototype.pluginCommand;
Game_Interpreter.prototype.pluginCommand = function(command, args) {
_Game_Interpreter_pluginCommand.call(this, command, args);
if (command === 'RapShowGame') {
if (args[0] === 'start') {
RapShowGame.start();
}
}
};
})();
Instructions:
Add Custom Songs: Add your songs to theaudio/bgm/folder of your RPG Maker MZ project. Make sure the files are named asSong1.ogg,Song2.ogg, etc.
Set Up Vocabulary:SongTimes: Define the time when the song pauses. Example:[1, 76]means Song 1 pauses at 1 minute and 16 seconds.WordChoices: Define the five vocabulary word choices for each song. Example:["up", "word", "say", "insolation", "drum"].CorrectWord: Specify the correct word for each song.
SongTimes: Define the time when the song pauses. Example:[1, 76]means Song 1 pauses at 1 minute and 16 seconds.
WordChoices: Define the five vocabulary word choices for each song. Example:["up", "word", "say", "insolation", "drum"].
CorrectWord: Specify the correct word for each song.
Start the Game: Use the plugin commandRapShowGame startto start the game in an event.
Keyboard Controls: Players can press keys 1, 2, 3, 4, or 5 to choose their answer.
Add Custom Songs: Add your songs to theaudio/bgm/folder of your RPG Maker MZ project. Make sure the files are named asSong1.ogg,Song2.ogg, etc.
Set Up Vocabulary:
SongTimes: Define the time when the song pauses. Example:[1, 76]means Song 1 pauses at 1 minute and 16 seconds.
WordChoices: Define the five vocabulary word choices for each song. Example:["up", "word", "say", "insolation", "drum"].
CorrectWord: Specify the correct word for each song.
SongTimes: Define the time when the song pauses. Example:[1, 76]means Song 1 pauses at 1 minute and 16 seconds.
WordChoices: Define the five vocabulary word choices for each song. Example:["up", "word", "say", "insolation", "drum"].
CorrectWord: Specify the correct word for each song.
Start the Game: Use the plugin commandRapShowGame startto start the game in an event.
Keyboard Controls: Players can press keys 1, 2, 3, 4, or 5 to choose their answer.
Example Usage:
To use this plugin in your RPG Maker MZ project, follow these steps:
Add the plugin to yourjs/pluginsfolder.
Enable it in the Plugin Manager.
Create an event in RPG Maker MZ to trigger theRapShowGame startcommand.
Add the plugin to yourjs/pluginsfolder.
Enable it in the Plugin Manager.
Create an event in RPG Maker MZ to trigger theRapShowGame startcommand.
Let me know if you'd like further modifications or adjustments!
var songTimes = JSON.parse(parameters['SongTimes']);
var wordChoices = JSON.parse(parameters['WordChoices']);
var correctWords = JSON.parse(parameters['CorrectWord']);
var goldReward = JSON.parse(parameters['GoldReward']).map(Number);
var RapGame = {
currentSongIndex: 0,
consecutiveCorrect: 0,
selectedWord: null,
songPlayed: false,
// Starts the game
start: function() {
this.currentSongIndex = 0;
this.consecutiveCorrect = 0;
this.selectedWord = null;
this.songPlayed = false;
this.playSong();
},
// Plays the song and sets up the stop time for vocab word question
playSong: function() {
var songTime = songTimes[this.currentSongIndex];
var songNumber = songTime[0];
var stopTime = songTime[1];
this.playSongAtStopTime(songNumber, stopTime);
},
// Plays song until it reaches the stop time
playSongAtStopTime: function(songNumber, stopTime) {
var songTitle = `Song ${songNumber}`;
var correctWord = <URL>tCorrectWord(songNumber);
var choices = this.getWordChoices(songNumber);
// Play the song (assuming the song file exists as "Song1.ogg", "Song2.ogg", etc.)
AudioManager.playBgm({ name: `Song${songNumber}`, volume: 90, pitch: 100, pan: 0 });
// Stop the song at the given time
<REDACTED>(() => {
this.showWordChoice(choices, correctWord);
}, stopTime * 1000); // Stop the song at stopTime (in seconds)
},
// Display word choices on the screen
showWordChoice: function(choices, correctWord) {
var options = choices.join("\n");
$gameMessage.add("Choose the correct word:\n" + options);
$gameMessage.add("1. " + choices[0] + "\n2. " + choices[1] + "\n3. " + choices[2] + "\n4. " + choices[3] + "\n5. " + choices[4]);
// Let player select using the keyboard
this.selectedWord = null; // Reset word selection
this.setupWordChoiceHandlers(correctWord);
},
// Set up keyboard handlers to select the word
setupWordChoiceHandlers: function(correctWord) {
// Listen for keypress (1-5)
<URL>dEventListener("keydown", (e) => {
if (e.key >= 1 && e.key <= 5) {
this.selectedWord = e.key;
this.confirmChoice(correctWord);
}
});
},
// Confirm the player's choice
confirmChoice: function(correctWord) {
if (this.selectedWord) {
var choiceIndex = this.selectedWord - 1; // Convert to 0-based index
var selectedChoice = <URL>tWordChoices(this.currentSongIndex + 1)[choiceIndex];
if (selectedChoice === correctWord) {
this.onCorrectAnswer();
} else {
this.onIncorrectAnswer();
}
}
},
// Reward for correct answer
<REDACTED>: function() {
if (this.consecutiveCorrect < 2) {
$gameParty.gainGold(goldReward[0]);
$gameMessage.add("Correct! You earned 1.1x money.");
this.consecutiveCorrect++;
} else {
$gameParty.gainGold(goldReward[1]);
$gameMessage.add("Correct again! You earned 2.1x money.");
}
this.nextSong();
},
// Penalize or skip to the next song if the answer is incorrect
<REDACTED>: function() {
$gameMessage.add("Incorrect! Moving to the next song.");
this.nextSong();
},
// Move to the next song
nextSong: function() {
this.currentSongIndex++;
if (this.currentSongIndex < songTimes.length) {
this.playSong();
} else {
$gameMessage.add("You've completed the rap game!");
}
},
// Get correct word for the current song
getCorrectWord: function(songNumber) {
return correctWords.find(w => w[0] === songNumber)[1];
},
// Get word choices for the current song
getWordChoices: function(songNumber) {
return wordChoices.find(w => w[0] === songNumber)[1];
}
};
// Add plugin commands to start the game
var _Game_Interpreter_pluginCommand = Game_Interpreter.prototype.pluginCommand;
Game_Interpreter.prototype.pluginCommand = function(command, args) {
_Game_Interpreter_pluginCommand.call(this, command, args);
if (command === '<REDACTED>') {
if (args[0] === 'start') {
RapGame.start();
}
}
};
})();
How This System Works:
Song Pause & Vocabulary Question:The game plays a song (e.g., Song 1).At a specified time (e.g., 1:16), the song pauses, and the game asks the player to identify a vocabulary word from the lyrics.The player is given five vocabulary choices, and they must press a corresponding key (1-5) on their keyboard.
The game plays a song (e.g., Song 1).
At a specified time (e.g., 1:16), the song pauses, and the game asks the player to identify a vocabulary word from the lyrics.
The player is given five vocabulary choices, and they must press a corresponding key (1-5) on their keyboard.
Answer Confirmation:The game asks if the player is sure of their choice. If they select "yes," it checks if they picked the correct word.If correct, the player earns 1.1x money for the first correct answer or 2.1x money for consecutive correct answers.If wrong, the game skips to the next song.
The game asks if the player is sure of their choice. If they select "yes," it checks if they picked the correct word.
If correct, the player earns 1.1x money for the first correct answer or 2.1x money for consecutive correct answers.
If wrong, the game skips to the next song.
Progression:After completing a song's question, the game moves to the next song.The player earns gold for correct answers based on the reward multipliers (1.1x for one correct, 2.1x for consecutive).
After completing a song's question, the game moves to the next song.
The player earns gold for correct answers based on the reward multipliers (1.1x for one correct, 2.1x for consecutive).
Plugin Parameters:SongTimes: Defines the time at which each song pauses (in seconds).WordChoices: The five vocabulary choices for each song.CorrectWord: The correct answer for each song.GoldReward: The rewards for correct answers (1.1x money for first correct, 2.1x for consecutive correct answers).
SongTimes: Defines the time at which each song pauses (in seconds).
WordChoices: The five vocabulary choices for each song.
CorrectWord: The correct answer for each song.
GoldReward: The rewards for correct answers (1.1x money for first correct, 2.1x for consecutive correct answers).
Song Pause & Vocabulary Question:
The game plays a song (e.g., Song 1).
At a specified time (e.g., 1:16), the song pauses, and the game asks the player to identify a vocabulary word from the lyrics.
The player is given five vocabulary choices, and they must press a corresponding key (1-5) on their keyboard.
The game plays a song (e.g., Song 1).
At a specified time (e.g., 1:16), the song pauses, and the game asks the player to identify a vocabulary word from the lyrics.
The player is given five vocabulary choices, and they must press a corresponding key (1-5) on their keyboard.
Answer Confirmation:
The game asks if the player is sure of their choice. If they select "yes," it checks if they picked the correct word.
If correct, the player earns 1.1x money for the first correct answer or 2.1x money for consecutive correct answers.
If wrong, the game skips to the next song.
The game asks if the player is sure of their choice. If they select "yes," it checks if they picked the correct word.
If correct, the player earns 1.1x money for the first correct answer or 2.1x money for consecutive correct answers.
If wrong, the game skips to the next song.
Progression:
After completing a song's question, the game moves to the next song.
The player earns gold for correct answers based on the reward multipliers (1.1x for one correct, 2.1x for consecutive).
After completing a song's question, the game moves to the next song.
The player earns gold for correct answers based on the reward multipliers (1.1x for one correct, 2.1x for consecutive).
Plugin Parameters:
SongTimes: Defines the time at which each song pauses (in seconds).
WordChoices: The five vocabulary choices for each song.
CorrectWord: The correct answer for each song.
GoldReward: The rewards for correct answers (1.1x money for first correct, 2.1x for consecutive correct answers).
SongTimes: Defines the time at which each song pauses (in seconds).
WordChoices: The five vocabulary choices for each song.
CorrectWord: The correct answer for each song.
GoldReward: The rewards for correct answers (1.1x money for first correct, 2.1x for consecutive correct answers).
How to Use:
Add Your Songs: Place your song files (e.g.,Song1.ogg,Song2.ogg) in theaudio/bgm/folder of your project.
Configure Parameters: In the plugin manager, configure the song stop times (SongTimes), vocabulary choices (WordChoices), and correct answers (CorrectWord) in the parameters.
Start the Game: Use the plugin commandRapGame startin your event to begin the game.
Add Your Songs: Place your song files (e.g.,Song1.ogg,Song2.ogg) in theaudio/bgm/folder of your project.
Configure Parameters: In the plugin manager, configure the song stop times (SongTimes), vocabulary choices (WordChoices), and correct answers (CorrectWord) in the parameters.
Start the Game: Use the plugin commandRapGame startin your event to begin the game.
This system will create an engaging, interactive rap game experience where players can test their knowledge of the song's vocabulary while earning rewards! Let me know if you need any further adjustments or additional features!
XP and Levels: Players level up as they progress, unlocking new songs and features like new vocabulary challenges and beat styles.
Perfect Score and Achievements:Players aim to achieve aperfect scoreby selecting the correct word every time a song pauses. Perfect scores increase money rewards:1.1x moneyfor one perfect score.2.1x moneyfor two perfect scores in a row.When a player hits milestones or completes full playlists, they unlockPlatinum Relics, new items likeEclipse Awards,Legendary Composers, orGolden Notes, and in-game lore.
Players aim to achieve aperfect scoreby selecting the correct word every time a song pauses. Perfect scores increase money rewards:1.1x moneyfor one perfect score.2.1x moneyfor two perfect scores in a row.
1.1x moneyfor one perfect score.
2.1x moneyfor two perfect scores in a row.
When a player hits milestones or completes full playlists, they unlockPlatinum Relics, new items likeEclipse Awards,Legendary Composers, orGolden Notes, and in-game lore.
In-Game Content:Songs: Each song has a uniqueBPM (beats per minute), theme, and vocabulary challenge. Tracks vary in style (e.g.,Rap Drum and ,, etc.), with players maintaining a music journal to track their unlocked songs.Song Playlists: There are a total of893 songsin the game, and players unlock songs progressively, earning rewards and completing challenges along the way.Items: Songs, achievements, and items likeEarth Harmonies,Sound Orbs, andLyric Stonesplay key roles in progressing through the game.
Songs: Each song has a uniqueBPM (beats per minute), theme, and vocabulary challenge. Tracks vary in style (e.g.,Rap Drum and ,, etc.), with players maintaining a music journal to track their unlocked songs.
Song Playlists: There are a total of893 songsin the game, and players unlock songs progressively, earning rewards and completing challenges along the way.
Items: Songs, achievements, and items likeEarth Harmonies,Sound Orbs, andLyric Stonesplay key roles in progressing through the game.
Choice and Confirmation:After the song pauses, players choose from five vocabulary words displayed on the screen, with the options being shown in a grid (e.g.,1. up,2. . say,4. insulation,5. drum).Players use1-5 on the keyboardto select a word. The game asks, “Are you sure?”—players can confirm their choice or go back to reselect.If they select the correct word, they move on to the next challenge. If not, the song skips, and the next one plays.
After the song pauses, players choose from five vocabulary words displayed on the screen, with the options being shown in a grid (e.g.,1. up,2. . say,4. insulation,5. drum).
Players use1-5 on the keyboardto select a word. The game asks, “Are you sure?”—players can confirm their choice or go back to reselect.
If they select the correct word, they move on to the next challenge. If not, the song skips, and the next one plays.
Radix Points and Rewards:Radix Points: Players earnRadix Pointsfor each song they unlock and each vocabulary challenge they complete successfully.These points are tied torelicsand can be exchanged for rewards.Bonuses for Consecutive Perfect Scores: If a player gets multiple correct answers in a row, they earnextra moneyand unlock additional bonuses like exclusive tracks or rare relics.
Radix Points: Players earnRadix Pointsfor each song they unlock and each vocabulary challenge they complete successfully.
These points are tied torelicsand can be exchanged for rewards.
Bonuses for Consecutive Perfect Scores: If a player gets multiple correct answers in a row, they earnextra moneyand unlock additional bonuses like exclusive tracks or rare relics.
Game UI:Radar Display: The top center of the screen shows , which tracks the current song, current progress, and the vocabulary choices.As the song plays, a countdown timer shows the time until the next vocabulary challenge.Vocabulary choices are displayed in a grid, and the player select the correct word.
Radar Display: The top center of the screen shows , which tracks the current song, current progress, and the vocabulary choices.
As the song plays, a countdown timer shows the time until the next vocabulary challenge.
Vocabulary choices are displayed in a grid, and the player select the correct word.
Song Stop and Vocabulary Question Mechanic:
At specific times in a song, the game pauses and asks the player to identify a vocabulary word from the lyrics.
The player is given five vocabulary choices and must press a corresponding key (1-5) to select the correct word.
Players can earn1.1x money for one correct answeror2.1x money for two correct answers in a row.
Incorrect answers lead to skipping the song, and the game moves on to the next track.
At specific times in a song, the game pauses and asks the player to identify a vocabulary word from the lyrics.
The player is given five vocabulary choices and must press a corresponding key (1-5) to select the correct word.
Players can earn1.1x money for one correct answeror2.1x money for two correct answers in a row.
Incorrect answers lead to skipping the song, and the game moves on to the next track.
Radar System:
TheRadartracks players’ progression in discovering songs, identifying words, and completing rap battles.
Points (Radix Points)are earned each time a player identifies a word correctly, with additional rewards for consecutive correct answers.
Gold Rewards: Players earn money based on the number of correct answers they provide during the song breaks. They also receiveBronze, Silver, Gold, Platinum, and on their progress.
XP and Levels: Players level up as they progress, unlocking new songs and features like new vocabulary challenges and beat styles.
TheRadartracks players’ progression in discovering songs, identifying words, and completing rap battles.
Points (Radix Points)are earned each time a player identifies a word correctly, with additional rewards for consecutive correct answers.
Gold Rewards: Players earn money based on the number of correct answers they provide during the song breaks. They also receiveBronze, Silver, Gold, Platinum, and on their progress.
XP and Levels: Players level up as they progress, unlocking new songs and features like new vocabulary challenges and beat styles.
Perfect Score and Achievements:
Players aim to achieve aperfect scoreby selecting the correct word every time a song pauses. Perfect scores increase money rewards:1.1x moneyfor one perfect score.2.1x moneyfor two perfect scores in a row.
1.1x moneyfor one perfect score.
2.1x moneyfor two perfect scores in a row.
When a player hits milestones or completes full playlists, they unlockPlatinum Relics, new items likeEclipse Awards,Legendary Composers, orGolden Notes, and in-game lore.
Players aim to achieve aperfect scoreby selecting the correct word every time a song pauses. Perfect scores increase money rewards:
1.1x moneyfor one perfect score.
2.1x moneyfor two perfect scores in a row.
1.1x moneyfor one perfect score.
2.1x moneyfor two perfect scores in a row.
When a player hits milestones or completes full playlists, they unlockPlatinum Relics, new items likeEclipse Awards,Legendary Composers, orGolden Notes, and in-game lore.
In-Game Content:
Songs: Each song has a uniqueBPM (beats per minute), theme, and vocabulary challenge. Tracks vary in style (e.g.,Rap Drum and ,, etc.), with players maintaining a music journal to track their unlocked songs.
Song Playlists: There are a total of893 songsin the game, and players unlock songs progressively, earning rewards and completing challenges along the way.
Items: Songs, achievements, and items likeEarth Harmonies,Sound Orbs, andLyric Stonesplay key roles in progressing through the game.
Songs: Each song has a uniqueBPM (beats per minute), theme, and vocabulary challenge. Tracks vary in style (e.g.,Rap Drum and ,, etc.), with players maintaining a music journal to track their unlocked songs.
Song Playlists: There are a total of893 songsin the game, and players unlock songs progressively, earning rewards and completing challenges along the way.
Items: Songs, achievements, and items likeEarth Harmonies,Sound Orbs, andLyric Stonesplay key roles in progressing through the game.
Choice and Confirmation:
After the song pauses, players choose from five vocabulary words displayed on the screen, with the options being shown in a grid (e.g.,1. up,2. . say,4. insulation,5. drum).
Players use1-5 on the keyboardto select a word. The game asks, “Are you sure?”—players can confirm their choice or go back to reselect.
If they select the correct word, they move on to the next challenge. If not, the song skips, and the next one plays.
After the song pauses, players choose from five vocabulary words displayed on the screen, with the options being shown in a grid (e.g.,1. up,2. . say,4. insulation,5. drum).
Players use1-5 on the keyboardto select a word. The game asks, “Are you sure?”—players can confirm their choice or go back to reselect.
If they select the correct word, they move on to the next challenge. If not, the song skips, and the next one plays.
Radix Points and Rewards:
Radix Points: Players earnRadix Pointsfor each song they unlock and each vocabulary challenge they complete successfully.
These points are tied torelicsand can be exchanged for rewards.
Bonuses for Consecutive Perfect Scores: If a player gets multiple correct answers in a row, they earnextra moneyand unlock additional bonuses like exclusive tracks or rare relics.
Radix Points: Players earnRadix Pointsfor each song they unlock and each vocabulary challenge they complete successfully.
These points are tied torelicsand can be exchanged for rewards.
Bonuses for Consecutive Perfect Scores: If a player gets multiple correct answers in a row, they earnextra moneyand unlock additional bonuses like exclusive tracks or rare relics.
Game UI:
Radar Display: The top center of the screen shows , which tracks the current song, current progress, and the vocabulary choices.
As the song plays, a countdown timer shows the time until the next vocabulary challenge.
Vocabulary choices are displayed in a grid, and the player select the correct word.
Radar Display: The top center of the screen shows , which tracks the current song, current progress, and the vocabulary choices.
As the song plays, a countdown timer shows the time until the next vocabulary challenge.
Vocabulary choices are displayed in a grid, and the player select the correct word.
@desc List of the correct word for each song. Format: [songNumber, correctWord]
@default [[1, "drum"], [2, "bass"]]
@param GoldReward
@desc Gold reward for correct answers: 1.1x money for one correct answer, 2.1x money for two correct answers in a row.
@default 110000, 210000, 110000, 210000
*/
(function() {
var parameters = PluginManager.parameters('RapGameWithVocabularyChoice');
code
var songTimes = JSON.parse(parameters['SongTimes']);
var wordChoices = JSON.parse(parameters['WordChoices']);
var correctWords = JSON.parse(parameters['CorrectWord']);
var goldReward = JSON.parse(parameters['GoldReward']).map(Number);
var RapGame = {
currentSongIndex: 0,
consecutiveCorrect: 0,
selectedWord: null,
songPlayed: false,
// Starts the game
start: function() {
this.currentSongIndex = 0;
this.consecutiveCorrect = 0;
this.selectedWord = null;
this.songPlayed = false;
this.playSong();
},
// Plays the song and sets up the stop time for vocab word question
playSong: function() {
var songTime = songTimes[this.currentSongIndex];
var songNumber = songTime[0];
var stopTime = songTime[1];
this.playSongAtStopTime(songNumber, stopTime);
},
// Plays song until it reaches the stop time
playSongAtStopTime: function(songNumber, stopTime) {
var songTitle = `Song ${songNumber}`;
var correctWord = <URL>tCorrectWord(songNumber);
var choices = this.getWordChoices(songNumber);
// Play the song (assuming the song file exists as "Song1.ogg", "Song2.ogg", etc.)
AudioManager.playBgm({ name: `Song${songNumber}`, volume: 90, pitch: 100, pan: 0 });
// Stop the song at the given time
<REDACTED>(() => {
this.showWordChoice(choices, correctWord);
}, stopTime * 1000); // Stop the song at stopTime (in seconds)
},
// Display word choices on the screen
showWordChoice: function(choices, correctWord) {
var options = choices.join("\n");
$gameMessage.add("Choose the correct word:\n" + options);
$gameMessage.add("1. " + choices[0] + "\n2. " + choices[1] + "\n3. " + choices[2] + "\n4. " + choices[3] + "\n5. " + choices[4]);
// Let player select using the keyboard
this.selectedWord = null; // Reset word selection
this.setupWordChoiceHandlers(correctWord);
},
// Set up keyboard handlers to select the word
setupWordChoiceHandlers: function(correctWord) {
// Listen for keypress (1-5)
<URL>dEventListener("keydown", (e) => {
if (e.key >= 1 && e.key <= 5) {
this.selectedWord = e.key;
this.confirmChoice(correctWord);
}
});
},
// Confirm the player's choice
confirmChoice: function(correctWord) {
if (this.selectedWord) {
var choiceIndex = this.selectedWord - 1; // Convert to 0-based index
var selectedChoice = <URL>tWordChoices(this.currentSongIndex + 1)[choiceIndex];
if (selectedChoice === correctWord) {
this.onCorrectAnswer();
} else {
this.onIncorrectAnswer();
}
}
},
// Reward for correct answer
<REDACTED>: function() {
if (this.consecutiveCorrect < 2) {
$gameParty.gainGold(goldReward[0]);
$gameMessage.add("Correct! You earned 1.1x money.");
this.consecutiveCorrect++;
} else {
$gameParty.gainGold(goldReward[1]);
$gameMessage.add("Correct again! You earned 2.1x money.");
}
this.nextSong();
},
// Penalize or skip to the next song if the answer is incorrect
<REDACTED>: function() {
$gameMessage.add("Incorrect! Moving to the next song.");
this.nextSong();
},
// Move to the next song
nextSong: function() {
this.currentSongIndex++;
if (this.currentSongIndex < songTimes.length) {
this.playSong();
} else {
$gameMessage.add("You've completed the rap game!");
}
},
// Get correct word for the current song
getCorrectWord: function(songNumber) {
return correctWords.find(w => w[0] === songNumber)[1];
},
// Get word choices for the current song
getWordChoices: function(songNumber) {
return wordChoices.find(w => w[0] === songNumber)[1];
}
};
// Add plugin commands to start the game
var _Game_Interpreter_pluginCommand = Game_Interpreter.prototype.pluginCommand;
Game_Interpreter.prototype.pluginCommand = function(command, args) {
_Game_Interpreter_pluginCommand.call(this, command, args);
if (command === '<REDACTED>') {
if (args[0] === 'start') {
RapGame.start();
}
}
};
})();
ThisRap Show Gamesystem is now a complete experience for players where they progress through rap songs, test their knowledge of the lyrics, and receive rewards based on their performance. TheRadartracks their song completion and achievements, while thevocabulary word choicesprovide a fun, interactive challenge. Players can earnmoney, unlockrelics, and experience different song genres and vocabularies as they progress!
Would you like to tweak anything?
var songTimes = JSON.parse(parameters['SongTimes']);
var wordChoices = JSON.parse(parameters['WordChoices']);
var correctWords = JSON.parse(parameters['CorrectWord']);
var goldReward = JSON.parse(parameters['GoldReward']).map(Number);
var RapGame = {
currentSongIndex: 0,
consecutiveCorrect: 0,
selectedWord: null,
songPlayed: false,
// Starts the game
start: function() {
this.currentSongIndex = 0;
this.consecutiveCorrect = 0;
this.selectedWord = null;
this.songPlayed = false;
this.playSong();
},
// Plays the song and sets up the stop time for vocab word question
playSong: function() {
var songTime = songTimes[this.currentSongIndex];
var songNumber = songTime[0];
var stopTime = songTime[1];
this.playSongAtStopTime(songNumber, stopTime);
},
// Plays song until it reaches the stop time
playSongAtStopTime: function(songNumber, stopTime) {
var songTitle = `Song ${songNumber}`;
var correctWord = <URL>tCorrectWord(songNumber);
var choices = this.getWordChoices(songNumber);
// Play the song (assuming the song file exists as "Song1.ogg", "Song2.ogg", etc.)
AudioManager.playBgm({ name: `Song${songNumber}`, volume: 90, pitch: 100, pan: 0 });
// Stop the song at the given time
<REDACTED>(() => {
this.showWordChoice(choices, correctWord);
}, stopTime * 1000); // Stop the song at stopTime (in seconds)
},
// Display word choices on the screen
showWordChoice: function(choices, correctWord) {
var options = choices.join("\n");
$gameMessage.add("Choose the correct word:\n" + options);
$gameMessage.add("1. " + choices[0] + "\n2. " + choices[1] + "\n3. " + choices[2] + "\n4. " + choices[3] + "\n5. " + choices[4]);
// Let player select using the keyboard
this.selectedWord = null; // Reset word selection
this.setupWordChoiceHandlers(correctWord);
},
// Set up keyboard handlers to select the word
setupWordChoiceHandlers: function(correctWord) {
// Listen for keypress (1-5)
<URL>dEventListener("keydown", (e) => {
if (e.key >= 1 && e.key <= 5) {
this.selectedWord = e.key;
this.confirmChoice(correctWord);
}
});
},
// Confirm the player's choice
confirmChoice: function(correctWord) {
if (this.selectedWord) {
var choiceIndex = this.selectedWord - 1; // Convert to 0-based index
var selectedChoice = <URL>tWordChoices(this.currentSongIndex + 1)[choiceIndex];
if (selectedChoice === correctWord) {
this.onCorrectAnswer();
} else {
this.onIncorrectAnswer();
}
}
},
// Reward for correct answer
<REDACTED>: function() {
if (this.consecutiveCorrect < 2) {
$gameParty.gainGold(goldReward[0]);
$gameMessage.add("Correct! You earned 1.1x money.");
this.consecutiveCorrect++;
} else {
$gameParty.gainGold(goldReward[1]);
$gameMessage.add("Correct again! You earned 2.1x money.");
}
this.nextSong();
},
// Penalize or skip to the next song if the answer is incorrect
<REDACTED>: function() {
$gameMessage.add("Incorrect! Moving to the next song.");
this.nextSong();
},
// Move to the next song
nextSong: function() {
this.currentSongIndex++;
if (this.currentSongIndex < songTimes.length) {
this.playSong();
} else {
$gameMessage.add("You've completed the rap game!");
}
},
// Get correct word for the current song
getCorrectWord: function(songNumber) {
return correctWords.find(w => w[0] === songNumber)[1];
},
// Get word choices for the current song
getWordChoices: function(songNumber) {
return wordChoices.find(w => w[0] === songNumber)[1];
}
};
// Add plugin commands to start the game
var _Game_Interpreter_pluginCommand = Game_Interpreter.prototype.pluginCommand;
Game_Interpreter.prototype.pluginCommand = function(command, args) {
_Game_Interpreter_pluginCommand.call(this, command, args);
if (command === '<REDACTED>') {
if (args[0] === 'start') {
RapGame.start();
}
}
};
})();
Final Concept Breakdown:
Song Playback System:The plugin loads and plays custom songs based on theSongTimesparameter (e.g.,[[1, 76], [2, 142]]means Song 1 stops at 76 seconds, and stops at 142 seconds).TheAudioManager.playBgm()function plays the song, and the game stops the music at the specifiedstopTimeto prompt the vocabulary challenge.
The plugin loads and plays custom songs based on theSongTimesparameter (e.g.,[[1, 76], [2, 142]]means Song 1 stops at 76 seconds, and stops at 142 seconds).
TheAudioManager.playBgm()function plays the song, and the game stops the music at the specifiedstopTimeto prompt the vocabulary challenge.
Vocabulary Word Choices:The player is presented with a list of5 word choicesfor each song. These choices come from theWordChoicesparameter (e.g.,[[1, ["up", "word", "say", "insolation", "drum"]]]).The player selects an option using the number keys (1-5), and if they choose correctly, they are rewarded.
The player is presented with a list of5 word choicesfor each song. These choices come from theWordChoicesparameter (e.g.,[[1, ["up", "word", "say", "insolation", "drum"]]]).
The player selects an option using the number keys (1-5), and if they choose correctly, they are rewarded.
Rewards for Correct Answers:Players earngold rewardsfor correctly identifying the vocabulary word. Rewards are based on consecutive correct answers, and the more correct answers they have, the higher the money multiplier (1.1x or 2.1x money).Gold is awarded using thegoldRewardparameter.
Players earngold rewardsfor correctly identifying the vocabulary word. Rewards are based on consecutive correct answers, and the more correct answers they have, the higher the money multiplier (1.1x or 2.1x money).
Gold is awarded using thegoldRewardparameter.
Radar System:The game tracks progress throughRadix relics. As players advance, they unlock new songs, achievements, and gain access to additional content.Players can view their progress through aRadar shows song completion and vocabulary challenges.
The game tracks progress throughRadix relics. As players advance, they unlock new songs, achievements, and gain access to additional content.
Players can view their progress through aRadar shows song completion and vocabulary challenges.
Game Flow:Next Song: After completing a song, whether right or wrong, the game proceeds to the next track.The player must get through all the songs to complete the game.
Next Song: After completing a song, whether right or wrong, the game proceeds to the next track.
The player must get through all the songs to complete the game.
Customization:The plugin is fully customizable through the plugin parameters, allowing you to modify song times, word choices, and reward amounts.
The plugin is fully customizable through the plugin parameters, allowing you to modify song times, word choices, and reward amounts.
Song Playback System:
The plugin loads and plays custom songs based on theSongTimesparameter (e.g.,[[1, 76], [2, 142]]means Song 1 stops at 76 seconds, and stops at 142 seconds).
TheAudioManager.playBgm()function plays the song, and the game stops the music at the specifiedstopTimeto prompt the vocabulary challenge.
The plugin loads and plays custom songs based on theSongTimesparameter (e.g.,[[1, 76], [2, 142]]means Song 1 stops at 76 seconds, and stops at 142 seconds).
TheAudioManager.playBgm()function plays the song, and the game stops the music at the specifiedstopTimeto prompt the vocabulary challenge.
Vocabulary Word Choices:
The player is presented with a list of5 word choicesfor each song. These choices come from theWordChoicesparameter (e.g.,[[1, ["up", "word", "say", "insolation", "drum"]]]).
The player selects an option using the number keys (1-5), and if they choose correctly, they are rewarded.
The player is presented with a list of5 word choicesfor each song. These choices come from theWordChoicesparameter (e.g.,[[1, ["up", "word", "say", "insolation", "drum"]]]).
The player selects an option using the number keys (1-5), and if they choose correctly, they are rewarded.
Rewards for Correct Answers:
Players earngold rewardsfor correctly identifying the vocabulary word. Rewards are based on consecutive correct answers, and the more correct answers they have, the higher the money multiplier (1.1x or 2.1x money).
Gold is awarded using thegoldRewardparameter.
Players earngold rewardsfor correctly identifying the vocabulary word. Rewards are based on consecutive correct answers, and the more correct answers they have, the higher the money multiplier (1.1x or 2.1x money).
Gold is awarded using thegoldRewardparameter.
Radar System:
The game tracks progress throughRadix relics. As players advance, they unlock new songs, achievements, and gain access to additional content.
Players can view their progress through aRadar shows song completion and vocabulary challenges.
The game tracks progress throughRadix relics. As players advance, they unlock new songs, achievements, and gain access to additional content.
Players can view their progress through aRadar shows song completion and vocabulary challenges.
Game Flow:
Next Song: After completing a song, whether right or wrong, the game proceeds to the next track.
The player must get through all the songs to complete the game.
Next Song: After completing a song, whether right or wrong, the game proceeds to the next track.
The player must get through all the songs to complete the game.
Customization:
The plugin is fully customizable through the plugin parameters, allowing you to modify song times, word choices, and reward amounts.
The plugin is fully customizable through the plugin parameters, allowing you to modify song times, word choices, and reward amounts.
How to Use This Plugin:
Add the Script: Copy and paste the script above into a new file calledRapGameWithVocabularyChoice.jsinside thejs/plugins/folder in your RPG Maker MZ project.
Activate the Plugin: In thePlugin Manager, add the plugin and configure the parameters to your liking (song times, word choices, rewards).
Start the Game: Use the plugin commandRapGame startto start the game and trigger the song and vocabulary challenge system.
Add the Script: Copy and paste the script above into a new file calledRapGameWithVocabularyChoice.jsinside thejs/plugins/folder in your RPG Maker MZ project.
Activate the Plugin: In thePlugin Manager, add the plugin and configure the parameters to your liking (song times, word choices, rewards).
Start the Game: Use the plugin commandRapGame startto start the game and trigger the song and vocabulary challenge system.
offers a complete, customizable experience for players to test their knowledge of rap lyrics, earn rewards, and progress through a song list with a unique vocabulary challenge system. Let me know if you need any tweaks!