Why don't you make cars move by accelerometer data?
It's pretty simple to do, I did need some help initially to find out the accelerometer function but once I found it, it was easy.
This would make the game seem more like a game by adding a new movement aspect to cars.
And for PC, maybe even code a small steering wheel or use arrow keys like normal.
Here's a simple example.
PHP Code:
//#CLIENTSIDE
function onCreated(){
//return; //Comment this out to run the code.
with(findimg(250)){ //Show a temp placeholder.
image = "block.png";
}
const turn_speed = 0.25; //How fast the car turns.
enableaccelerator(true); //Start accelerometer event.
onTimeout();
}
function onTimeout(){
temp.x = getAcceleratorAxis(0); //Get the x axis.
temp.y = getAcceleratorAxis(1); //Get the y axis.
temp.y = y.substring(0, (y < 0 ? 5 : 4)); //Substring it.
if(x > 0.1){
//Change the rotation based on device orientation;
//Other was you'd turn right when turning left.
//If the device was upside down.
y = y*-1;
}
if(y != 0.00){ //If the phone is actually rotated.
findimg(250).rotation += y*turn_speed; //Rotate it!
//The image is just a placeholder.
//In the real script you'd rotate the car.
}
settimer(0.05);
}