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.

The 20 Line Challenge / Jeez! Not Another Screen Saver! (DBPro)

Author
Message
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 26th Mar 2003 07:49 Edited at: 26th Mar 2003 18:55
Yep! Another one

This one uses the Set Sprite Diffuse command, which has now been fixed with the release of Patch 4.



Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
D Man
22
Years of Service
User Offline
Joined: 3rd Oct 2002
Location: Germany
Posted: 26th Mar 2003 09:23
Nice one .

"If you can't make it good
make it look good."
Bill Gates
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 26th Mar 2003 17:18
What is the effect of that command? Sorry, I haven't got pro.

Why the hell'd you ask me for crying out loud!?!
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 26th Mar 2003 18:01 Edited at: 26th Mar 2003 18:08
I quote from the DBPro manual:

Quote: "This command will set the diffuse values of the specified sprite. The diffuse values control the quantity of colour the sprite uses from each RGB component. The value ranges are 0 to 255, with 255 being completely full and 0 being no color use. If you only specified a value in the Red component, the sprite would appear a shade of red. Same goes for the other colours, and combinations of colour. The parameters should be specified using integer values.

SYNTAX:
SET SPRITE DIFFUSE Sprite Number, Red Value, Green Value, Blue Value"


Think of it as an Ink command for sprites

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.

Login to post a reply

Server time is: 2024-11-23 12:45:52
Your offset time is: 2024-11-23 12:45:52