4
Full controller for mobile and browser games, using Joystick DX https://tic80.com/play?cart=1782
EDIT (06/04): Added some more functions for ease-of-use, more shading and now you can move the controller with right-click
xevin
|
Good job!
I found a bug. If you place stick to straight up (or down) then y=-1 (or y=1) and x=6.1224...e-1 x too large |
Mynotaurus
|
Ooh yeah. I think a negative error would mean its almost 0 but it may still cause issues. I'll look into it!
|
Mynotaurus
|
After running some debug code, turns out without the clipping on the end it shows x=6.12e-17, or 0.0000000000000000623, so I think it is small enough to not cause many problems!
|