HTML5 Canvas

fvu109
29 May 2020, 08:51

Has anyone successfully integrated an HTML5 canvas into their Squiffy game?

At the end of my adventure I want to generate an image with some text over it. The image will be from a library of images and depend on the choices made my the player; the text will be their character's name and a couple of other bits set as Squiffy attributes.

Basically what they're doing here: https://codepen.io/ahebler/pen/KzyQBZ except with the image and text pulled from Squiffy attributes rather than entered via form fields.