Python Bouncing Ball Simulator 2

preview_player
Показать описание
NEED HELP?

❤️❤️ SHOW SOME LOVE AND SUPPORT THE CHANNEL ❤️❤️

Click Join and Become a Channel Member Today!
Channel members can get preferential comment replies, early access to new content, members only live streams, and access to my private Discord.

Amazon Affiliate Links

Other Affiliate Links

LINKS

LEARN MORE PYTHON

LEARN MORE JAVA

#Python #Tutorial #Beginner
Рекомендации по теме
Комментарии
Автор

I added a variable called ball.mass and I wondered what would happen if mass was negative and it went up and not down, I was surprised because mass also controlled the size. I thought a negative mass would make python try to draw a negative circle but instead it ran normally except for going up and not down. The irony of this is there is such thing as negative mass, it’s probably talked about in any physics YouTube channel

celiacasimiro
Автор

after the "wn.update()" line, my ball starts going so fast it's in two places at once.

meiyinwu
Автор

My ball has seizures :(
- The coding is IMPOSIBRUU

void_
Автор

My ball flickers a lot and it is always clipping. Its top or bottom half is not loading

prashantchandel
Автор

i just put the tracer and update functions in you older space invaders game and its running so gosh darn fast i almost die instantly

Vinni-K
Автор

can you add the ball bounce according to a strength apply . Let say if strength is 9, it bounces up higher and if the strength is low, it bounces less .

theendtimesmarketpredictio
Автор

After I saw that have only 269 likes under this video I got shocked😲. You're a great teacher 🙂, and you deserve more respect than that

gr_ns
Автор

I don't know why is that happening, but I always have to set the speed values about 30 times smaller, because when I use the the yours, the ball is moving so fast that you almost can't see it. And although I can reduce it a bit by changing the values, the ball graphic is bad and I don't see it whole. :/ My computer is quite slow.... but is there any way to fix this problem?

jakubpodskalsky
Автор

When i follow along, same code and everything it causes python to stop responding on my mac.. any idea why?

zacksneed
Автор

Man, something odd happened. I followed the the coding just like u did, but just with the coding from your previous video my ball starts losing "kinect energy" and bouce a little lower everytime unitl it starts shaking on the ground

arthurmagalhaes
Автор

i shaped my ball circle but it becomes something else while dropping

utsabsapkota
Автор

hello,
found this out,
instead of writing
if ball.xcor() > 300:
ball.dx *= -1

if ball.xcor() < -300:
ball.dx *= -1,
you can write,
if ball.xcor() > 300if ball.xcor() < -300:
ball.dx *= -1

sakmancap
Автор

So at the part when you add " wn.tracer(0)" the balls just jumps all over the screen

omgitzurdad
Автор

what version of python do you have, my turtle module is super glitchy, and the ball turns invisible at times if the ball goes too fast

skterkyd
Автор

The four dislikes are from the people that use java script

unbreakable
Автор

sorry to bother you again but recently I was working on a game where at the end of the game a keyboard key is binded to a function that will exit the game. Now the problem is after I converted it to a excecutable file, whenever I pressed that key it quitted the game but I get a error message that says 'Fatal Error!', 'Failed to Excecute the script'.Any idea why that happens?

GamerFardin
Автор

don't know why but same code never worked on Apple M1 python. Same code and all packages installed.

someonelikeyou
Автор

Can anyone explain .tracer(0) and .update()

fabspark
Автор

Sorry sir I watch your videos but didn't subscribe.
Now:i subscribed😊

coobypop