Left Stick Fixed!


Bug Fixes:

1)  Gamepad left stick input

Left stick on the gamepad now functions correctly in the vertical axis. So for context, I'm using Unity with the new Input system. I was previously using an up/down/left/right composite binding for the movement, which basically combines input from multiple sources, and outputs it as a single vector. This worked fine on windows, and in the Unity editor, but for some reason, not on the WebGL build. In fact, the composite was working fine for WASD, for the arrow keys, for the D-pad on the gamepad, just not for the left stick. IN FACT, it was even working correctly for left/right. Just not for up/down. So I tested this with a fresh game and multiple browsers and devices before revisiting the input action mapping. Splitting the movement up into seperate axis worked a charm. I'm now using a 1D composites for the keyboard (one for each axis), and additionally binding the horizontal and vertical axis to the gamepad left-stick-y and left-stick-x.

2) Game resolution

I think I'm getting the hang of this now. The winning formula is to set the resolution to the intended aspect ratio in the Player Settings (in Unity), and then when embedding in Itch, use the same resolution but add 50pts of height for the bottom bar.

Files

Super Tile Land WebGL V2.06.zip 9 MB
93 days ago

Leave a comment

Log in with itch.io to leave a comment.