Jump to content

Loading json into Phaser without plugins


weil

Recommended Posts

Hello.

I was wondering - is it possible to load output json (scon) file into Phaser without using any 3rd party libraries? If not, is there any other way to export animations to Phaser without creating spritesheets or separate raster images? Would using TexturePacker help with that? I'm looking for a better way to efficiently draw large animations in my Phaser game, spritesheets I'm producing with Spriter are way to large in some cases. I'm using Spriter Pro.

P.S. I'm aware that someone created that wonderful solution https://github.com/SBCGames/Spriter-Player-for-Phaser but I'd like to avoid introducing any additional library as the game is almost completed and this would require much refactoring. But if there is no better solution, I'll have to integrate it anyway

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...