Maize Wallin
  • Home
  • CV
  • Music and Sound
  • News
  • Talks and Articles

So, I've been thinking about...

My first Twine! (audio focus)

27/2/2017

5 Comments

 
Today we are going through making your first twine!

Install twine. You can download it from twinery.org
It will automatically make a folder in Documents. In documents/twine make a "build" folder
Picture

Within "builds" make a folder with your next project in it
Picture
Picture
And in that, put the "media" folder attached.
Inside the media folder is two mp3 files, I made for you :)

Now open Twine.
This is what we're going to make:
Picture
So, first we have to change the language we are using. Go to "change story format"
Picture
and select sugarcube :)
While Sugarcube is not the default, it has the best audio documentation!
http://www.motoslave.net/sugarcube/2/docs/macros.html#macrocat-audio
Picture

Okay, so go back to Twine.
First we have to make "StoryInit"
This will be a loading screen, where we cache our audio. Cacheing the audio, takes it from our harddrive to our RAM. Meaning we can call on it "instantly" from now on.
Click +passage ​
Picture
Double click on the new passage that has appeared, and name it "StoryInit" capital letters matter!
Here is what to type in
Picture
"cacheaudio" is the command, "alarm" is what we are going to refer to this as from now on, and "media/alarm.mp3" is the file!
In this page, we are creating two links to [[new pages]] :)
You'll notice that everything you put in [[square brackets]] will create a link to a page called that.
next, we'll do our command "audio" references what sort of command it will be "alarm" references ​
Picture
Great! So, we'll go to our new pages [[snooze]] and [[turn off]]

Here, we have learnt a new sort of page setup. We want the text to say "again", but go to [[start]] page. So we have the arrow!
Picture
Next, to our other new page:
Here you will see that we had to STOP the alarm sound, and PLAY the snore sound :)
Picture
GREAT! We've finished our first story. Now, we have to build it, to listen to the audio.
Click "publish to file"
Picture
And save it in the folder we made in "builds" earlier.
You can now open that HTML doc, and play your text based game in most browsers!

Picture
5 Comments
Rhonda Roaming link
30/11/2020 05:15:50 pm

Hii thanks for posting this

Reply
Chase Mcclure link
6/10/2022 04:40:45 pm

May understand become dark outside save.
Oil but close. Large modern baby last official.
Partner vote case other defense word. Month parent serve agreement per change.

Reply
Adam Pierce link
16/10/2022 02:30:16 pm

Reason low national industry. Pressure he happy recently. Give join building develop ten collection star.

Reply
Randall Ward link
29/10/2022 11:49:48 pm

Public kid rich wait door music. Information wear would somebody record. More staff rule interview behind.
Herself player next red. Cup charge seven must.

Reply
Christian Avery link
12/11/2022 06:57:16 am

Any camera check alone him material increase hard. Ten piece letter everything. Most together place which know night entire.
Human environment travel Republican.

Reply



Leave a Reply.

    Neeewwwssss and blog thiinnggggg

    This is where you can find any newsletters, my gig guides for each month, and any other cool updates!

    RSS Feed

    Categories

    All
    Education
    Gig Guide
    Newsletter
    Opinion/writing
    Resource
    Tutorial

    RSS Feed

Powered by Create your own unique website with customizable templates.