tipztv's Recent Forum Activity

  • If nothing is changing, the engine will stop drawing the screen, so the GPU can power down and save battery. The events are still checked every tick but you could put them all in a group and disable the group except for one tick every second. This would mean the work per tick is so small it probably won't bring the CPU out of its low-power state.

    I guess some kind of option to stop ticking for a while could be useful, but it's not on our todo list right now.

    The problem is that I only have one event (For every 1 second). Everything is executed in that event. is there anything else I can do? I sent you a message via the support email to explain my situation.

  • It needs to do that, but you could wrap your code up using

    System. Every [add number seconds here]

    And possible toggle pause/unpause every second????

    And the battery will have zero effect (Zero Savings) running your app the way you discribe. You lose more battery juice using a screen, wifi, etc.

    Hmm... I think it still check my events 60 times per second, but the events don't trigger (I have been already using every 1 second). Setting timescale seems to improve the situation either.

  • Hi all,

    I'm using Construct 2 to make some non-game stuffs. The problem is that the engine checks all the events 60 times per second, which is an overkill for my purpose. I only need to check the events 1 time per second to reduce the battery consumption. Is there anyway to do this? Modifying the exported c2runtime.js file, perhaps?

    PS: I know that I am using the wrong software, but my time is limited and I need something friendly to people who don't know how to code.

    Thanks a lot!

  • Ashley Thanks! I'm noticed that there is a Crosswalk - Cordova project on Github. I will try it and see if the performance is good :) Btw, is Cordova Phonegap? Their websites and document pages look very similar

  • Ashley Thanks! I'm considering this option because I need access to more native features and add some tweaks that can only be done in Eclipse.

    How should I replace (if possible)

    cr_createRuntime("c2canvas")

    with

    wizCanvas.create(String viewName, JSONObject options, Function success, Function fail)

    Thanks!

  • Gianmichele Thanks! Did you modify the index.html file? I tried the example and the performance is awesome!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Gianmichele How did you implement wizCanvas with a C2 project? I'm trying to do it. Any help would be much appreciated!

  • Hi all,

    Has anyone here used this tool?

    From the description: WizCanvas allows a developer to create a ultra-performant native canvas component. The view is based on the Ejecta framework and has WebGL support.

    github.com/Wizcorp/phonegap-plugin-wizCanvas

    Here is the author's presentation from the last PhoneGap event:

    youtu.be/ldsP6bcQv98

    Is it possible to use it in Android project with PhoneGap to increase the game performance?

    I need access to native android features from my game so I choose PhoneGap. Hopefully the above tool can help me fix the performance issue with PhoneGap.

    Ashley

    Thanks!

  • Darklinki I got black screen even with the default template project. Will investigate further.

    Ashley iloveubuntu.net/chromium-powered-oxide-library-reaches-build-support-and-instructions-further-opens-itself

  • Darklinki Thanks! but it doesn't seem to work for me. I still see the black screen. I tried on both the HTML5 Touch UI and Cordova Touch UI templates.

    When I launched the phonegap project (right when exported from c2), I see a black screen, is that normal?

  • Darklinki Thanks! I tried to create a Cordova project, copied the exported files from C2 to the project and launched it in debug mode but QMLScene showed a black screen, any advise?

  • Darklinki good to know :) Have you tried any C2 game on it? The SDK does not include the emulator so I cannot test anything.

tipztv's avatar

tipztv

Member since 27 Jan, 2013

None one is following tipztv yet!

Trophy Case

  • 11-Year Club

Progress

11/44
How to earn trophies