GetDotted Domains

Viewing Thread:
"Game Programmning-in java"

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.

Mon 20/10/03 at 00:03
Regular
"Master Chef - halo"
Posts: 426
Just for the sake of FOG I'm going to post this in here.





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?
Sat 25/10/03 at 13:14
Regular
Posts: 2,774
Tripitaka Shanks wrote:
> 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*
Fri 24/10/03 at 23:05
Regular
"Eric The Half A Bee"
Posts: 5,347
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 :)
Thu 23/10/03 at 16:52
Regular
"+34 Intellect"
Posts: 21,334
pb wrote:
> I tried programming in Java once, but I couldn't get the coffee stains
> out afterwards...
>
>
> wacca wacca wacca etc...

*Audible groan*
Wed 22/10/03 at 00:10
Regular
"Picking a winner!"
Posts: 8,502
If you give more details and let us know a bit more about what you are doing and how you plan to achieve it (maybe also some code) then I'll gladly look through and give any help I can.
Tue 21/10/03 at 23:22
Moderator
"possibly impossible"
Posts: 24,985
I tried programming in Java once, but I couldn't get the coffee stains out afterwards...


wacca wacca wacca etc...
Tue 21/10/03 at 20:27
Regular
Posts: 2,774
well for those of you who do not know what 'collision' is, i'll tell you.

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*
Mon 20/10/03 at 22:03
Regular
"Eric The Half A Bee"
Posts: 5,347
Socks D Snake wrote:
> 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?
Mon 20/10/03 at 13:52
Regular
"Picking a winner!"
Posts: 8,502
Thats a very very vauge question. I take it you have classes for the objects and the other parts of your game. Well you probably need methods for objects colliding etc.

More info might make it easier to work out exactly what you are after.
Mon 20/10/03 at 00:03
Regular
"Master Chef - halo"
Posts: 426
Just for the sake of FOG I'm going to post this in here.





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?

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Excellent
Excellent communication, polite and courteous staff - I was dealt with professionally. 10/10
Wonderful...
... and so easy-to-use even for a technophobe like me. I had my website up in a couple of hours. Thank you.
Vivien

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.