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.

DarkBASIC Discussion / Color slider problem

Author
Message
PoHa!84
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location: To your left.
Posted: 9th Oct 2003 05:49
Hey everyone!

I've been working on my project, and I need to implement a color selection tool. I have the setup to select the red, green, and blue by use of a slider for each, but I can't get it to work. My problem is in the moving of the slider to... well, it's pretty complicated, and to fully understand it, you would probably need to see the code within my program. So I guess what I need is a function that would make a slider type thing for r, g, and b and would keep track of each value. I'll include your name in the credits if you help me.

Thanks...

Destroy you with my mind, I could!
. Cool, he is. Play his games, I do.
PoHa!84
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location: To your left.
Posted: 9th Oct 2003 07:13
Never mind this post. Sorry! I was trying to make things more complicated than they really were...

Ah... a complete day of making myself look like a complete idiot on the forums... Makes a person realize that...he...um.... eats soysauce...or something...

Destroy you with my mind, I could!
. Cool, he is. Play his games, I do.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 9th Oct 2003 07:22
hehe theres a unknown scientific factor and name for this condition.
What happens as soon as you post your question and hit that button, something inside changes and most of the time if your really trying the answer pops into your head afterwards.

We all have suffered from it at one stage.
lets call it post-obvious-ness-ness-ness
or post-duh!

dont sweat it, It shows your thinking and trying. anyone who dismisses you for that isnt worth your smelly socks mate

