Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Choose your own adventure
- erin13ninja
-
60 posts
Choose your own adventure
Hi, can you be more specific with exactly what it is you need help with?
- djrolexvb
-
5 posts
Choose your own adventure
I need to make the awnser of a player to a question make a happen if they thype in 1 and b for 2.
like if they awnser yes say say if they awnser no say awww
like if they awnser yes say say if they awnser no say awww
- MajesticGalaxy
-
12 posts
Choose your own adventure
Heres a example of a multi-chose script,
so lets start by making 2 button scritps:
Button #1:
And make a random sprite:
so lets start by making 2 button scritps:
Button #1:
Button#2:
And make a random sprite:
Let me know if this helped. Good luck
- TheNonNameMouse
-
88 posts
Choose your own adventure
I haven't tried, but it's hard and you have to list out all the combinations. I suggest using a variable or a list.
- MajesticGalaxy
-
12 posts
Choose your own adventure
What do you mean when you say “1 and b for 2”? I need to make the awnser of a player to a question make a happen if they thype in 1 and b for 2.
like if they awnser yes say say if they awnser no say awww
- djrolexvb
-
5 posts
Choose your own adventure
Thank you evreyone for the help espicialy MajesticGalaxy
- deck26
-
1000+ posts
Choose your own adventure
Someone asked in another topic about levels - the logic isn't that different even though you're not going through the different steps in a fixed order. Here's a slightly edited version of my reply on that topic.
Any game with levels will have things that are common in all levels (eg movement controls) and things that are different (backdrops, hazards etc). you need to work out which are which.
Use variables to keep track of the current state of things and use appropriate blocks to control what happens.
examples
Any game with levels will have things that are common in all levels (eg movement controls) and things that are different (backdrops, hazards etc). you need to work out which are which.
Use variables to keep track of the current state of things and use appropriate blocks to control what happens.
examples
As you can see there are different things you can do so it depends on the project. You may use multiple methods in one project according to how the sprites etc behave.
- TheUltimatepixel
-
19 posts
Choose your own adventure
Variables could help
I was thinking of 3 holes
I was thinking of 3 holes
- MajesticGalaxy
-
12 posts
Choose your own adventure
Oh did you mean the “whats you name” part?
If so, use this:
If so, use this:
Did that help?
- djrolexvb
-
5 posts
Choose your own adventure
yah that helped, thanks to the following majestic galaxy, Deck 26, and TheUltimatepixel.
Check out my project please, as it gets better using your help!
Check out my project please, as it gets better using your help!
- Discussion Forums
- » Help with Scripts
-
» Choose your own adventure