I am new to processing and i currently have an ellipse that floats around the screen and its direction is controlled by the arrow keys. However, I want to make barriers in a maze like form that will block the path of the moving ellipse but, i don't know how to create multiple barriers that the ellipse will not pass through. If anyone can help that would be greatly appreciated. Thanks!
↧