Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
2

How do you make a player move?

MatthewX
MatthewX

How do you make a player move in html and javascript? I want the player to take small steps everytime u press wasd. Also how do i add an element like an image to a list in html and javascript? And how do you make a small window like canvas in html that pops up when you click a button?

2 years ago
You are viewing a single comment. View All
1
SixBeeps
SixBeeps

@MatthewX
You really shouldn't be using an img for that, but if you have no other choice, learn CSS and look into the position, top, and left properties.

2 years ago