How do Move this block down | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do Move this block down

I am trying to learn how to make a game out of html, and I'm just letting you know, that there will be help needed 😂, as I've never done this and I can't find a really good tutorial. https://code.sololearn.com/W0NyZ77GDBnp/?ref=app

9th Mar 2019, 3:21 AM
Pierson
Pierson - avatar
5 Answers
+ 1
https://www.w3schools.com/graphics/game_intro.asp
9th Mar 2019, 3:44 AM
ODLNT
ODLNT - avatar
0
I dont mean for the game, like I want to position it lower
9th Mar 2019, 4:11 AM
Pierson
Pierson - avatar
0
Pierson Let's start with line 36 of your code. // Look HERE VVV So I look at line 37 and see this.y = 50 https://www.w3schools.com/graphics/canvas_coordinates.asp
9th Mar 2019, 4:53 AM
ODLNT
ODLNT - avatar
0
Im sorry, I really dont understand, Im so clueless about canvases, ive been trying to reverse engineer the W3school ones which I am usually really good with but I cant with this one.
10th Mar 2019, 12:27 AM
Pierson
Pierson - avatar
0
At line 37 replace 50 with 200
10th Mar 2019, 2:39 AM
ODLNT
ODLNT - avatar