Question about Parameter().
Can I position the slidebar elsewhere?
What about Vertical ?
Is their special “view” I can use?
I am trying to get two VERTICLE slider bars on left and right side of a landscape screen.
Basically I want the user’s thumbs to move a slider bar up and down.
I’m new to Codea so be gentle.
You can use displayMode(FULLSCREEN) or alternatively press the FullScreen button when running your script. Then you can create the slider bars yourself or use a pre-existing class such as npryces controller class which is my favourite, and its very easy to implement for beginners.
Where is the controller at ?
Examples on how to implement it ?
I searched for npryces controller class & npryces controller and
could not find it.
Is it as simple as creating a NEW TAB and adding the Code in question ?
Thanks for the response,
Here’s a simple example. Slide you thumbs up or down the right or left side of the screen. The counters increase each time you slide up and decrement each time you slide down. I put in simple sliders because I don’t know what you want exactly.
background(40, 40, 50)
text(x1,100,HEIGHT/2) -- show values
if t.x<WIDTH/2 then
x1=x1+t.deltaY -- left value
x2=x2+t.deltaY -- right value
rect(10,HEIGHT/2+x1,50,10) -- show sliders