Creating a Quiz with button Input and time limit.

Hello everyone,:hhappy:

iam new to game development and started learning japanese one year ago. As it can be sometimes a bit boring just going over a book i wanted to make it more fun with a game. There are already games like this outside but this is more of a private thing and also going over everything i learned while working on it.

I want to create a battle system where the spells/skills need to be "called" like a wizard who needs to say words so the fireball can be casted. For this i wanted to make it the following:

1. The players chooses a spell
2. The game will show a picture or a textbox with for example the Kanji "猫" which stands for "cat"
3. Around the word 4 textboxex / choice options appear "cat" "dog" bird" "human" for example.
4. The player now needs to press a button "example WASD" for the correct word. This could be repeated multiple time for more difficult spells
5. If the player chooses correctly, the spell gets casted, if he is wrong he gets stunned or there is a "break action" and the spell is not cast.

I created something like it with common events and some conditional branches and variables to randomize the questions and choice options but i cant find a way for the following things and thats where i hope you guys can help me.

1. If i create a choice option in a commen event it always puts all choices in one textbox. Same happens if i create mutiple choice parameters always with only one choice option.
2. If it would work, i cant find an option to change the X an Y for the Textbox itself.
3. I cant find a way to make the Textboxex clickable with a specific button (in my case pressing W chooses the answer "dog" , Button A is "cat" Button S is "bird and button D is "human"

I use mainly plugins from Yanfly which are really helpful but couldnt find anything about this on the internet.

Iam not a programmer and cant find a way making it work with a script.

Hopefully this is enough information for you guys to know what i want to try and you guys can help me 🙂

Thanks, Zace
Hmmm, if you google show choices plugins, you'll find stuff that allows you to change how the choices are presented and where they're located, but I don't know if you'll find one that lets you add the choice selection with a keyboard press. Maybe some QTE-plugin would have that?

What you could do is show the choices as pictures (make a picture of the text), and then in your action-sequence/common event go into a loop checking for button presses (to use more keyboard buttons you'll need a plugin or use a script that checks for the keycode). Then after the keypress you just erase the pics and break the loop and advance the event depending on what choice was selected.
Hey @rpgLord69 thanks for your reply.

I was already thinking about pictures as well. As i want to do this for Hiragana, Katakana, Kanji and also Sentence structures and general words, this would result in like a million pictures. And as you said indeed a QTE Plugin might work. So far i didnt find one i could work with (or iam not intelligent enough to find how to change it so suit my idea)

I will have another look for the "show choices plugin" on google, might find something.

In case anyone else has suggestions or ideas, i would be open for anything. 🙂
RPG Maker MZ has a text picture plugin that allows you to show text as a picture. Don't know if there's an English one for MV, but at least if you use google translate, you can find a japanese plugin for that.
1. The players chooses a spell
2. The game will show a picture or a textbox with for example the Kanji "猫" which stands for "cat"
3. Around the word 4 textboxex / choice options appear "cat" "dog" bird" "human" for example.
Doesn't this game already exist and is called Ninja Words Adventure?

That said, yes this is doable but it'd require picture common events plugins if you want the player to click the buttons. If you want to navigate the choices with the d-pad you'd follow a guide like the Eventing a Picture Menu one on this site, I think by hiddeone

Hey @AquaEcho

My image was similiar to the posted game "Ninja Words Adventure". Didnt know something like this existed already. 🙂 So its nice to know that somehow it is possible.

I will have a look into eventing a picture based battle system as this seems the best way to go as @rpgLord69 was giving this as his first idea as well.

Lets see if i can find anything out how to do that best.

Any Ideas how to set a timer as well? I guess i will need a plugin for that?

Thanks as always and iam sorry if i ask maybe some easy questions.
If you use that text picture plugin, you can have it show any text you write as a picture. Then just show four of those pictures in any spots you like.

Then in your event you go to the loop that checks for the button presses with conditionals. In that same loop it increases a variable and if that variable increases to too high (too much time has passed), then you break the loop and continue the event as a 'fail'-result.

Original thread: https://forums.rpgmakerweb.com/threads/creating-a-quiz-with-button-input-and-time-limit.168217/