Peachanas's Recent Forum Activity

  • From the manual:

    ImageWidth

    ImageHeight

    The original dimensions of the object (its current animation frame image size), in pixels. Since objects can be stretched at runtime causing the normal Width and Height expressions to return different values, these can be used to get the original size regardless of the stretched size.

    Its a matter of approach.

    perhaps, give the Templates a variable, "SelectedScale" (number)

    When sliding the slider scale, set the value of the Templates.SelectedScale, followed by setting that value in the Templates scale propperties.

    When selected the image to edit, grab their SelectedScale and set in the slider.

    Awesome, thank you for your input. Will try this.

  • dropbox.com/s/zkb8xrwonana9yb/sliderscaleexample.c3p

    Should work fine. You probably have a picking issue.

    You might be right. When I pick an other image, well let me show you instead...

    gyazo.com/cb0db820561766294acb9d32dd5e9fde

    My english isn't great, so I'm better off showing it in video XD

  • I'm using a slider to scale images/sprites, so when I click on an other image, I want the slider to take the image's scale and set it as it's value.

    I can set the scale to the slider's value, but not the other way around, as seen here: gyazo.com/f51712a394eae713e64b731adb1b7490

    How could I make this happen?

  • Proof of success *Cheers

    i.gyazo.com/fe5e9679bf5b2b650e1ea8ea5d906342.mp4

  • Family objects Also have a UID (Templates.UID)

    Suggestion:

    Give that "text" an instance variable: ToDelete (number)

    Below set Text action, add:

    set value ToDelete = Templates.UID

    add a condition to that delete:

    Famlity Templates >> pick by UID (Text.ToDelete)

    Action Templates destroy

    This will leave your object name mechanic intact and add functionality to delete the template based on it's unique ID.

    Ooof, ok took me some time to visualise this since I'm a very visual person, but thanks to it, I understood. Thank you so much and it works like a charm, also, I can use the method for the other tools! You are awesome.

  • So I'm trying to delete selected meme within a family that will be instanced.

    Here is my current setup: gyazo.com/178d3bb41995134387d20965e5175e66

    I tried finding something related to "Destroy By Name" but I can't find an equivalent, so I'm guessing I will have to find a workaround for it, but I am not yet familiar enough with JS or Construct to make it. So here we are lol

    How do I delete a specific selection?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am having trouble using the plugins, the scrollview doesn't work and the parenting doesn't work. Maybe it's me, but i followed video tutorials, and started some over about 4-5 times.

    gyazo.com/75c16705f9c31c2ae39f5818d6dda72d

Peachanas's avatar

Peachanas

Member since 12 Mar, 2022

None one is following Peachanas yet!

Trophy Case

  • 2-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

5/44
How to earn trophies