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

SVG not working in SugarCube?

$
0
0
Hey there,
I'm trying to draw a basic SVG <rect> in SugarCube 2.12.0 with Twine 2.0.11 but it doesn't seem to want to work. I've created a blank story and pasted the following into the starting passage:

<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>

When I play the story, I see nothing. However, if I change the story format to Harlowe or Snowman, it appears without any issue. Is there something obvious that I'm missing for SugarCube?

Viewing all articles
Browse latest Browse all 1844

Trending Articles