Home / Topic / Texture Packer sprites not working for me in Kwik

Texture Packer sprites not working for me in Kwik

Home Kwiksher Forums Kwik 3 Bugs Texture Packer sprites not working for me in Kwik

Viewing 11 posts - 1 through 11 (of 11 total)
  • wyatt.fisher2
    Participant
    #83895

    I bought Texture Packer today and made a sprite sheet. I followed the instructions on the Kwik tutorials about importing the .lua and sheet into kwik. I always get an error in corona that says “build/page_1.lua:85: unexpected symbol near ‘local’ “

    nabliahmed
    Participant
    #84028

    did you solve the problem?
    if you need help share your project files with me 🙂

    #84263

    Hi There!
    I have the same problem with my project. Everything went fine until I added a spritesheet replacement. sprite made with texture packer.
    When running the simulator it give me the error message
    c:\francois\work\project_kwick\jingleband\build\page_5.lua:356: unexpected symbol near ‘local’

    I redid the step 3 time but all I get is this message.

    Do you have any idea? I can share my project if you need it to examine.

    Thank you

    Francois Walter

    angel
    Participant
    #84265

    Hi Francois
    Share your project files with me (dropbox link). I will try fix it! 😉

    #84266

    thanks Angel!
    here is the project (I removed the all scenes except the one I have problem with)
    here is the link https://www.dropbox.com/sh/3n3uwh5gdicdvgd/AAAlpX19V-AXja9bmVFYIqwDa?dl=0
    the error is about page5.lua line 356 (at the start of the sprite sheet code)
    I exported with the last version of texture paker…
    I hoppe you can find something!

    angel
    Participant
    #84267

    Hi francoise!

    Files received!

    I need the “.kwk” file to opening the project

    Please:

    -Copy the original project (use your Project as template for the new one)

    –Remove all pages except the one you have problema with

    -Zip the project folder

    -Upload to dropbox

    I was checking your files. I didn´t find a file (peroc.lua) needed for a correct set up of your animation in kwiksher. I guess that´s your problem, maybe didn´t export correctly from texturepacker.

    Send me the Project to confirm! 😉

    #84268

    Thank you Angel for taking the time to look for my files.
    And sorry I forgot to send the project files the first time.
    Here is an archive of the project file
    https://www.dropbox.com/s/ppcvmd4c870ua4j/jinglebandcopy.rar?dl=0

    by the way even if I copy the peroc.lua file in the build folder the problem is the same…
    I have the latest version of kwik corona and texture paker

    really hoppe we can find something!

    #84269

    Sorry I just found the problem in my case…
    In texturePacker data format I choose coronasdk instead of kwik2…
    That was the problem!
    Now when I choose kwik2 It work well…

    Hoppe that could help other people who make the same mistake as me…

    angel
    Participant
    #84270

    Francoise, you are using free versión of texturepacker so can´t export the animation for kwik just only for xml or jason.

    Other problem with free versión is about the final result, 2 of all the frames are covered in red and the animation “blink” when you play it. Open peroc.png and you can see what I´m talking about

    angel
    Participant
    #84271

    Opps!
    you resolved the problem!
    I just read your post!
    great!

    #84272

    Yes I resolved the problem.
    We need indeed to export the sprite to kwik not to corona or other software!!
    Thank you for your support Angel!
    Have a great WE!

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.

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