Jackaru's Recent Forum Activity

  • The solution is to export everything into a single atlas PNG (2048x2048 or 4096x4096), avoiding separate PNGs for each skin. Spine automatically resizes the output if the total size of the skin PNGs exceeds the maximum. If the FPS remains low, try adjusting the Spine render rate.

    Thanks to Mikal!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • We're working on a game that's using this Spine plugin for character animations, and we're facing a performance issue

    Our setup:

    - Each character consists of 3 PNG files of the skin (hat, head, body)

    - We have approximately 200 PNG files total to make skin customization possible.

    - Single atlas and json file

    - The game has 20 players in the layout

    The problem:

    Spine requires all PNG files to be linked to the object, even if they're not being used, this forces Construct to load all the files causing significant performance issues.

    On mobile devices we're seeing a framerate drop to around 20fps

    What we've tried:

    -We've already programmed a dynamic loading for the necessary files using the "Load spine files" event. However it doesn't work because Spine requires all files in the atlas to be linked.

    Has anyone encountered a similar issue? How did you managed to solve it? We're looking for a way to dynamically load ONLY the PNG files associated with the currently active character skin.

    Any suggestion would be greatly appreciated!

Jackaru's avatar

Jackaru

Member since 13 Aug, 2022

None one is following Jackaru 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