2022-11-02 - Fixed problem with diagonals.
- Each diagonal is obtained on the gamepad with the two adjacent contacts (left-up) and if the touch is not precise, one will contact before the other. In the previous version a failure was counted if the two contacts did not occur at the same time (1 TIC), now up to 1/4 of a second (15 TIC) of separation between them is allowed.
- For the two contacts to occur, some precision is still necessary.
- Thought for gamepad, you can also play with the keyboard using two keys at the same time for the diagonals.
txgruppi
|
Diagonals don't seem to be working for me in the browser.
|
txgruppi
|
Also on TIC-80 on Linux, diagonals seem to be working only sometimes
|
altamarino
|
Sorry. I've tried it in various ways, as far as I know it's not much. At the moment I can't improve it.
The diagonal is obtained with the two adjacent buttons and it is difficult to press both exactly at the same time. |
altamarino
|
With the gamepad I get the diagonals 3 or 4 times out of 10, with the keyboard 0 or 1 time out of 10. I guess it will also depend on the construction of the gamepad. As I programmed, the two keys must be pressed for the same 1/60th of a second, I will have to see if I can extend that time.
|
altamarino
|
Problem with diagonals, I can't solve it.
|