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.

Dark GDK / Sparkys Collision Error

Author
Message
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 3rd Oct 2008 06:23
Alright i dono why i am getting errors but i have Microsoft Visual C++ 2008 Express Edition. I copied all the files in the proper places. But when i do





I get an error saying
"Error During Collision Check Object(1)"
Any Help?
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 4th Oct 2008 10:28
bump? Please help
Wikaman1
16
Years of Service
User Offline
Joined: 17th Aug 2008
Location: Scotland
Posted: 4th Oct 2008 11:31
I took out
and it worked fine.
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 4th Oct 2008 23:37
Okay well i found a tutorial on collusion and here is my full code.. But collision doesn't work! Its really making me mad why it wont work i dont understand it.

white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 6th Oct 2008 01:03
Bump again sorry i really need help with collision
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 7th Oct 2008 01:11
Bump again please help
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 7th Oct 2008 03:10
I've never used Sparky's collision DLL, so I can't answer your question, but I don't recommend bumping like that. The Mods don't like it.

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 7th Oct 2008 04:21
Ohh sorry i didn't think they would mind because it was a day apart but how do you do collision?
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 9th Oct 2008 21:23
been 3 days i think its safe enough to bump haha
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 9th Oct 2008 23:41
Looking over your code, I'm really not sure what's wrong. Could you copy and paste the error into a code-snippet box?

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 10th Oct 2008 02:01
There is no errors collision just dont work.
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 10th Oct 2008 02:13
Could it possibly be that calling ThirdPerson() after the collision could be undoing whatever it did?

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 10th Oct 2008 05:39
if i put it in the beginning it still wont work xD
Does anyone else have a 3rd person view working with collision?
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 10th Oct 2008 05:40
Can you make it work without calling ThirdPerson()?

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 11th Oct 2008 01:06
No it still wont collide. Btw you can execute the code i believe?
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 11th Oct 2008 02:07
I don't have Sparky's, so not sure.

I'd look into the basics of SC for you, but, to be honest, I'm busy learning some other things at the moment, and they're proving difficult by themselves (mainly HLA assembler ).

I'm surprised that no one who knows Sparky's has jumped in to solve this yet.

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 11th Oct 2008 08:30
Sorry i am not good with Abbreviations whats SC?
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 11th Oct 2008 08:48
^Sparky's Collision.

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 12th Oct 2008 00:14
haha so what do you use?
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 12th Oct 2008 03:41
I don't do any 3D work. I'm learning the Win32 API at the moment, and will be learning x86 ASM after that. So, yeah.

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 13th Oct 2008 01:26
I am learning Win32 atm as well
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 13th Oct 2008 02:04
Crazy use of #define's, for sure.

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 14th Oct 2008 00:18
Especially when i am use to coding in pure PHP
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 14th Oct 2008 05:53
Brotha! My name is Kyle, I'm white, and I'm used to coding in pure PHP too!
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 16th Oct 2008 21:38
xD nice ^^
Anyone else wanna help?
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 19th Oct 2008 06:04
Does no 1 know collision xD
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 19th Oct 2008 14:50
What do you need collision on? The camera or an object?

By the way as you all learning win api, can any of you help me make a windows button in a gdk program?

white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 20th Oct 2008 08:30
Collision on an object
white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 22nd Oct 2008 09:10
This is really gettttttiiiiinnnnngggggg old!
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 23rd Oct 2008 11:41 Edited at: 23rd Oct 2008 11:42
The look at the object collision commands in sparkys, then after the object has moved if it collided the reposition it using the slide X,Y and Z commands

white boy kyle
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location:
Posted: 24th Oct 2008 03:55
Lol i have over and over again. Thats the funny party. I have collision detecting code written it but it wont work.
Ninjateck
16
Years of Service
User Offline
Joined: 27th Feb 2008
Location:
Posted: 24th Oct 2008 04:48
in the loop make sure you call



without it, collision will do no good
call it in the loop
before and after the object movement code

http://ninjagms.wetpaint.com/

Login to post a reply

Server time is: 2024-09-30 09:31:54
Your offset time is: 2024-09-30 09:31:54