
August 29th, 2006, 04:13 PM
|
|
Contributing User
|
|
Join Date: Aug 2006
Location: belgium
Posts: 116

Time spent in forums: 1 Day 7 h 2 m 45 sec
Reputation Power: 7
|
|
|
Java applets games
can someone tell me how to register 2 objects who hit each other?
I mean when they hit each other.
what i'm meaning is that.
you got a rectangele
g.drawRect(...,...,...,...);
and an oval
g.drawOval(...,...,...,...,);
the oval moves up.
and hit's the rectangel on any spot
then it goes back.
if the oval misses the rectangle
it passes the border of the applet and is gone
sry for my bad English but I'm a foreigner
|