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 / slidebar help

Author
Message
haliop
User Banned
Posted: 16th May 2013 13:40
hi again..
i have a slide bar and a pusher bar ..
the size of the slide bar is 300 in pixels
and the size of the pusher is 32

at first the pusher stands at the start X of the slider bar
and i want with my finger to slide the pusher over it until 300 when reaching 300 it can move only backwards and when reaching 1 it can move farward.
ive done this and its cool and good.

but , the pusher position represent a value of somekind that have for example 50 points .

so ive tried to do


but that dosenot work perfectly...

the currentsliderX represents where the slider is placed on screen
and the currentpusherX represent where the pusher is placed inside the slider sprite.

can someone get this to work?

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 16th May 2013 14:14


haliop
User Banned
Posted: 16th May 2013 19:33
Not on my PC yet but will look into it , thank you

haliop
User Banned
Posted: 17th May 2013 00:54
tested now.. dude .. you are awesome. this is not the first time you have helped me , and your code is flawless much better then mine.

please send me your full name and email address and whatever you want to be announced inside Nano credits section.
you well deserve it.
thank you a million , great help , great slide bar. ty.

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 17th May 2013 01:24
I didn't know you could create a blank sprite like that. Awesome!

"You're all wrong. You're all idiots." ~Fluffy Rabbit
haliop
User Banned
Posted: 17th May 2013 08:51
btw my Email : NAdav.rosenberg787@gmail.com

Login to post a reply

Server time is: 2024-11-24 14:37:10
Your offset time is: 2024-11-24 14:37:10