0 votes
asked by (120 points)

2 Answers

0 votes
answered by (125k points)

Please use the Question Tags to state the name and full version number of the Story Fromat you are using, as answers can vary based on that information. I will assume you are using Harlowe v2.1.0, which is the current default story format.

> How to add a picture.

The Twine 2 guide includes a Add an Image, Movie, Sound Effect, or Music section which explains how to use a HTML img element to display the contents of an image file within a Passage.

warning: It should be noted that by default images referenced via a Relative URL will not appear within page generated by the Test or Play options of the Desktop release of the Twine 2.x application, this is because there is no physical HTML file for the images files to be stored relative too.
You will either need to:
a. use the Publish to File option to create a physical story HTML file and save this file relative to the image files
b. temporary change those Relative URLs to Full Reference URLs.

> and loud.

I am unsure what this means but I will guess you mean play audio/sound.

The above linked section also includes information about using the HTML audio element to audio, however I would suggest using the Harlowe Audio Library (by ChapelR) instead.

0 votes
answered ago by (20.6k points)

If you're asking for how to do that when using the SugarCube story format, you can find some image sample code and audio sample code at those links.  (Click the "Jump to Start" link in the upper-left to see other sample code.)

If there's something specific you're having a problem with, please tell us what Twine story format you're using (Harlowe, SugarCube, Snowman, etc...) and specifically what problem you're having.

Hope that helps!  :-)

Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...