Edge Detection on Screen
- by user2056745
I have a edge collision problem with a simple game that i am developing. Its about throwing a coin across the screen. I am using the code below to detect edge collisions so i can make the coin bounce from the edges of the screen.
Everything works as i want except one case. When the coin hits left edge and goes to right edge the system doesnt…