Java 2D Rectangle Collision? [on hold]
- by Andreas Elia
I am just wanting to know of another (longer OR shorter) way of getting 100% effective collisions on a 2D plat-former. The current collision system that is in place works from coords on the level and does not always work reliably.
Thank you in advance for any help/support.
The current system draws a rectangle and is checking to see if any two points collide. From testing, the system can sometimes "glitch" and allow the player to collide into walls etc.
Player Class
http://pastebin.com/2zE8vz8R
Main Class
http://pastebin.com/A6Utb3ti