A community for computer science students & developers about software development, game development, game design, games, anime preview & reviews and more!
A demo I wrote to figure out how collision detection works in Java. This demo shows 2 rectangles, one that is controlled by the mouse (white) and one that moves diagonally (green). if the white rectangle hits the green one the “hit” counter will go up by one. In this demo you must try to avoid the green rectangle and hit the upper left and lower right to gain points.
HappyFace
:: a freelance java developer that likes to write about Java related topics and blog about his personal interests (Games, Anime etc). A few of his sites includes http://www.engineeringserver.com and http://www.javaforums.net
[...] one that moves diagonally (green). i Demo video en sourecode can be downloaded on my site here Engineeringserver.com | Java 2d Collision detection demo __________________ Java open source software created by me or by our members [...]
August 19th, 2008 at 7:40 pm
[...] one that moves diagonally (green). i Demo video en sourecode can be downloaded on my site here Engineeringserver.com | Java 2d Collision detection demo __________________ Java open source software created by me or by our members [...]