Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

SVG not working in SugarCube?

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?
Sign In or Register to comment.