+8

p5 Animation and Collision [SOLVED] (Leaving question if anyone else has same issue)

I am just starting out in p5, how can I stop the shape from overlapping as it moves? https://code.sololearn.com/WdXWSz2c6rnS/?ref=app

4/22/2019 7:37:35 AM

☕( ͡⚆ ͜ʖ ͡⚆)🐈

10 Answers

New Answer

+10

https://code.sololearn.com/WxAyI9GRjgCU/?ref=app You just need give some backgorund() you can also use clear() ( ͡⚆ ͜ʖ ͡⚆) see it works ??

+4

+4

Coder Do you know how to make the ball bounce on the top layer as well? I have made the collision correct but only on one side

+3

Coder Can you help?

+3

Coder Thanks for the help! I've done it!

+3

Yes I do Taekwondo (Korean Martial Art) https://code.sololearn.com/W9RCFM8kZuEZ/?ref=app

+2

look at my code “ mirror of colors” if you get to know how to make it bounce to top layer, can you also say to me the technique

+2

wait you play karate?

+2

its obvious in your profile picture

+1

oh wait im high brown in taekwondo im still going to be promoted to 1st poom blackbelt coz im just 10 yrs old