itch.io is community of indie game creators and players

Devlogs

Bugfix (V3) Released

P.L.A.N.T.D.S.C
A browser game made in HTML5

Almost 3 weeks later, I decided to revisit the game and discovered a game-breaking (or at least jam-breaking) bug - the target reticules move at a high resolution! Observe in the below gif how the reticules move too smoothly...

A fix has been pushed out that fixes this. Now the reticules correctly move like this:

Technical details:

The cause was invalid resolution scaling in the index.html of the app. Steps I took to fix:

  • Target a resolution of 160x144 in Unity Player Settings
  • CSS on the Unity Canvas element to prevent it from being blurry: width: 800px; height: 720px; image-rendering: pixelated; image-rendering: crisp-edges;
  • Arguments in createUnityInstance: matchWebGLToCanvasSize: false, devicePixelRatio: 1 (see: https://docs.unity3d.com/2022.1/Documentation/Manual/webgl-canvas-size.html)

Files

  • PLANTDSCv3-bugfix.zip 36 MB
    Oct 15, 2022
Download P.L.A.N.T.D.S.C
Leave a comment