imuniz's Forum Posts

  • Hey dop2000 many thanks!

    I never used dictionary before, tnx for introducing it too.

    You're awesome o/

  • Set X to

    slid_line.X+unlerp(slid_line.minVal,slid_line.maxVal, Value0 )*slid_line.Width

    And, of course you need to pick each slide bar and use different variables in the formula - Value0, Value1 etc.

    Thanks!

    Like that: http://www.dropbox.com/s/zax5jdxf7m5a92 ... o.png?dl=0 (img)

    But still something wrong.

    Could you please see this .capx?: https://www.dropbox.com/s/83xcpls4gv0944f/SlidersPopup.capx?dl=0 And point me what simple thing am I missing?

  • Just calculate the position of slid_btn using the Unlerp() function

    Yeah, I just need to calculate slid_btn position, and place it there on start of layout.

    I tried saving the textbox value in 'Value0' and then ~ On start of layout ~ slid_btn ~ Set X to = slid_line.X+unlerp(slid_line.minVal, slid_line.maxVal, Value0)

    And I tried other things, but I lack understanding. Am I close?

  • Save the values in global viariables. Set slider value to the global variable on start of the layout.

    Have you tried it?

    Yeah, didn't work. The Buttons don't follow the values, but the contrary. I guess I would need to save the positions of the buttons inside the line then...

  • persist behavior?

    Persist wouldn't do it because the same popup are in many screens, I want to save the values from one layout to another. But that was clever^^

  • Hello mates;

    A while ago I needed a popup that would go in and out of the screen horizontally. But not so simple, the popup would have (hand-made) SlideBars and keep their values as it goes in and out. Fortunately this heroes showed me how to do it here:

    how-do-i-hold-an-object-position-inside-another-object_t196243

    And this was beautiful. Made me very happy <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    With all this help, I'm finally starting to make cool things on my own. Very grateful for this community!

    Ok;

    Now I wonder how to save this SliderBar values when I change layouts?

    Here's an example; Notice that is all working fine, the values still the same as the popup moves, but when you change the layout obviously they will be back to default:

    https://www.dropbox.com/s/83xcpls4gv094 ... .capx?dl=0

    I would like to change the layouts and keep the SliderBar's values, I'm shure there's a simple way of doing it, but just can't figure out. <img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question">

    Thanks in advance for your time and suggestions.

  • Hi, do you know some good tutorials/courses on digital art?

    I see a lot of then, some free, some paid, but I wanna hear from you guys that already learned or are learning, what are the best ones and witch do you recommend?

    It can be pixel art, but not necessarily. Just wanna some good options to analyze.

    Thanks

  • Before I used "APK Signer". It's a free tool available here.

    https://shatter-box.com/knowledgebase/a ... pk-signer/

    AndreasR I'm following your tutorial on the APK signing tool, but I can't find the apk-signer executable to run. It download a lot of folders but no .exe! Where is the app supposed to be? Thanks in advance;)

  • Thank you guys. Indeed no way of using Alextro's method!

    I'm trying your Paster plugin R0J0hound, it seens delicious. This maybe my savior. Thanks a lot : )

    I'll keep you informed.

  • Yann, do you still have the dialog example to reupload? If so it would be helpful a lot

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey Miu3, the links are not found, can you reupload then please?

  • I made a jigsaw puzzle with 3 levels of difficulty, easy, medium and hard.

    For the Medium level I used Arcalau's tutorials: https://www.scirra.com/tutorials/685/ma ... ne-concept

    But Arcalaus uses a mechanic that would be really annoying to use with another set of pieces. Apparently his method functions with his set of pieces only.

    And I wanted to create another levels with another numbers of pieces. I couldn't figure out a way of using the same method that Arcalaus uses, so...

    For the Easy level I used Alextro's example: animated-jigsaw-puzzle-sharing_t182600

    And I was very happy <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    I also wanted a hard level, and this time I managed to use Alextro's template to create basically the same thing, but with more pieces. Problem is that Alextro uses a lot of layers (one for each piece), and it just drastically decreases the fps when using 120 pieces.

    So, my 3 levels are working, but the hard one, with 120 pieces and layers are very slow in fps <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    How would be a good method to create a jigsaw puzzle without using a layer for each piece as Alextro does? Or if it is reasonable, how to change Arcalaus mechanics to work with another set of pieces?

  • Hey Noga, can you reupload your example .capx please? It is gone and I really wanna see it. Thanks is advance.

  • I have some variables in the First layout to deal with the volumes. They are all = 0.

    If I change this variables to 1 and go to the Second layout, they still 1, but when I come back to the First layout they automatically change to 0 again.

    Every time I enter in the First layout the variables are set to 0... and this is not made by my code. How to hold their value?

  • tarek2, cool, I'll have a look, thanks! Maybe fix the button too, I noticed the little getting stuck bug too, much appreciated