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 [import]uid: 295 topic_id: 3559 reply_id: 303559[/import]
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 [import]uid: 295 topic_id: 3559 reply_id: 303559[/import]
v nice…
saw the video via twitter…
c [import]uid: 24 topic_id: 3559 reply_id: 10800[/import]
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… [import]uid: 19620 topic_id: 3559 reply_id: 25948[/import]
nevermind i figured out that i use event.value for this [import]uid: 19620 topic_id: 3559 reply_id: 25956[/import]
any way for it to just return an integer? [import]uid: 16420 topic_id: 3559 reply_id: 26378[/import]
huh?
tonumber(event.value);
c [import]uid: 24 topic_id: 3559 reply_id: 26382[/import]
was a stupid question due to lack of sleep - was looking to round the value coming back. figured it out. [import]uid: 16420 topic_id: 3559 reply_id: 26395[/import]