Hey everyone! I am working on making a platformer with Armory and so far I’ve made quite a bit of progress! However, I’m not sure how to put this up on my website that I made for it. If you’re wondering what the website is it is lightstrafe.weebly.com. I am trying to make my first HTML5 game so this is all new to me. I have tried to put everything up on GitLab but it just seems to not do anything. Here’s my index.html on my website:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<style>
body {
margin: 0;
}
</style>
<title>Armory</title>
</head>
<body style="margin: 0; padding: 0;">
<canvas style="width: 100vw; height: 100vh; display: block;" id='khanvas'></canvas>
<script src='https://gitlab.com/TriVoxel/lightstrafe-online/raw/HTML5/kha.js'></script>
</body>
</html>
This index is inside of an “embed HTML” block so it should work. So do I need to host the files on my website or do I maybe need to change a setting so that it will load from GitLab? Any help will be appreciated!