kmfkfirst.blogg.se

Red and green bounce balls
Red and green bounce balls










When you want the best you want Rhino Skin. Rhino Skin balls feature a tough coating over a durable foam core. The ORIGINAL, non-sting coating is designed and made in Sweden and is so durable, it is virtually tear-proof! The Rhino Skin patented coating provides better performance than traditionally constructed balls, offering ease of play that is excellent for all age groups. Why settle for a substitute when you can have Rhino Skin - the best brand on the market! For top performance, choose our specially designed foam balls that offer a tear-proof and safe play experience for a multitude of games. Green_coordinates = canvas.Champion Sports 3.5 Inch Rhino Skin High Bounce Super 90 Ball Set Problem was in speed definition, in you code speed is changed globally 2 times instead of each time for each ball.Ĭanvas = Canvas(root, width=800, height=800, bg="grey") I have seen youtube videos of people showing how to do this and they seem to code it the same way but dont have this issue. If posgreen >= 1000 or posgreen = 1000 or posgreen = 1000 or posred = 1000 or posred <= 0: GreenBall = canvas.create_oval(5, 5, 35, 35, fill="green") from tkinter import *Ĭanvas = Canvas(root, width = 1000, height = 1000, bg="grey") However I have two balls, red and green, for some reason they don't seem to touch the top or left side of the canvas before the bouncing, and the distance from the edge seems to constantly increase.

red and green bounce balls red and green bounce balls

I've been trying to make a bouncing ball animation using Tkinter.

red and green bounce balls

I am currently studying computer science in university doing a foundation year, so I'm new to programming, we are doing a python unit and I'm doing my own project outside of the course content.












Red and green bounce balls