Peachanas's Forum Posts

  • Is the red pointer at the bottom which animation you're currently playing? It's difficult to tell when the player actually changes animation because he's so small.

    Oh, it's okay. I did something different, I made the attack animation primary and I just play around with the opacity. Seems to work fine.

  • Hi, I have a character that automatically attacks when the enemy is in a Line of sight. I use pathfinding for the players movement system, but I am having trouble with the attack animation when the player is moving along path.

    Here is what I get: gyazo.com/d9898122a96f0167ebf5878bfea18b94

    I want it to actually animate when the player is moving, now its static unless the player isn't moving. It freezes.

    Here is my setup: gyazo.com/e04e64905dd573ea688ffd9da90e0930

  • You do not have permission to view this post

  • Thank you, trying this now.

    EDIT: Works, thank you so much for your help!

  • Setup (not working): gyazo.com/4b629d3cd1b76069562eb894c83b0d92

    I made a spawner sprite to get coordinates from but I am unable to fetch the uid with my current setup.

    Frontend Goal: gyazo.com/e2757e023d623dbd9ee13a6ee56cf655

    What it currently does with my setup: gyazo.com/cea1d17a37da3261aab394e884beeae6

  • You do not have permission to view this post

  • You can probably simplify all those creates actions, by adding an instance variable to the thumbnail (with the name of Meme) then on Mouse Click - Create Name Object By name and pass in the instance variable of the thumbnail.

    Awesome I will try this, thank you for your time!

    Edit: Works! TYSM :D

  • Geez, that's a lot. I can't really tell what's going on.

    Could you send screenshots? Or a project link?

    Exacly why I need a better way to do it XD

    There's about 60 of these for each thumbnail

    gyazo.com/25f3d608da6e824ed91fa287800a8472

  • So atm my setup looks like this: gyazo.com/0ebecaac0f7af2f41da8eb222a90f226

    But as you can see, thats a lot of on click... What would be a better way to do this?

    P.s. The thumbnails are setup in a different family than the Meme templates.

  • curFrame variable is local, it's reset to default value at the end of each tick. You need to set it as Static - then it will remember its value.

    Check your other local variables, you may need to make some of them static as well.

    AH Voila! works now XD Thanks so much!

  • I currently have this setup gyazo.com/a194e173600c9b27230e03edbf4bfff4/draw

    But it doesn't work as expected (obviously since I'm here...hehe)

    Also here is the result of the setup: gyazo.com/51b33bd82bdf5a3eb7627e28fa7c05fc

    I want to import new images to different frames in runtime, how would I go about doing this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So has support for this plugin been dropped?

    Doesn't appear to be much activity on here from the developer?

    I have issue but seeing as my last issue wasn't addressed I don't hold out any hope.

    I want to create objects at runtime and add them to the content of the "scrollview content" object. At design time you would have your scrollview object which you assign the content object to which you can then parent other objects to.

    I am trying to therefore do that last bit at runtime (parent the created objects to the scrollview content). However, I could find a "parent" action, I could however find an action to set the children to the "scroll view content". This works, however, doing so the scales the children to the parent, and there are no available actions to set the local scale or just not have this happen.

    I requested a refund from construct, I suggest you do the same.

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