Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

How would I do that?

A topic by pedroMz created Apr 13, 2021 Views: 269 Replies: 5
Viewing posts 1 to 2

Hello! This may be a stupid question, but let's say that I have an .html file that is my game, how could I turn it into a QR code?

Host (1 edit) (+1)

Just take the JavaScript file, go into a website that encodes data into QR Codes (for example https://www.qr-code-generator.com/), and paste the JavaScript code. Then download or capture the QR code and upload it to the jam.

So only the JavaScript file. But what about the html file then?

Can you explain?

Host

There's no need to upload any html file for the jam.

Then like. How would the canvas elements appear in document. is it in javascript itself like.

document.createElement("canvas");

Host

Yes, to use html, you need to build the html from the js file itself like you described.