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 / dbSpriteWidth(), dbSpriteHeight()

Author
Message
Jimmy
21
Years of Service
User Offline
Joined: 20th Aug 2003
Location: Back in the USA
Posted: 19th Dec 2004 15:49
dbSpriteWidth() and dbSpriteHeight() both return -1 no matter which sprite I pass as a parameter.

I even tried using dbSizeSprite() beforehand and they STILL returned -1.

Oh, and dbSpriteCollision() does no appear to work either.

Kind of makes me want to end it all with an umbrella and an empty milk carton.


Remember, Jimmy still loves you.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 19th Dec 2004 17:48
Yes - it is a bit annoying. Are you using VS .Net by any chance ? If so, can someone with VS6 also confirm that these functions have problems (I want to see if its just a problem with the .Net version or not).

Beware the cat... The alien... The heretic...
Stevil
22
Years of Service
User Offline
Joined: 31st Oct 2002
Location: Australia
Posted: 19th Dec 2004 20:35
Using VS6



returns -1 aswell (Same with Height) Yet another bug it seems. Am starting to notice a few of them popping up now making it hard for me to write my quake Vs half life 2006 clone
Erick G
Retired Moderator
20
Years of Service
User Offline
Joined: 2nd Oct 2004
Location: Texas, USA
Posted: 20th Dec 2004 01:41 Edited at: 20th Dec 2004 01:42
I got that today too. I need those functions badly.

EDIT* I am using .net
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 20th Dec 2004 02:22
Looks like it is the complete SDK system (and not just the VS .Net or VS6 version thats wonky).

Beware the cat... The alien... The heretic...
Erick G
Retired Moderator
20
Years of Service
User Offline
Joined: 2nd Oct 2004
Location: Texas, USA
Posted: 20th Dec 2004 12:50
My Fade bitmap does not work either.
Jimmy
21
Years of Service
User Offline
Joined: 20th Aug 2003
Location: Back in the USA
Posted: 21st Dec 2004 01:08 Edited at: 21st Dec 2004 01:09
Yeah, I am using VS6

Well... I WAS.

I think TGC deserves a heart-felt and resounding, "Thank you for selling me an unfinished product... and right before Christmas. "


Remember, Jimmy still loves you.
MiR
21
Years of Service
User Offline
Joined: 13th Jul 2003
Location: Spain
Posted: 21st Dec 2004 01:41
I don´t think the commad Cls works either. Anyone else had this problem? I´m not talking about CLS but Cls in the 2d section.


A bargain at 640000€
Libera tu mente y te liberaras.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 21st Dec 2004 02:56 Edited at: 21st Dec 2004 02:58
Mike says he hopes to have the DarkSDK update done before Christmas...

This works, by the way : dbCLS(RGB(255,255,0));

Beware the cat... The alien... The heretic...
MiR
21
Years of Service
User Offline
Joined: 13th Jul 2003
Location: Spain
Posted: 21st Dec 2004 06:36
Ah. I was calling it wrong. It puts Cls in the help files.....


A bargain at 640000€
Libera tu mente y te liberaras.

Login to post a reply

Server time is: 2024-11-22 14:07:30
Your offset time is: 2024-11-22 14:07:30