zmpq's Forum Posts

  • i think that's pretty much similar to what i'm trying to accomplish so i won't need a separate image for each part. that's not possible?

    did you guys have to create a sprite object for each attachment? or as frames in an animation and every attachment has a corresponding index?

  • i see, i was able to not have anything get clipped by setting the bbox sizes to huge numbers. thank you

    i can't seem to figure out how to center my spine object within the white box during runtime.

    spineObject.textureWidth and height returns the bbox override values

    spineObject.width and height returns the size of my initial spineObject within the layout editor

    i want to be able to do the following during runtime:

    - center each dynamically created object within the white box (e.g. the hat and scarf needs to be higher. the blue cape's y position looks fine, i just need to adjust it to the right)

    - increase or decrease the size of the spine object to fit within the white box (e.g. small objects like the hat and scarf needs to be much larger)

    thank you, Mikal

  • oh wow thank you for this, finally got it working

    i still haven't completely figured out is fixing the cropped image if the initial skin for a spine object is smaller than the skin set for a new dynamically created spine object

    kindly check if you don't mind: sendgb.com/6qcV2gmlYMK

    thank you

  • my replies seem to always need mod approval and it has usually taken several days before my comment becomes visible making the back and forth discussion very inefficient and slow.

    is this something that all users experience or do i have to do something to prevent this?

    thank you

    Tagged:

  • thank you, here's the link: sendgb.com/sJzyiRp7vYN

  • Mikal

    not sure how to attach a project file, but attached are a couple of screenshots.

    basically, i'd like to be able to dynamically create a new spine object during runtime each with a different "skin" (example: backpack, bag, scarf, etc.)

    in the first image, i dragged a spine object in the editor and set the default skin to "accessories/backpack".

    in the second image, i create an object then create and set a custom skin "accessories/scarf", but somehow the new spine object created still has the original skin i set in the layout editor which is the backpack. i've also tried directly doing "set skin accessories/scarf" instead of creating a custom skin, got the same result.

  • not sure how to reach out, but any mod available to approve my post here: construct.net/en/forum/construct-3/general-discussion-7/spine-plugin-update-153892/page-14

    thank you

    Tagged:

  • Mikal thanks. i was able to access the skeleton json and just manually parse it.

    if you or anyone else could help:

    1. i'm playing around with the mix and match sample spine project. can we dynamically create a spine object? i tried but it seems the skin isn't changing

    2. how do i resize a spine object (skin) so that the whole thing is within the bounding box? set size allows me to change the size, but it doesn't guarantee the whole skin is displayed and not cropped out

  • How would you process the data? Use events or JS?

    i'd like to be able to use events

  • does anyone know how i can access the spine object's skeletondata? i'd like to be able to loop through all the available skins and animations through index, so i can then access its other properties like skin name, etc.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a spine object and instead of setting custom skins by their names, is it possible to access it through index? If so, is it then possible to access the skin name that matches that index?

    Is this possible with animations?

  • You do not have permission to view this post

  • i'm trying to dynamically create new objects through a generic one and load the images from url, but what ends up happening is that everything that used that generic object end up displaying the same sprite

    i've had a similar issue before where i only needed to change the physics collision of one specific instance of an object but all the other instances get affected, and i later found out that apparently what i wanted to do was not possible in construct

    is the sprite issue the same? or there's a way to do it?

    thanks

  • i was browsing construct 3 example projects and came across "infinite car racer" and "challenge room"

    played around with both and noticed something different

    i was able to straightforward add a text object in "challenge room" and it displayed like how it would if you were working on a 2d project. however, when i did the same for the other game, the text was displayed the same angle as the 3d world

    can someone explain what the difference is between the two projects?

  • You do not have permission to view this post