PoHa!84
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location: To your left.
Posted: 9th Oct 2003 07:25
You're so freakin' cool indi. Gimme another phrase! I almost died laughing at "Stimpy hand kawalski that glass of meat!" (P.S. this is not meant as mockery, more like envy that I don't know any cool phrases such as... )

Destroy you with my mind, I could!
. Cool, he is. Play his games, I do.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 9th Oct 2003 07:44
thats from a famous cartoon called ren and stimpy bro.

It was a famous cartoon a few years back that poked fun at everything.

Its not my handiwork but actually from the creator John Kricfalusi ( dont try to pronnouce his last name or you will sprain your tongue)

Hes a master of insane stuff


The episode was where ren the chiwawa was to become a daddy for a day but he ended up being a daddy to a full grown hairy man who was a criminal in jail. when they went to the park for a nice day he asked him what he would like to drink and kawalski said in a big gruff voice MEAT!

so stimpy the cat poured him a glass of meat

PoHa!84
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location: To your left.
Posted: 9th Oct 2003 17:35
Ha! That's insane! I love Ren and Stimpy, but I never had cable until recently, and for some reason I don't seem to watch it now...
Anyways, I was under the impression that it was a phrase from down under, or somesuch. Oh well, it looks like I'll try my hand at another day of making myself look stupid...

Destroy you with my mind, I could!
. Cool, he is. Play his games, I do.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 9th Oct 2003 17:43
hehe your alright mate If someone is stupid in OZ theres a million ways to describe it.

One of my personal favorites is 4 buscuits. It means u are 4 buscuits short of a packet or not a full sandwich.

I had a mate we called 4 buscuits for ages until he realised what we were saying. He just thought it was a nickname

PoHa!84
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location: To your left.
Posted: 9th Oct 2003 18:04
Lol that's great, indi! I'm gonna start calling people 4 buscuits now. They won't know what to think!

Destroy you with my mind, I could!
. Cool, he is. Play his games, I do.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 9th Oct 2003 18:23
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 10th Oct 2003 07:32
LoL... Ren and Stimpy RULE!

I stay up till 2 in the morning sometimes to watch it on Foxtel on Nicelodeon (however you spell it)...

i LOVE the episodes where Ren is a presenter on his own show and he does documentaries on the wild hairy people that live in the forests... LoL...

Ah, the memories...

Indi, i must say, you have got to be the most relaxed Moderator in these forums...

Keep up the good work...

Knowladge Belongs To The People...
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 10th Oct 2003 08:35
thanks jess. Ironically yesterday though "Terabyte" chewed my head off in the chat room being insulting somehow to my reply drakex in another post.

I guess theres no pleasing some people and everyone but hey its not my problem if they wish to challenge authority for whatever glitch they have.

thanks again it helps to know some people think im doing alright.

PolyVector
22
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Ghetto Land
Posted: 15th Oct 2003 19:05
Hate to bring the sad news but I believe John K. and the rest of Spumco were fired around the second season so that Nickalodian could make more $$$...most of the R&S cartoons were done by sweat-shop animators featuring the voice of (sell-out)Billy West...

Funny how I'm always on this forum but I never seem to post anything involving programming!
oh well
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 15th Oct 2003 19:25
its easy to spot a John K R&S and a inferior one.

PoHa!84
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location: To your left.
Posted: 15th Oct 2003 19:28
Yep. R&S were cool. So were the Ripping Friends, also made by John K. Something happened to that show too, though. (lol this is getting way off topic...)

Destroy you with my mind, I could!
. Cool, he is. Play his games, I do.
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 16th Oct 2003 11:34
Indi, what part of Australia do you hail from? I ask only to inquire as to weather you have Cable or Satellite (or neither)...

Knowladge Belongs To The People...
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 16th Oct 2003 15:50
i have cable at this warehouse in sydney.
sat is available as well here.

Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 16th Oct 2003 16:19
Sydney eh?

nice, i watched a bit of cable, the comercial channels are sooooooo much better than on Satellite, no interference.

I have satellite, Foxtel.

Im on the Central Coast, bout half way inbetween Sydney and Newcastle.

Interesting...



Knowladge Belongs To The People...
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 17th Oct 2003 03:45
I only have cable for internet, I dont watch to much of the weapon of mass distraction so I dont subscribe to cable tv.

Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 17th Oct 2003 05:47
Ah, ok... I have ADSL for internet, not satellite, but i have satellite foxtel... Thats where i see Ren & Stimpy

Are there many Ozzy's that use DB?

Just curious.

Knowladge Belongs To The People...
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 26th Oct 2003 08:12
Hey PoHa!84, i was just thinking....

For the colour slider...

For each red green and blue values... you should make it like in Photoshop etc, where you can enter different values for the different colours, then have a seperate "slider" that shows the actual colour...

To do this, use the "slider" sprite (or image, or whatever it is that you click and drag) use its screen x and y values to get where it is next to the bar with the colour in it, then use the Point(x,y) command, and get the colour of the screen at that point (just next to where the "slider" is pointing) which gives you the selected colour...

Hope That makes sence to you...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
PoHa!84
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location: To your left.
Posted: 27th Oct 2003 04:07
Erm... no, it didn't really. I'll read it again though.

Did you get my pre-beta program? Does it work ok?

Destroy you with my mind, I could!

Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 27th Oct 2003 04:34
Um, yes, i got it, but i havent oppened it yet (it maxed out my email acount, so i d/l'd it then forgot about it, sorry)

When i get home ill write up a code example that should show you how to do it


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
PoHa!84
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location: To your left.
Posted: 27th Oct 2003 05:01
Erm... ok.

Destroy you with my mind, I could!

Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 27th Oct 2003 13:12 Edited at: 27th Oct 2003 13:13
Ok, well, about 3DJect Maker, it's jam-packed full of errors atm... but it looks good otherwise...

And for the colour slider, here it is.
It's self explanitory, really.

http://www.freewebs.com/jessticular/colour%20slider.zip


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
PoHa!84
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location: To your left.
Posted: 27th Oct 2003 16:19 Edited at: 27th Oct 2003 16:29
Well, that's why I called it a pre-beta. Um... but what were the errors? Too numerous to count? Probably better to e-mail and tell me I guess...

[edit] Sweet color slider, JessTicular. Um... Can I tweak it a little and use it in my program (giving you credit, of course)???[end edit]

Destroy you with my mind, I could!

Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 28th Oct 2003 04:13
Ok, ill email you listing all the errors which i get.

Btw, that's why i made the slider.

I might change it a bit later so its a fully wroking function, where you pass in the needed data...

I guess im in the credits alot now am i?

Lol...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
PoHa!84
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location: To your left.
Posted: 28th Oct 2003 04:57
Quote: "I guess im in the credits alot now am i?"


Let's see...

Tester...
Color Slider...
Support...
Most frequent poster on my threads...
Person most mentioned in my credits (possibly more than me )...

Yep. Quite a few times...

Destroy you with my mind, I could!

Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 28th Oct 2003 12:59
LoL... Too true... Too true...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy

Login to post a reply

Server time is: 2025-05-21 10:03:05
Your offset time is: 2025-05-21 10:03:05