iftechfoundation / twine-cookbook

Twine Cookbook
131 stars 31 forks source link

can`t attach background picture #108

Closed ruslan051 closed 4 years ago

ruslan051 commented 4 years ago

so how?

videlais commented 4 years ago

@ruslan051 Can you give more some more details? Are you trying to use an image in Twine? What version?

ruslan051 commented 4 years ago

@ruslan051 Can you give more some more details? Are you trying to use an image in Twine? What version?

Yes. Upper then 2.0ver

videlais commented 4 years ago

In Twine 2.0, images can be used in different ways. From the Story Menu (clicking on the name of the story), you can select Change Story Format. Clicking on this will show what the current story format and its version is.

Harlowe:

In Harlowe, images are used through the <img> element in HTML. It's src attribute must be set to the path (location) of a file using an absolute URL. This means it should be hosted on a website somewhere and the full URL, including the http:// must be used.

Using images in HTML

SugarCube:

Similar to Harlowe, images in SugarCube must also be used through the <img> element. However, it also allows images to be used with its own markup.

Snowman:

Same as Harlowe.

Chapbook:

In Chapbook, images can be used through its modifiers. Its documentation covers how to do that more in-depth.


If you have questions about using Twine, I highly recommend checking out the IntFiction forum or asking on the Twine Discord. This is a place for issues with the Twine Cookbook as a document.

ruslan051 commented 4 years ago

In Twine 2.0, images can be used in different ways. From the Story Menu (clicking on the name of the story), you can select Change Story Format. Clicking on this will show what the current story format and its version is.

Harlowe:

In Harlowe, images are used through the <img> element in HTML. It's src attribute must be set to the path (location) of a file using an absolute URL. This means it should be hosted on a website somewhere and the full URL, including the http:// must be used.

Using images in HTML

SugarCube:

Similar to Harlowe, images in SugarCube must also be used through the <img> element. However, it also allows images to be used with its own markup.

Snowman:

Same as Harlowe.

Chapbook:

In Chapbook, images can be used through its modifiers. Its documentation covers how to do that more in-depth.

If you have questions about using Twine, I highly recommend checking out the IntFiction forum or asking on the Twine Discord. This is a place for issues with the Twine Cookbook as a document.

i tried to do this but background is still black color and without picture

ruslan051 commented 4 years ago

i need just make background picture under the text

ruslan051 commented 4 years ago

OK, thank`s i decide it !