The "General Games Chat" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
O.K. I'm learning java and know quite a bit but I can't work out how to let the game know something has collided with another object.
Any one that can help?
> UrkiE-UK wrote:
> 'what command do i use, with which
> object, to let the program know something has collided, to get a
> reaction event'
>
> *sticks tongue out shortly, whipping it back in*
>
> lol... that really doesnt help man :)
then my work here is done!!!
*disappears after throwing small marble-like object on the floor, creating big cloud of smoke, and then running out of fire exit*
> 'what command do i use, with which
> object, to let the program know something has collided, to get a
> reaction event'
>
> *sticks tongue out shortly, whipping it back in*
lol... that really doesnt help man :)
> I tried programming in Java once, but I couldn't get the coffee stains
> out afterwards...
>
>
> wacca wacca wacca etc...
*Audible groan*
wacca wacca wacca etc...
Collision is the technical word for one object touching another. collision is what makes your rocket explode against walls, or the particles from your flame thrower that fry your target.
What he basically means is, 'what command do i use, with which object, to let the program know something has collided, to get a reaction event'
*sticks tongue out shortly, whipping it back in*
> O.K. I'm learning java and know quite a bit but I can't work out how
> to let the game know something has collided with another object.
>
> Any one that can help?
Do you mean, how to figure out if two objects have collided? - like say an a laser hitting a space invader or a ghost colliding with Pac-Man?
More info might make it easier to work out exactly what you are after.
O.K. I'm learning java and know quite a bit but I can't work out how to let the game know something has collided with another object.
Any one that can help?