racing-game
racing-game copied to clipboard
Touch controls
I added some simple touch-based controls:
- Forward
- Backward
- Left
- Right
- Boost
- Reset
I moved the speedometer and controls menu to the top when using a touch-enabled device. And after clicking "click to continue" I unmount the start menu to prevent text selection.
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/pmndrs/racing-game/CGa3wYGcYyCpovMmzojxEx3v2Jj4
✅ Preview: https://racing-game-git-fork-motcodes-touch-controls-pmndrs.vercel.app
[Deployment for 0c37f76 failed]
beautiful! can we make the minimap a little smaller? i also think the on screen hints have to go, it's too little space for that.
I ain't sure, but this is targeted for portrait mode? I think the game is better played on landscape mode then portrait mode as the car itself will already take half of your screen. But good begin!
beautiful! can we make the minimap a little smaller? i also think the on screen hints have to go, it's too little space for that.
I actually would prefer to disable the minimap on mobile as well.
I ain't sure, but this is targeted for portrait mode? I think the game is better played on landscape mode then portrait mode as the car itself will already take half of your screen. But good begin!
One option would be to move the camera back a little more on mobile.
One option would be to move the camera back a little more on mobile.
Yeah that seems good to me.
right, lets remove the minimap, makes no sense on a small screen.
is this ready to go?
I don't think so
@motcodes is attempting to deploy a commit to the Poimandres Team on Vercel.
A member of the Team first needs to authorize it.