cellularkasce.blogg.se

Construct 3 plugin support
Construct 3 plugin support








  1. CONSTRUCT 3 PLUGIN SUPPORT SKIN
  2. CONSTRUCT 3 PLUGIN SUPPORT UPGRADE

The points are returned in top level JSON array Use C3 JSON object to parse and use points.

  • SpineBBoxGetPoly expression returns poly points in JSON format array of named slot/bounding box attachment.
  • It should be done just once per tick per instance, before the SpineBBoxCenterX/Y expressions are used.
  • The UpdateBBoxes updates the bounding box to the current point in the animation.
  • Useful for attaching C3 Sprite object / collision box to the center of the Bounding Box.
  • SpineBBoxCenterX, SpineBBoxCenterY espressions give the average of the named slot/bbox polygon points.
  • Lower quality requres less texture memory and GPU performance.
  • This sets the resolution of the texture to render to.
  • Dark color will only be applied if ‘Tint Black’ is enabled for the slot in the Spine project. To reset the slot colors to the original colors, use Reset slot colors.

    CONSTRUCT 3 PLUGIN SUPPORT SKIN

    The slot colors will be reverted if a new skin is applied or if the Spine animation changes the slot colors. The colors are applied using Apply slot colors.

  • Slot color can be set through Set slot color and Set slot dark color.
  • Runtime skins can be created, using Create custom skin, Add custom skin and Set custom skin.
  • Using skins is the typical way to do this. This can be useful for customizing skins. All other instances of the same skeleton/skin will also change.
  • This action changes the current region texture on the skeleton/slot/placeholder of the current skin of the skeleton to a new region in the loaded atlas.
  • This new change reduces the size of the texture memory required for multiple instances of the same skeleton.
  • Other instances of the Spine Object must use the same skeleton and atlas, but can use different skins.
  • Each C3 Spine Object (not instance), should load only one skeleton and only one atlas.
  • Alternatively create a large transparent image in the Spine project behind your Spine character, this will can be used to set the bounding box size fot the C3 spine render.
  • The values are based on Spine project coordinates.
  • If animation is clipping against the bounds of the C3 object, you can use the property bbox override and values to control the bounding box size and center offset.
  • construct 3 plugin support

  • Use C3 events and movement to do the large translations in the C3 project instead (e.g.
  • For jumping or large movments, animate Spine character ‘in place’, don’t do large translations in the Spine project.
  • construct 3 plugin support

  • Do not use minify on export of C3 project.
  • multiple texture sheets supported (use comma separated list on C3 spine object’s png path property).
  • In the Packing settings, set Region Padding to 2 or higher (if you see lines around your images, it may be because padding is set to 0).
  • In the Spine export dialogue box, under Runtime, set both ‘Filter min’ and ‘Filter mag’ to Linear or Nearest.
  • CONSTRUCT 3 PLUGIN SUPPORT UPGRADE

  • See Spine Formatter below to upgrade older JSON files.
  • When exporting from Spine 4.0, export using 3.8 JSON format and in Texture Packer Settings, check Options->Legacy output.
  • Spine 4.0.x files and runtime are not yet supported, but will be done.
  • Requires Spine version 3.8.x JSON files.
  • Commisions for specific new features are also accepted, contact Mikal via Twitter or the Construct Community Discord server (Mikal).
  • Project maintained by gritsenko Hosted on GitHub Pages - Theme by mattgraham Spine add-on for Construct 3 Please support development of the C3 Spine plugin (thanks to all those kind folks who have donated so far!)










    Construct 3 plugin support