in my game i create i want the player will move for some pixel for second when i pess the right key and will increase the speed every time i press right key also when i not press the key the speed will normal. is anyone can help me
Is this what you need?
Develop games in your browser. Powerful, performant & highly capable.