![]() ![]() and paste all of this into the last passage of your Twine game. Right-click and choose “View page source.” Copy all of the HTML code from. Uncheck “Show link to submit another response” on the Confirmation Page.Ĭlick “View live form” to see your form. ![]() We’re not just going to ask the player to type in their score, we’re going to use a script to enter their score automatically. Make the first question “Name: ” and “Score: ” for the second question. An easy way to ask the player their name is to use this code:Ĭreate a Google Form with two questions, each with Text input fields. Your Twine game will also need to store the player’s name. Any time that you need to change the player’s points during the game, use some code like this: > or this: > As a side note, it's possible to use shorthand like this > to add or subtract points, but I prefer to teach the former code to my elementary and middle school students because I believe that > is easier to comprehend. To do this, write a bit of code like this in the Start passage: >. The first thing that you will obviously need is a Twine game that stores the player’s points as a variable. NOTE: Sometime around 2015 there was an update to Google Forms that broke the ability to quickly/easy store high scores for Twine Games in Google Drive. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |