Home Kwiksher Forums Kwik4 Kwik4 early preview
-
Kayla
ParticipantDecember 15, 2016 at 2:37 pm #85069The project template part is working great now. Thank you.
This is what is showing up in the corona terminal:
Dec 15 11:12:43.145: WARNING: Cannot create path for resource file ‘assets/audios/from.mp3’. File does not exist.
Dec 15 11:12:43.145: WARNING: /Users/BooMu/Documents/Kwik/Galaxy/build4/extlib/syncSound.lua:93: audio.loadSound() failed to create sound ‘assets/audios/from.mp3’
Dec 15 11:12:43.146: WARNING: Cannot create path for resource file ‘assets/audios/me.mp3’. File does not exist.
Dec 15 11:12:43.146: WARNING: /Users/BooMu/Documents/Kwik/Galaxy/build4/extlib/syncSound.lua:93: audio.loadSound() failed to create sound ‘assets/audios/me.mp3’
Dec 15 11:16:58.803:
Copyright (C) 2009-2016 C o r o n a L a b s I n c .
Dec 15 11:16:58.804: Version: 3.0.0
Dec 15 11:16:58.804: Build: 2016.2830
Dec 15 11:16:58.821: Platform: iPhone / x86_64 / 10.11.4 / NVIDIA GeForce GT 750M OpenGL Engine / 2.1 NVIDIA-10.10.5.2 310.42.25f01 / 2016.2830 / en | US | en_US | en
Dec 15 11:16:58.830: Loading project from: ~/Documents/Kwik/Galaxy/build4
Dec 15 11:16:58.830: Project sandbox folder: ~/Library/Application Support/Corona Simulator/build4-61EAA77B56DACDAE48ACEF57F67B30DD
Dec 15 11:16:58.976: WARNING: Simulator does not support multitouch events
Dec 15 11:16:58.978: WARNING: Simulator does not support multitouch events
Dec 15 11:16:58.986: Application::name: views.page01Scene , currentViewName: nilCould any of that be preventing the page curl from working? I saved the entire terminal output, but it’s mainly more of the same.
Yamamoto
KeymasterDecember 16, 2016 at 7:37 am #85072I found a problem in page curl. the updated page_swipe_curl.lua in the following zip
https://kwiksher.com/daily/Kwik4_2016_1216.zip
NEW:layer set creates page_meta.lua for comic reader
NEW:layer_image.lua to support layerSet
FIX:ultimate for portrait to swap x, y in utlimatePosition
FIX:build.settings support upside down
FIX:page curl to choose either jpg, pngplease modify you like to output bacground image as PNG, you need to modify the following part when you replace page_swipe.lua with page_swip_curl.lua. Also set the width and the height of your background image, the default is 1920, 1280 for ultimate config and the other is 2048, 1152
local _BackgroundLayerName = "background.jpg" -- {{#ultimate}} local bgW, bgH = 1920/4, 1280/4 -- layer.{{backLayer}}.width, layer.{{backLayer}}.height local pgX, pgY = _K.ultimatePosition(960, 640) -- layer.{{backLayer}}.x, layer.{{backLayer}}.y local curlWidth = 400/4 {{/ultimate}} {{^ultimate}} local bgW, bgH = 2048, 1152 local pgX, pgY = 1024, 768 local curlWidth = 400 {{/ultimate}}
Gareth
ParticipantDecember 18, 2016 at 7:25 pm #85079Yamamoto,
I am getting the blank/black screen in the Corona Simulator again when I publish my project. I am using Photoshop cc 2015.5 and Kwik 1216. I updated the template and it is still black.What is the recommended version of photoshop to use?
Yamamoto
KeymasterDecember 19, 2016 at 11:29 pm #85081Black screen indicates an error while processing lua files that Kwik published.
Are there any error outputs on corona simulator’s console?Your background layers are published PNGs? If so the change the local _BackgroundLayerName to .png
local _BackgroundLayerName = "background.png"
Normally background layer is jpg by setting layer properties as “export image as .jpg”
I am using photoshop 2015.5
Gareth
ParticipantDecember 21, 2016 at 7:29 pm #85082Hi Yamamoto,
I went through my project and there are no background layers, they are all .jpg files. But the Cornoa Simulator is still black.Here is the terminal window.
Last login: Thu Dec 22 13:10:41 on console
/Applications/CoronaSDK/Corona\ Terminal ; exit;
Gareth-Dinneens-iMac:~ GarImac$ /Applications/CoronaSDK/Corona\ Terminal ; exit;
Running: ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator’ -no-console YESNote: ‘Corona Terminal’ is deprecated. You should run the ‘Corona Simulator’ application instead.
Dec 22 13:11:50.133:
Copyright (C) 2009-2016 C o r o n a L a b s I n c .
Dec 22 13:11:50.133: Version: 3.0.0
Dec 22 13:11:50.133: Build: 2016.2949
Dec 22 13:26:45.298: Warning: unknown skin label ‘iPad Air’
Dec 22 13:26:45.485:
Copyright (C) 2009-2016 C o r o n a L a b s I n c .
Dec 22 13:26:45.485: Version: 3.0.0
Dec 22 13:26:45.485: Build: 2016.2949
Dec 22 13:26:45.492: Loading project from: ~/Documents/K3/lfa/build4
Dec 22 13:26:45.492: Project sandbox folder: ~/Library/Application Support/Corona Simulator/build4-78938814C250595F1A326ED4A590FDAD
Dec 22 13:26:45.528: Platform: iPhone / x86_64 / 10.11.6 / AMD Radeon R9 M290X OpenGL Engine / 2.1 ATI-1.42.15 / 2016.2949 / en | NZ | en_NZ | en
Dec 22 13:26:45.743: WARNING: Simulator does not support multitouch events
Dec 22 13:26:45.747: WARNING: Simulator does not support multitouch events
Dec 22 13:26:45.807: ERROR: Runtime error
/Users/GarImac/Documents/K3/lfa/build4/vo/page02VO.lua:10: “88” can not be set.
stack traceback:
[C]: in function ‘error’
/Users/GarImac/Documents/K3/lfa/build4/extlib/const.lua:36: in function ‘new’
/Users/GarImac/Documents/K3/lfa/build4/vo/page02VO.lua:10: in main chunk
[C]: in function ‘require’
?: in function ‘require’
/Users/GarImac/Documents/K3/lfa/build4/components/page02UI.lua:7: in main chunk
[C]: in function ‘require’
?: in function ‘require’
/Users/GarImac/Documents/K3/lfa/build4/views/page02Scene.lua:10: in main chunk
[C]: in function ‘require’
?: in function ‘require’
/Users/GarImac/Documents/K3/lfa/build4/extlib/robotlegs/Context.lua:57: in function ‘mapMediator’
/Users/GarImac/Documents/K3/lfa/build4/contexts/page02Context.lua:13: in function ‘init’
/Users/GarImac/Documents/K3/lfa/build4/contexts/ApplicationContext.lua:31: in function ‘init’
/Users/GarImac/Documents/K3/lfa/build4/Application.lua:33: in function ‘init’
/Users/GarImac/Documents/K3/lfa/build4/Application.lua:93: in function ‘new’
/Users/GarImac/Documents/K3/lfa/build4/main.lua:32: in function ‘bootstrap’
/Users/GarImac/Documents/K3/lfa/build4/main.lua:37: in function ‘_listener’
?: in function <?:167>
?: in function <?:169>
Dec 22 13:26:45.807: — unhandledError —
Dec 22 13:26:45.807: table: 0x7f9db5102bd0Kayla
ParticipantDecember 22, 2016 at 12:49 pm #85083I found the problem…I think. When I publish my app it works but it won’t display the background image. All my background images are .jpg
I’m getting this error:Dec 22 09:27:38.518: WARNING: /Users/BooMu/Documents/Kwik/ultiDec20/build4/extlib/page_curl.lua:503: Failed to find image ‘assets/images/p1/background.jpg’
So I checked in the p1 folder and it is saved as background.png even though my original image is a jpg. So now I just need to find out where the command is that saves the background layer as a .png and change it to save it as a .jpg or go into page_curl.lua in the extlib folder and have it read a .png instead. I don’t know how to do either though.
Kayla
ParticipantDecember 22, 2016 at 1:54 pm #85084I was also wondering if there was a way to do the following:
1. Page curl on auto play
2. add a sound to page curl
3. remove the one second delay after the audio text sync on auto playI also added local _BackgroundLayerName = “background.png” to page_swipe.lua so that it can publish the background layer.
-
This reply was modified 4 years, 3 months ago by
Kayla.
Kayla
ParticipantDecember 22, 2016 at 4:31 pm #85086More problems with page curl
-Page curl only works in both directions when viewing as certain devices in the corona simulator.
For example, it works going to the next page and back a page on the kindle fire and iPhone 4,
but it only works going back on the iPhone 5 and forward on the iPad Air. Otherwise it will curl half way but not fully and it will stay on the current page.-Also, is there a reason why it has {{^ultimate}}
local bgW, bgH = 2048, 1152 instead of {{^ultimate}}
local bgW, bgH = 2048, 1536 in page_swipe_curl.lua? I’ve done it both ways and 1152 cuts off the top and bottom of the background image.Yamamoto
KeymasterDecember 22, 2016 at 9:06 pm #85087Gareth
the error below indicates something wrong about photoshop layer names. The layer name must not start with numerical digit. “88” is not valid
/Users/GarImac/Documents/K3/lfa/build4/vo/page02VO.lua:10: “88” can not be set.
stack traceback:If not solved, please let me know. You can creat a new thread in Kwik4 forum
Yamamoto
KeymasterDecember 22, 2016 at 9:36 pm #85091Kayla,
If your all background images are published as jpg, set local _BackgroundLayerName = “background.jpg” in page swipe curl lua file.
>1. Page curl on auto play
>2. add a sound to page curl
>3. remove the one second delay after the audio text sync on auto playNeeds to add some code to the tmplt files. I will make them next week.
>iPhone 5 and forward on the iPad Air curl half way but not fully and it will stay on the current page.
I will check it
>local bgW, bgH = 2048, 1152 instead of {{^ultimate}}
>local bgW, bgH = 2048, 1536 in page_swipe_curl.lua?You need to set the width and the height of your background images. The value was the ones I tested, so it needs to be updated to yours.
let’s continue page curl discussion in this thread
Bob
ParticipantJanuary 5, 2017 at 4:58 pm #85134Hi Yamamoto,
Sorry to say, but I find Kwik 4 basically unusable. Could you please tell me how to switch back to version 3.
Thank you,
BobBob
ParticipantJanuary 6, 2017 at 12:04 pm #85135This is really weird. In Safari, there is something blocking my previous post.
https://s24.postimg.org/6h5pkp0tx/Screen_Shot_2017_01_06_at_9_06_52_AM.png
-
This reply was modified 4 years, 3 months ago by
Bob.
Yamamoto
KeymasterJanuary 7, 2017 at 8:48 am #85138To Bob,
Except new features of Kwik4, Kwik4 project is compatible with Kwik3.
Play Random, Group order should be re-created with Kwik3 if you switch back to Kwik3.Please send me your .kwk file in your project folder. I will check it with the following update.
https://kwiksher.com/daily/Kwik4_2017_0109.zip
FIX: tmplt: page curl lua files are updated-
This reply was modified 4 years, 3 months ago by
Yamamoto.
Gareth
ParticipantJanuary 10, 2017 at 4:24 am #85144Yamamoto,
sorry for the delay. I emailed you my build folder. I can’t find a layer starting with a numeric value and the project is still black in the corona Simulator.
thanks,
GarethYamamoto
KeymasterJanuary 10, 2017 at 9:02 pm #85145Gareth,
please use this update. I sent email too.
https://kwiksher.com/daily/Kwik4_2017_0111.zip
FIX: A injected bug with comic reader. Layer name starts with “-” produces an error. -
This reply was modified 4 years, 3 months ago by
-
AuthorPosts
You must be logged in to reply to this topic.