Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Chiwawa
23
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 20th Apr 2003 08:45 Edited at: 20th Apr 2003 08:46
hi... im working on a little demo... but i have a little problem...collision does not work...... im working on ..my bug..for 2hours...and i dont find..why it does not work... ive tried it without all the code...just collision part...and it work.....but.... with full code it does not work..

the collision part is in the "if tire=1"

then....plz find my error...
Danmatsuma
23
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 20th Apr 2003 09:44
Try set object collision off 99

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.
Danmatsuma
23
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 20th Apr 2003 09:50
Ahh hell I was bored, here you go

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.
Chiwawa
23
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 20th Apr 2003 10:11
...i wont check collision for all object..... but i can do it this way...like you did..but it does not work .... set the collision of object 1 to 0...and it does not work ..... does it is because glued object...cant ... be used to detect collision?
Chiwawa
23
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 20th Apr 2003 10:14
hmm yeah i think its because ...glued object become..part of the object........damn it..
Danmatsuma
23
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 20th Apr 2003 10:55
Well i introduced the variable coll, and you can check that variable to see which object the bullet has collided with

It does work, maybe try changing the ink to white and you'll see the text Collision!!! come up better.

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.
Chiwawa
23
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 20th Apr 2003 11:34
damn..lol i dont think you understand

check ..ive already fixed the problem....try it you will see what it is suppose to do...

and ..the prob was not..the detection..method..it was..that GLUED OBJECT become PART of the OBJECT ..then you CANT detect ..the collision..with a glued object......

try the code..you will see..its almost..finish..
Danmatsuma
23
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 20th Apr 2003 11:44
*LOL* hehehe that's pretty funny
If you put gravity on the limbs you could shoot his legs out from under him and he'd collapse

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.
Chiwawa
23
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 20th Apr 2003 11:58
yeah i will ...its just the begening...
in fact it will be a little demo..

-you will be able to take a Bow: limb will continue with the arrow
-you will be able to take a gun: limb will only move..with the rest of the body...

and maybe ..some other..function...
it will be with gravity...

and ...im angry...hmm or hungry..i do not remember... (the opposite of happy ) because..the !/|"!$/ attached objet..become a part of the object.....i mean you cant detect...collison on each glued object..they become like limb

its a littlebit more complex...but ill be able to ..acheive it ..anyway

Login to post a reply

Server time is: 2026-06-12 03:35:53
Your offset time is: 2026-06-12 03:35:53