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 Studio Chat / Sliders again... Quick way to add many sliders (Source Included)

Author
Message
DannyD
3
Years of Service
User Offline
Joined: 29th Aug 2017
Location:
Posted: 23rd Feb 2021 15:08 Edited at: 23rd Feb 2021 15:13
Hi Guys

Playing around with some slider ideas for an upcoming project.
Create MANY sliders with a few lines code

2 Functions.
createslider(spriteid, xpos, ypos, width, height, text, textsize, valuestring, minrange, maxrange)
check_sliders(firstsliderID,LastSliderID)

Hope someone can find it usefull.



[video=mp4]
sliders.mp4
[/video]

Enjoy
Cherio
Danie

Attachments

Login to view attachments
ruckertheron
4
Years of Service
User Offline
Joined: 12th Nov 2016
Location:
Posted: 23rd Feb 2021 20:01
Hey thats cool!!! I can see myself using that. How about being able to attach an object's position or a sprite's rotation or even color values...
This is very interesting and inspiring and I wonder if anyone would be interested in that. Would you be okay with me expanding this concept a little bit?

DannyD
3
Years of Service
User Offline
Joined: 29th Aug 2017
Location:
Posted: 23rd Feb 2021 22:46
@ruckertheron

Please, go ahead... use wherever needed

Please share the progress....

Cherio
Danie
haliop787
1
Years of Service
User Offline
Joined: 22nd Mar 2020
Playing: With reality.
Posted: 24th Feb 2021 07:20
Very nice.
I have something a like.
I have also added 2 strings at start and end.
Like Max and Min or High and Low or just Plus and Minus as chars.

Thank you for this.
Nadav "Haliop" Rosenberg
Lets make the world great forever.

Login to post a reply

Server time is: 2021-07-31 09:59:16
Your offset time is: 2021-07-31 09:59:16