Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

SugarCube 2 How to use svg?

$
0
0
Hello.
I tried to use something like this in passage:
<svg>
<line x1="0" y1="0" x2="200" y2="200" stroke-width="1" stroke="rgb(0,0,0)"/>
</svg>
but it doesn't work. I don't see this line.
Something like this works in Harlowe, but does't work in SugarCube again.
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><rect x="10" y="10" height="100" width="100" style="stroke:#ff0000; fill: #0000ff"/></svg>
Can you to explain what I am doing wrong?

SugarCube 2.12.0 Twine 2.0.11

Viewing all articles
Browse latest Browse all 1844

Trending Articles