Joannesalfa's Forum Posts

  • I would like to know, how to try with Juantar's demo?

  • Anyways, i'm going to release it without directCanvas.

    There an issue how it won't hide status bar when on start layout, how do i make it complete hide status bar without direct canvas?

  • Joannesalfa

    I believe I have a solution for your problem. All you have to do is remove some code that C2 auto generated from your index.html file.

    Here's what you do:

    Open up your index.html file and scroll down to about line 120. There you will see the following code:

    > // Note: currently disabled
    window.setInterval(function () {
         AppMobi.canvas.execute('window["C2_Motion_DCSide"](' + c2alpha + ',' + c2beta + ',' + c2gamma + ',' + c2accgx + ',' + c2accgy + ',' + c2accgz + ',' + c2accx + ',' + c2accy + ',' + c2accz + ');');
    }, 50);
    

    Remove that code block from your index file and restest.

    That floods the DC webview bridge with ununnecessary calls and was causing the slowdown we saw.

    When I removed that code the touch response and all around performance greatly improved.

    I will take to Ashley about possibly only injecting that code into the index.html file when the user opted to use the accelerometer.

    Let me know how that works for you.

    tap

    I edited index.html to remove this code, then i updated app on XDK and tested on my iPod touch, the result is, well...

    Not 100% satisfied...

    It looks like it's not really "greatly improved" it didn't make a difference.

  • You do not have permission to view this post

  • I doubt if rexrainbow his 100 plugins are made with jQuery

  • You can code your HTML5 to make it run using the dependencies (domain, file size, validation, etc.), otherwise it won't run if is ripped off

  • PixelPalette did you test Box2D demo by ludei? it would be nice if we port it using C2

  • Oh right, well in that case the solution is to add a condition and not an expression!

    Good one! <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Stencyl offers pro $ 79 per year and iOS 149 per year.

    If CocoonJS setup 250 per month is a totally steep, big crisis for independent developers

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks!

    Do you think could you merge with 2 functions for node-webkit main plugin?

  • I wish DirectCanvas needs a serious update that could run better than before.

    I have a lot of projects.

  • Just curios, what are differences between FS and Path?

  • Why would you want this instead of the condition testing the same thing?

    There are 2 conditions for Audio:

    -On Ended

    -Preloads Complete

    I don't see one which it affects is "Playing"

  • Compare it bewteen HTML5 Browser and CocoonJS

    dl.dropbox.com/u/76227787/prototype.capx

  • I tried to test a game which it uses accelerometer and physics but it's not working with C2, however CocoonJS 1.2 already supports accelerometer.

    There a demo about physics in cocoonJS launcher and it worked like a charm.

    I had no idea how does it work.