CodingTrain / Directional-Boring

Horizontal Directional Drilling Simulation
MIT License
46 stars 21 forks source link

Added click-on-the-interface controls to facilitate porting on mobile #33

Closed alin256 closed 2 years ago

alin256 commented 2 years ago

If you click on the machine you start/pause. If you click elsewhere you toggle bias

Partially addresses #26

alin256 commented 2 years ago

It works on iPad and iPhone apart from scaling

alin256 commented 2 years ago

slight bug with a pause when stuck

That actually copied it from the previous PR, should we same on the escape button. I think we should check the state for "STUCK".

alin256 commented 2 years ago

That actually copied it from the previous PR, should we same on the escape button. I think we should check the state for "STUCK".

Now start/stop behaviour is fixed regardless of the controls used: a GUI button, a keyboard key or a mouse click

alin256 commented 2 years ago

After some iterations, all new bugs and some old ones are fixed. I tested it on a computer and iOS. Can be tested here: https://al-digital.no/Directional-Boring

I will merge if there are no objections.

alin256 commented 2 years ago

Added a bit more detailed stats to be used for scoring

alin256 commented 2 years ago

Integrated @DenisovichDev 's pull request

alin256 commented 2 years ago

I am going to get a second baby tomorrow, so need to push as is ;)

shiffman commented 2 years ago

Thank you @alin256, and congrats to you!!!!!

DenisovichDev commented 2 years ago

Congrats @alin256!

ArztKlein commented 2 years ago

Congratulations @alin256!!

alin256 commented 2 years ago

Thank you very much @shiffman @DenisovichDev and @ArztKlein. We finally got a healthy and happy girl, and I can accept congratulations from this pull request :)