- create flipbook animations online!
Login
I know how to code!
3 comments
20.01.2021 13:14
Link
Report
Is this comment inappropriate? Report it?
Yes
No
Thank you!
if (key === 'd') { this.x += 5; // move character right }
20.01.2021 13:14
Link
Report
Is this comment inappropriate? Report it?
Yes
No
Thank you!
put it in wick editor
22.01.2021 10:20
Link
Report
Is this comment inappropriate? Report it?
Yes
No
Thank you!
THis is the whole thing : if (key === "w") this.y -= 10; if (key === "s") this.y += 10; if (key === "a") this.x -= 10; if (key === "d") this.x += 10;
Login or register to post new comments.