Saw a squash tutorial on picozine 1 and
decided to toy with the options
P#29645 2016-09-29 00:34 ( Edited 2017-01-04 23:27)
:: shawneeboy
I'm currently making an enhanced version of squashy (you can see it on my profile). I was wondering, which part of your code made it so the ball bounced at angles? I'm new to coding so my current system just has a circle and a rectangle and when they collide, the ball y direction just reverses (and also speeds up a little). It would be very helpful.
P#34938 2017-01-04 16:30 ( Edited 2017-01-04 21:30)
:: Level27Geek
@shawneeboy - I solved it by using a pitagoran therum. It is not the most sophisticated solution, but it worked for a noob coder like me.
P#34945 2017-01-04 18:27 ( Edited 2017-01-04 23:27)
[Please log in to post a comment]



