Slider and TextBox

Get help using Construct 2

Post » Thu Aug 16, 2012 5:19 am

Well, hello everybody!

I'm trying to make up a controller for sprites made of a slider and a TextBox, as you can see here:

Image1

Well, the code I've made is this one:

Image2

But it doesn't work. The most difficult part, from my point of view, is to pick up a solution that allows the user to use both the slider and the TextBox to enter values into the game. AND that can change the position of the slider WHEN the TextBox value changes. Thats the key factor.

As long as I keep trying to solve this issue, I ask the whole community to help me with this daunting nightmare. ;)

You can find the project here:
Project capxHeptagono2012-08-16 05:21:01
B
16
S
4
G
1
Posts: 105
Reputation: 1,829

Post » Thu Aug 16, 2012 7:39 am

Last edited by Yann on Sun Sep 14, 2014 9:07 pm, edited 1 time in total.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Thu Aug 16, 2012 7:07 pm

Hey Yann,

Thanks a lot. It's awesome.

But still it's not possible to add a value directly from the textBox. Only using its buttons, but no way typing it. Which changes should I make to reach this?

Thanks a lot in advance. It would be great to have this available for all the scirra community.

Cheers!
B
16
S
4
G
1
Posts: 105
Reputation: 1,829

Post » Fri Aug 17, 2012 6:03 am

Hi, I think I've made a step more towards the solution! Here you have a link to the project:

Sliders_Experiment.capx
B
16
S
4
G
1
Posts: 105
Reputation: 1,829


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 20 guests