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.

AppGameKit Classic Chat / HSL Color picker help

Author
Message
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 10th Sep 2019 02:19 Edited at: 10th Sep 2019 02:24
I am using some code i found on the board (By Scraggle, Thanks matey!) which was for DarkBasic
I have attempted to convert it to AppGameKit and am having a slight issue.
When i run my code i get the following color range;



If i have a look at another apps colour range it looks like this;


As you can see my color range is getting that yellow band over on the right whereas the other one ends with that red colour.

Here is the code;


Here is the original code posted by scraggle

Can anyone tell me what i'm doing wrong here?
Any help is greatly appreciated
Thanks

Attachments

Login to view attachments
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 10th Sep 2019 03:27
Scoured the internet and found this, Seem to work well
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 10th Sep 2019 08:22
looks like you got it solved now!!
I did have a piece of code that just produced the range of colours and you used memblocks to fetch the colour
cant find it now, was sure it would be my snippets lol I go back there allot
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk

Login to post a reply

Server time is: 2024-03-28 15:36:02
Your offset time is: 2024-03-28 15:36:02