Posted June 26, 2019 by StormingLeech
#GameMaker Studio #JSON #Photoshop #Game Jam
Getting images from Photoshop to Code is needlessly time consuming. Hopefully, this can help!
I've just finished a little multi-part resource that should do a little bit to help everyone with their image workflow. Imagine this, as your NEW way of doing things:
But really! This resource includes a jsx file--that's a Javascript Extenscript file--that runs inside of Photoshop and turns your layers into JSON! The script produces accurate layer position info, layer labels, and lists of linked layers. In any engine, you've just got to import this data and match the image names, categories, and your desired objects.
Using GameMaker Studio 2? You're even MORE done.
This resource also includes all of the scripts needed to import a package of image files, load them as sprite resources, and convert them into objects. Scripts, demo objects, and sample files are all included.