About Kwik
Kwik5 consists of the two tools of extensions, Kwik exporter on Photoshop and Kwik editor on Solar2D.
If you have not used Photoshop or Solar2D, here are the links
- Solar2D - 2D Game Engine
Kwik exporter - A UXP plugin for Adobe Photoshop
it publishes a Solar2D project. The images(1x, 2x, 4x) and lua files of layer properties (x, y, width, height) to a selected App/book folder.
you can specify a folder which contains psd files. We refere a folder of psd files as book folder
a psd is parsed, and images and properties in lua files are generated
Potoshop lingualSample page1.psd Solar2D App book assets/images/page1/*.png components/page1/layers/*.lua
Kwik editor for Solar2D
the publsiehd project of Solar2D from Kwik exporter has an editing capabiliy within the simulator
page view
You can select a book, and navigate to a page for editing
component view
for instance, you can add an animation, button etc to a layer. The editor updates the project codes(lua files) when you save each properteis of kwik components/events(actions).
the image below is Candice layer is selected for creating Linear animation.
circled A, B images are helper objects of Kwik to specify a Layer Animation position from pos A to pos B. You can drag A to starting position, B to ending podistion of a target layer.
Live preview is available when you enter a new value to component properties of Animation
Solar2D simulator automatically reloads itself when there are updated files. (Kwik4 needed publsihing code to update a solar2d project)
You can create a single book app and mutiple books project with the following project structure.
Don’t forget to create a App/book folder as the output folder when you publsih images/codes with Kwik exporter
multiple books (bookstore structure)
You can work each book folder one by one with Kwik exporter to publsih images of psd files of each book. So please select one of book folder when you use Kwik exporter
Kwik5 you can publsih each book under App folder directly. (Kwik4 needed to collect each book project to App folder from build4 folder by a batch file for making a bookshelf app.)