Home / Topic / Kwik4 early previewPage 9

Kwik4 early preview

Home Kwiksher Forums Kwik4 Kwik4 early preview

Viewing 15 posts - 121 through 135 (of 135 total)
  • Kayla
    Participant
    #85069

    The 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: nil

    Could 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
    Keymaster
    #85072

    I found a problem in page curl. the updated page_swipe_curl.lua in the following zip

    http://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, png

    please 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
    Participant
    #85079

    Yamamoto,
    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
    Keymaster
    #85081

    Black 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”

    Layer Properties

    I am using photoshop 2015.5

    Gareth
    Participant
    #85082

    Hi 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 YES

    Note: ‘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: 0x7f9db5102bd0

    Kayla
    Participant
    #85083

    I 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
    Participant
    #85084

    I 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 play

    I also added local _BackgroundLayerName = “background.png” to page_swipe.lua so that it can publish the background layer.

    • This reply was modified 2 years, 10 months ago by  Kayla.
    Kayla
    Participant
    #85086

    More 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
    Keymaster
    #85087

    Gareth

    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
    Keymaster
    #85091

    Kayla,

    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 play

    Needs 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

    Other new features – page curl

    Bob
    Participant
    #85134

    Hi 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,
    Bob

    Bob
    Participant
    #85135

    This 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 2 years, 9 months ago by  Bob.
    Yamamoto
    Keymaster
    #85138

    To 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.

    http://kwiksher.com/daily/Kwik4_2017_0109.zip
    FIX: tmplt: page curl lua files are updated

    • This reply was modified 2 years, 9 months ago by  Yamamoto.
    Gareth
    Participant
    #85144

    Yamamoto,
    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,
    Gareth

    Yamamoto
    Keymaster
    #85145

    Gareth,

    please use this update. I sent email too.
    http://kwiksher.com/daily/Kwik4_2017_0111.zip
    FIX: A injected bug with comic reader. Layer name starts with “-” produces an error.

Viewing 15 posts - 121 through 135 (of 135 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