Heptagono's Recent Forum Activity

  • In the next post you'll find a link to the project

  • Hi, I'll try to send you a sample of the code.

    Now, the next step I'm looking foward is to limit the possible text entries between 0 and 360.

    Do you think it's a good idea to create another global variable and then compare it to this values?

    Or perhaps try to find an expression that could solve the issue without adding more variables?

    I'll keep to find the solution!

    Any extra idea?

    Cheers!

  • <img src="smileys/smiley32.gif" border="0" align="middle" />

    Keepee,your solution works great!! Thanks a lot friends!

    I had spent already some nights working out how to solve this issue without success.

    Two thumbs up!

  • Hi there,

       I'm using this formula to show results with two decimals:

              round(N*100)/100

    But...

    How could I show numbers this way?----> '456.00' instead of just '456'

    Best regards!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi, I think I've made a step more towards the solution! Here you have a link to the project:

    Sliders_Experiment.capx

  • 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!

  • 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 capx

  • Well,

       Here we are stuck for real. We have an slider, which changes the value of a variable. This variable is shown in a text object. Using 'System--> every tick" the slider's value goes into the text object immediately.

    But, if we want to change the value of the same variable through a TextBox as an alternative of the Slider...Thing turns into something impossible. Apparently.

    So, we ask for your help!

    Here we have the code:

    capx

    Test

  • Hi Yann,

    How can I identify each one of the slider's instances that I use in order to send their values to a group of different global variables?

    I don't find the way to get their instance ID!

    Thanks a lot in advance.

Heptagono's avatar

Heptagono

Member since 25 May, 2012

None one is following Heptagono yet!

Trophy Case

  • 12-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies