0

help me please

English: I need to make a ball that will move in my figure: a square or a rectangle, who understands help me please :D Russian: Мне нужно сделать шарик который будет двигаться в моей фигуре: квадрат или же прямоуголиник, кто понимает помогите пожалуйста :D

3rd Jun 2020, 1:06 PM
Danil Spakov
Danil Spakov - avatar
8 Antworten
+ 3
Maybe this gives you an idea ,and sorry if you don't understand but the idea is to move the ball left ,down,right and top and left again, https://code.sololearn.com/WPHClrkufJ3o/?ref=app
3rd Jun 2020, 1:42 PM
Abhay
Abhay - avatar
+ 3
Look at the css code for ball carefully and if you don't understand all these ,then go through Html course,then css and later js
3rd Jun 2020, 2:00 PM
Abhay
Abhay - avatar
+ 2
Abhay, Thank you so much, you really helped, and you guys also thank you: D
3rd Jun 2020, 1:48 PM
Danil Spakov
Danil Spakov - avatar
+ 1
Change its x and y using js , U should share your code
3rd Jun 2020, 1:11 PM
Priyanshu Gupta(प्रियांशु गुप्ता)
Priyanshu Gupta(प्रियांशु गुप्ता) - avatar
0
but how to make in a circle? just learning: D
3rd Jun 2020, 1:58 PM
Danil Spakov
Danil Spakov - avatar
0
I just have a rounded rectangle and I would like for the ball to travel beautifully inside
3rd Jun 2020, 2:00 PM
Danil Spakov
Danil Spakov - avatar
0
I can’t understand what is there?
3rd Jun 2020, 2:02 PM
Danil Spakov
Danil Spakov - avatar