
Learn Python by Building Five Games - Full Course
video description
Date: 2022-03-14
Comments and reviews: 10
hyacinthdibley2
-Question-
My ball flies across the screen at an alarming rate. Why is this happening? Someone plz help.
I've tried 2 things that corrected this 'problem-.
1) Under -Move the ball- I've divided the ball speed by 20 as seen below:
-ball.setx(ball.xcor() + ball.dx/20) and I've done same for the y coordinate.
OR
2) Under the #Ball section, I reduced the -ball.dx- and -ball.dy- to less than 2.
But why is my result so different from the tutorial's if I used the same settings? Ya know? Any help from anyone will be appreciated. Thanks.
reply
-Question-
My ball flies across the screen at an alarming rate. Why is this happening? Someone plz help.
I've tried 2 things that corrected this 'problem-.
1) Under -Move the ball- I've divided the ball speed by 20 as seen below:
-ball.setx(ball.xcor() + ball.dx/20) and I've done same for the y coordinate.
OR
2) Under the #Ball section, I reduced the -ball.dx- and -ball.dy- to less than 2.
But why is my result so different from the tutorial's if I used the same settings? Ya know? Any help from anyone will be appreciated. Thanks.
reply
Kevin
Hey! Trying this out to further build on my class work, and I-m hitting a pretty huge snag. I-m operating on Win10, btw. The code has spoken perfectly save for when I get to the ball motion. -if ball.ycor() > 290:- and after the ball is just dragging itself across the bottom of the screen. I also noticed it won-t bounce. Once it hits the walls it just drags across there too. Thoughts?
reply
Hey! Trying this out to further build on my class work, and I-m hitting a pretty huge snag. I-m operating on Win10, btw. The code has spoken perfectly save for when I get to the ball motion. -if ball.ycor() > 290:- and after the ball is just dragging itself across the bottom of the screen. I also noticed it won-t bounce. Once it hits the walls it just drags across there too. Thoughts?
reply
Jack
python window closed on me when the ball hit paddle b
edit:
when I run code in interactive window mode thingy, it comes up with an error when ball hits paddle_b. It says 'Turtle' object has no attribute 'setyx' how do I fix this
reply
python window closed on me when the ball hit paddle b
edit:
when I run code in interactive window mode thingy, it comes up with an error when ball hits paddle_b. It says 'Turtle' object has no attribute 'setyx' how do I fix this
reply
Gameleon
For the Tetris tutorial, every time I run it, it says -SyntaxError: unexpected character after line continuation character- on line 25. I'm not sure why it does this. If anyone knows how to fix this, please tell me. Thank you!
reply
For the Tetris tutorial, every time I run it, it says -SyntaxError: unexpected character after line continuation character- on line 25. I'm not sure why it does this. If anyone knows how to fix this, please tell me. Thank you!
reply
Jack
python keeps crashing how do I fix this I start it with the built in terminal btw
it also doesn't respond when I run code with interactive window
edit:
nvm I got it I typed turtle.Turtle instead of turtle.Turtle( )
reply
python keeps crashing how do I fix this I start it with the built in terminal btw
it also doesn't respond when I run code with interactive window
edit:
nvm I got it I typed turtle.Turtle instead of turtle.Turtle( )
reply
Otis356B
I need help, in first game, where is the ball.setx(ball.dx() + ball.dx) and ball.sety(ball.dy() + ball.dy), it still showing me error, when i fix it with 4 spaces, or tab, i dont know how to fix...
reply
I need help, in first game, where is the ball.setx(ball.dx() + ball.dx) and ball.sety(ball.dy() + ball.dy), it still showing me error, when i fix it with 4 spaces, or tab, i dont know how to fix...
reply
Chenko
I created my first app by doing what he did, didn't do nothing by myself but it's the best way of learning because the next time I'll at least have the concept. Learning practically is the best way.
reply
I created my first app by doing what he did, didn't do nothing by myself but it's the best way of learning because the next time I'll at least have the concept. Learning practically is the best way.
reply
Luca
so i followed you at the first thing but then the windows where pong should be in obend for 1 sec and cloes atomaticly i checkd everything and didnt found the misstake?
reply
so i followed you at the first thing but then the windows where pong should be in obend for 1 sec and cloes atomaticly i checkd everything and didnt found the misstake?
reply
Duo
excuse me may i ask you what app are you using please
i use pycham but it keeps saying eroor on the run panel and not windows pops in
somebody please tell me
reply
excuse me may i ask you what app are you using please
i use pycham but it keeps saying eroor on the run panel and not windows pops in
somebody please tell me
reply
mans
it just says -y=paddel1.ycor(1)-
TypeError: ycor() takes 1 positional argument but 2 were given- when i try to make it go down. Why? SOMEONE PLEAS HELP ME :(
reply
it just says -y=paddel1.ycor(1)-
TypeError: ycor() takes 1 positional argument but 2 were given- when i try to make it go down. Why? SOMEONE PLEAS HELP ME :(
reply
Add a review, comment
Other channel videos















