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.

Newcomers DBPro Corner / INK value,value. What does the second value do?

Author
Message
Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 19th Aug 2012 17:03
I often use INK rgb(0,0,0),rgb(0,0,0) for coloring text. The first value colors the letters and the second should be background ink but I have never seen it change anything when fiddling with it? What excactly does it do?

The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 19th Aug 2012 18:06
Try changing the colour to something other than black... When using a black background...

Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 20th Aug 2012 14:35
This code



produced a black screen with red text?

The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 20th Aug 2012 15:02 Edited at: 20th Aug 2012 15:04
try this, the top commented out bits are optional...



EDIT

Woops didnt close the first code tag

hope that helps

Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 20th Aug 2012 20:16
Thank you for explaining. It might come in handy some day

The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 20th Aug 2012 23:10
You are very welcome and thank you too

Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 30th Aug 2012 15:43
I already started using it

The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 31st Aug 2012 01:38
I would advise on the use of Advanced 2D plgins text features... I was very reluctant to start using the community plugins for the past 2 years as I wanted to understand how the ones I purchased worked first... I now have Matrix1Utils installed not used much aside from with DarkOcclusions... but intend to utilise it once I get around to its vastness... and also I now have Advanced 2D installed too... and because it is so important to my projects... the XBOX 360 plugin which allows use of the vibration feedback with great effect...

let me know if you need any direction with these... I have many more community plugins to tap into yet...

but yeah, many people tell me the OPAQUE command can slow your application down... if you do notice slight changes in FPS as your game gets complex, try turning off the text functions and try A2D[Advanced 2D] as a substiture, it is nice that it can wrap text! as well as ebed fonts I believe...

hope this all helps...

Login to post a reply

Server time is: 2024-11-23 18:06:03
Your offset time is: 2024-11-23 18:06:03