Goodbye!
docjenny
47
Posts
2
Topics
12
Followers
8
Following
A member registered May 07, 2018 · View creator page →
Creator of
Recent community posts
itch.io Community » itch.io » Questions & Support · Replied to No Time To Play in General guideline on how to make an HTML document while porting a SDL c++ game with emscripten.
itch.io Community » itch.io » Questions & Support · Created a new topic General guideline on how to make an HTML document while porting a SDL c++ game with emscripten.
I'm working on an SDL c++ game and I've used emscripten to port it for web, If i upload the generated index.html file, it says no file to embed so i generated an index.js file and used this:
<body>
<center>
<canvas id="canvas"></canvas>
<script type='text/javascript'>
var Module = {
canvas: (function() { return document.getElementById('canvas'); })()
};
</script>
<script src="index.js"></script>
</center>
</body>
Is there a general guideline on what i should add here in order to make it accessible to itch.io? Or can someone point me in the proper direction please. I m really lost here.
THERES A DUNGEON INSIDE YOUR TV jam comments · Replied to CoolGuyPlayers in THERES A DUNGEON INSIDE YOUR TV jam comments
SAMUDRA | A Deep Sea Journey comments · Replied to Khayalan arts in SAMUDRA | A Deep Sea Journey comments


















