wyatt.fisher2ParticipantJune 5, 2015 at 5:02 pm #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’ “nabliahmedParticipantJuly 15, 2015 at 2:26 pm #84028
did you solve the problem?
if you need help share your project files with me 🙂November 7, 2015 at 9:58 am #84263
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.
Francois WalterNovember 7, 2015 at 11:06 am #84265
Share your project files with me (dropbox link). I will try fix it! 😉November 7, 2015 at 1:15 pm #84266
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!November 7, 2015 at 10:31 pm #84267
I need the “.kwk” file to opening the project
-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! 😉November 8, 2015 at 7:19 am #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
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!November 8, 2015 at 7:35 am #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…November 8, 2015 at 8:20 am #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 aboutNovember 8, 2015 at 8:21 am #84271
you resolved the problem!
I just read your post!
You must be logged in to reply to this topic.