you write the following in code to make the walls and lines solid: if(touching color(black)){point in direction (180 - direction)if on edge, bounce} hope this helps.
Inkball. Draw lines to get the ball go into the hole.
Can someone tell me how to make the lines that you draw solid so that the ball will bouce off them.
- I got the lines to work, but the ball is gliching and traveling through the walls alot of the time.
Comments
You need to be logged in to post comments
Add a Comment
you write the following in code to make the walls and lines solid: if(touching color(black)){point in direction (180 - direction)if on edge, bounce} hope this helps.
(view all replies)Comment Reply