Platform Builder Forums

Main => Suggestions => Topic started by: Antikore on October 23, 2018, 09:26:27 AM

Title: Pop-up message with input
Post by: Antikore on October 23, 2018, 09:26:27 AM
This shows like a pop-up message but it has an input to write in, then you can detect what you have written in the answer. Will be something like this:

Code: [Select]
/+(Message)
if answer = (value)
[answer]
If the command /+Write your game skill level from 1 to 5
Will show like a pop-up message with that message but with also an input
Then, when you click enter, the value you entered will be the answer, so
Code: [Select]
if answer = 5 will detect if you entered 5 in the input.

Example to use this
Code: [Select]
/+Enter your age for family-friendly reasons
if answer < 13
{
_Activating child filter
game var 1 = [answer]
}
Other example:
Code: [Select]
/+Enter the password to continue
if answer = 1581
{
unlock = blue
<block 3>Correct password. You can pass!
}
else
{
<block 3>Wrong password! You cannot pass!
}
Title: Re: Pop-up message with input
Post by: CGM on October 23, 2018, 04:31:13 PM
I think this is what menus are for. And that's also what I was trying to suggest when conditionals were going to come out. But this makes more sense.
Title: Re: Pop-up message with input
Post by: CGM on October 23, 2018, 04:33:52 PM
But I do have to disagree with the child filter example. PB games are for everyone. So, there's no need to do that.
Title: Re: Pop-up message with input
Post by: Antikore on October 23, 2018, 05:17:09 PM
But I do have to disagree with the child filter example. PB games are for everyone. So, there's no need to do that.
It's just an example
I think this is what menus are for. And that's also what I was trying to suggest when conditionals were going to come out. But this makes more sense.
You're totally wrong with this, menus give you a full set of options to select. With an input, the player can input whatever he wants inside it, and I think you don't want to add a menu with all numbers from 0 to 9999 to make a 4-character password. Something that is easier in the password example. You understand now?
Title: Re: Pop-up message with input
Post by: CGM on October 23, 2018, 05:22:11 PM
Oh! Yeah. Passwords would be cool.