Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Hi, I tried this and works like a charm! I do have a problems though. When trying to export a WebGL and upload to Itch.io to test it either:

  • just shows me either a blank screen or
  • I can’t see an object that tracks the mouse position using object.position = Camera.main.ScreenToWorldPoint(Input.mousePosition);

In the video I show what I say on the second point. The Game View has a Free Aspect and when I move the mouse the transform has some kind of offset. When I try a custom 64x64 view on the Game View it works but then when exporting it it doesn’t.

Let me poke around at this for a bit. I’ll see if I can give some answers to it.

Hi, the thing I forgot to put in this guide is that the “GameCamera” also needs to have a “Pixel Perfect” component added to it. This component needs to have a pixel per unit size of 6 and a resolution of 64x64