# Release template for itch.io

**URL:** <https://community.gamebuino.com/t/release-template-for-itch-io/571>\
**Category:** \[EN\] Community tutorials\
**Created:** [25 June 2022 03:13 UTC](https://community.gamebuino.com/t/release-template-for-itch-io/571 "2022-06-25T03:13:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![joyrider3774](https://community.gamebuino.com/user_avatar/community.gamebuino.com/joyrider3774/32/540_2.png) [@joyrider3774](https://community.gamebuino.com/u/joyrider3774)\
**Post date:** [28 June 2022 11:01 UTC](https://community.gamebuino.com/t/release-template-for-itch-io/571/2 "2022-06-28T11:01:52Z")

</div>

Hey the [WASM emulator](https://github.com/aoneill01/wasm-gamebuino) now has implemented these fullscreen / console options into a single “fullscreen.html” file so you should use those files now instead of my files. for more info see this post [here](https://community.gamebuino.com/t/extra-distribution-files-for-gamebuino-meta-emulator-new-skin-scale-to-fit-window/567/5).

Basically you need to include the package files and link to your game(.bin) using `bin=` parameter and if you want to add the console skin just use the new `background=X` parameter to either load console skin “1” or “2” or “none”

So these files you’ll need to grab from the WASM repo  
 ![image](https://community.gamebuino.com/uploads/default/original/1X/52c714deb887fdee8a802d4e4aa86375cbcf8774.png)

and this is the new index.html template to make use of those files (only urltouch & urlnotouch have changed):

```auto
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Waternet - Gamebuino Meta</title>
    <meta name="author" content="Willems Davy" />
		<script>
			function setIframeSrc()
			{
				const iframe = document.querySelector('#iframe');
				urlnotouch = "./fullscreen.html?bin=game.bin";
				urltouch = "./fullscreen.html?bin=game.bin&background=2";
				if (window.matchMedia("(any-pointer:coarse)").matches)
					iframe.setAttribute('src', urltouch);
				else
					iframe.setAttribute('src', urlnotouch);
			}
	  </script>
	</head>
  <body onload="setIframeSrc();">
    <iframe id="iframe" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;" src="" />
  </body>
</html>

```

**SIDE NOTE:**

It’s also normally possible to load game.bin by changing fullscreen.html  
This is fullscreen.html adapted to load game.bin

 ![image](https://community.gamebuino.com/uploads/default/original/1X/d3695e30c3c10fd9e2feeb9d2fa3c3b22d04a130.png)

and the urlnotouch and urltouch would become the following then:

```auto
urlnotouch = "./fullscreen.html";
urltouch = "./fullscreen.html?background=2";

```

you can see it in action here [Waternet - Gamebuino Meta](https://www.joyrider3774.xyz/gamebuino4) (surf to it with browser on desktop & phone). Note on [itch.io](http://itch.io) it will use the containers size

---

_[View the full topic](https://community.gamebuino.com/t/release-template-for-itch-io/571)._
