Home / Uncategorized / Kwik 4 Utilities – converting Kwik3 .kwk for Kwik4

Kwik 4 Utilities – converting Kwik3 .kwk for Kwik4

You can download the scrips from github https://github.com/kwiksher/kwik4Util

  1. download the script file to ~/Documents/Kwik
  2. open photoshop
    1. File > Scripts > Browse..
    2. Select the script

then a file dialog appears to select a .kwk file of your project.

Open the project (.kwk) with Kwik4. Kwik3 project folder lacks the tmplt folder of Kwik4, you can add it from Project Properties > Publish > update template. It adds the tmplt folder which contains lua template files for publish.

KwikResize

KwikResize.jsx translates the coordinate [x,y] in a Kwik3 project to the coordinate x, y of ultimate config(@4x) system of Kwik4

the value of Kwik3 project file (.kwk) is updated for Kwik4. The following project config of Kwik3 can be converted.

  • iPad Mini
  • New Universal
  • iPad Pro
  • Universal
  • iPad Air

These components have the [x,y] or [width, height] properties and the values are translated to work with Kwik4 system.

  • page properties
  • layer properties
    • spritesheet
    • video
    • web
    • vector
    • map
    • Multipiler
    • Dynamic Text
    • Count Down
    • Text Replacement
  • sync audio & text
  • Animation
  • Drag
  • Swipe
  • Scroll
  • Canvas
  • Joints
  • Action
    • canvas brush
    • edit image
  • Button

NOTE:Particles are not supported. You may need to edit with particle editor of Kwik4 (Kaboom) to adjust the value of the json file

You need to enlarge Image size or Canvas Size of each psd files manually. See the following articles from Getting Startted > Guidelines

KwikGenerate

  • KwikGenertate.jsx uses the generator of photoshop to output image files instead of Publish command with export images enabled.
  • This script does not generate lua files. It only outputs images to build4/assets/images/ folder
  • Once you have generated images with this scirpt, please go back to Kwik Panel to use Publish command with export images disabled
  • Ultimate config project only

For Mac,it will create a file - temp.command in ~/Documents/Kwik folder and it needs a file permmission for execute.

  1. Create a test project
  2. run the script
  3. find ~/Documents/Kwik/temp.command
  4. add file permission to execute
  5. run the script again. this time will succeed
  6. check images are outputted in build4/assets/images

Once temp.command has a permission to execute, it keeps the permission whenever temp.command is updated for another project

this script will be migrated to Kwik sooner or later.

Privacy Preference Center

Strictly Necessary

these coolies are for WP-SpamShield, gdpr-wp, woocommerce, paypal

PHPSESSID, SJECT16, JCS_INENREF, JCS_INENTIM, gdpr, woocommerce_cart_hash, woocommerce_items_in_cart, woocommerce_recently_viewed, wordpress_, wordpress_logged_in_, wordpress_sec_, wordpress_test_cookie, wp_woocommerce_session_, AKDC, akavpau_ppsd

Functionality

WordPress cookie created when auto-saving a post in the editor.

wp-saving-post, wp-settings-, wp-settings-time-

Performance

google analytic

__utma,__utmb,__utmc,__utmz,_ga,_gid,_gat

Advertising