My implementation of slider.lua or my upcoming gam

My implementation of slider.lua: for my upcoming game:

http://www.youtube.com/watch?v=R73Rr50mISA

The ANSCA slider code is here:http://developer.anscamobile.com/code/slider

v nice....

saw the video via twitter...

c

Can you give an example of how you use the value given by the slider? i have the slider.lua implimented in my game, but i cant figure out how to actually use the values it gives. for example how could i have the value its giving stored in a local variable? any help would be great, cant find much on this...

nevermind i figured out that i use event.value for this

any way for it to just return an integer?

huh?

tonumber(event.value);

c

was a stupid question due to lack of sleep - was looking to round the value coming back. figured it out.

views:1900 update:2011/9/21 9:18:04
corona forums © 2003-2011