Problem with cordova exportation (XDK)

0 favourites
  • 13 posts
  • Hello people,

    I'm working in some kind of construct game that should run on mobile devices, I'm in the very early development stage, but I tried to make a first exportation to run it on my tablet... here you have the game:

    http://therealgeekgirl.com/pruebamuseo/

    my problem is that even than in my pc it works fluently, it runs VEEEEEERY slow on my tablet.... I allready made the graphics as light as possible, and here you have the every tic events:

    any help please?

    thanks

  • Construct2 Export > Cordova > then import project in IntelXDK > Create Crosswalk Build ... it should be fast..

  • Construct2 Export > Cordova > then import project in IntelXDK > Create Crosswalk Build ... it should be fast..

    Follow your instruction y did that exportation:

    http://www.therealgeekgirl.com/manquita012-Crosswalk.201501231851.zip

    With this seting in my .capx

    But in these mobile and tablet:

    http://woxter.es/esp/es/tablets/819-woxter-tablet-pc-nimbus-70-d-7-8435089018240.html

    http://www.coolicool.com/doogee-dg310-voyager2-mtk6582-13ghz-quad-core-50-inch-854-480-ips-screen-android-44-3g-smartphone-g-33756

    http://www.coolicool.com/leagoo-lead-1-mtk6582-13ghz-quad-core-55-inch-1280-720-ips-screen-android-442-3g-smartphone-g-33745

    It works a little bit better but still being very slow

    Thanks for your help.

  • You can change in IntelXDK in Project Options Crosswalk "Stable" [change to] "10"

    I see clouds move nice, even middl click (construction)... only problem i see is Movement Left-Right.. its moving slow / 1px or nothing..

    Im not shure but can you just test > On hold gesture [change to] Is Touching Object...

    Right now i can only test on S4 active..

  • You can change in IntelXDK in Project Options Crosswalk "Stable" [change to] "10"

    I see clouds move nice, even middl click (construction)... only problem i see is Movement Left-Right.. its moving slow / 1px or nothing..

    Im not shure but can you just test > On hold gesture [change to] Is Touching Object...

    Right now i can only test on S4 active..

    Ey apsolut!

    I'm Odin gf and we are working toguether, we try to change on hold gesture for touching, but it doesn't seem to work properly with every tick, any advice??

  • Even I've changed the code again I can't do it run properly outside the emulator.

  • Im not shure we need [Every Tick - someone please correct me if im wrong]!

    Does this work outside emulator for you ?

  • Im not shure we need [Every Tick - someone please correct me if im wrong]!

    Does this work outside emulator for you ?

    Hey, your code works outside emulator! i going to change mine and affter and I 'll upload the exportation. Thanks!

  • Hey, your code works outside emulator! i going to change mine and affter and I 'll upload the exportation. Thanks!

    Im glad I was able to help.

  • >

    > Hey, your code works outside emulator! i going to change mine and affter and I 'll upload the exportation. Thanks!

    >

    Im glad I was able to help.

    IT WORKS PERFECTLY!!!

    THANKS YOU!!!

  • Hello again!!

    we made several trys with different exportation, with phonegap and intel xdk, and we discover that the "lag" is not a intel xdk problem, but a problem with the "every tic" events, we remove all the every tic events and it works ok in different devices we used to have a every tic event to do a parallax movement with the clouds, but we solved it in this way:

    is not finished, we had to say to the clouds that back to the first position when they are out of the screen, but in this way it seems to work... anyway, we have a doubt

    It is normal that we can't use every tick event? what happens if we need to do it??

    thanks for the help

  • Hello again!!

    It is normal that we can't use every tick event? what happens if we need to do it??

    thanks for the help

    Common mis-used events and gotchas: scirra.com/blog/141/common-mis-used-events-and-gotchas

    Technically, the Every tick condition just means 'true'. The way events work is that they run the actions if every condition is true. Therefore, adding Every tick to an event with other conditions has no effect.

    There is also nice explanation on start of this article: scirra.com/tutorials/292/guide-to-construct-2s-advanced-event-features

    So short answer would be , that every function is checked and checked even without `every tick`.. - so if we need things to play just ONCE we add TRIGGER ONCE

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Seem like we found the real problem with the exportation, we go open new thread for the especific question.

    https://www.scirra.com/forum/viewtopic.php?f=182&t=123687

    Thanks for your help.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)