Knifegrinder's Recent Forum Activity

  • Are you talking about button objects or sprites acting as buttons?

    AFIAK there's no way to set opacity on real button objects but I might be wrong.

    If you are talking about sprites, the on touched event works in my game even with zero opacity. Try to control the collision mask.

  • Yeah, DON'T USE ANDROID SDK EMULATOR, it's so slow that breaks even the C2 engine collision detection.

    I suggest you to use a separte GUI layer with parallax (0,0) and then place GUI elements with perfect pixel positioning based on the resolution you gave to the application (a 16:9 resolution is preferred with this approach).

    Then, with a wise use of anchor behaviors on gui elements your app will be ready to support every mobile resolution out there.

  • I'm writing a complex game based on accelerometer input, here are my personal tests.

    Phonegap supports it on both iOS and Android. I suggest you the 1.7.x releases. Later versions introduced some bugs on android 2.3.x devices.

    Appmobi software supports it but uses a different scale of values for accelerometer data (my suggestion is to write a simple app with three text objects filled with alpha, beta and gamma values to see how accelerometer data are treated in these wrappers).

    Appmobi directcanvas doesn't still support it, neither CocoonJS.

  • - The form control plugins Textbox and Button are not supported.

    - The AJAX object is not supported.

    - The XML object is not supported.

    - The Facebook object is not supported.

    - The letterbox fullscreen modes are not supported. If they are selected, it will fall back to simple Scale mode instead.

    - The Text plugin's 'Set web font' action is not supported.

    - The WebStorage plugin's session storage is not available. Use local storage or global variables instead.

    - Most features of the Browser object are not supported.

    • Accelerometer is not supported, even now that Ludei is claiming support.

    Yeah, must be a joke ... Or explain me how to send an apps made on Constuct 2 directly on my android device.

    Phonegap 1.7.x recompiled with Eclipse is still the best choice.

  • Directcanvas and cocoonJs are based on the same concept. They use a JS interpreter and render every draw call in a OpenGL accelerated canvas.

    On iOs the situation is now good. Directcanvas is quite stable and I'm getting a playable framerate even with a very old iPod touch 2g.

    On android I still have a lot of problems. CocoonJS is in it's early days and lacks a 100% C2 compatibility (some plugins are badly supported and some key features like accelerometer are not supported at all), Directcanvas is in a beta status and doesn't work with C2. I'm still using phonegap for testing purposes waiting for something better.

  • This is not related to C2 at all... anyway, it's probably a Java problem. Reinstall JRE (Java Runtime Environment)

  • Knifegrinder, could you elaborate? Specifically, do you have knowledge relating to the data storage capacities of these tools across multiple platforms, and where that data may be stored?

    I can just post my personal experience.

    Webstorage object works correctly on my device (Android 2.3.6) with:

    Phonegap (Webstorage data saved correctly, saved data keeped even on app updates)

    Appmobi (Only software renderer tested, webstorage works but there's a loss of data on app updates using appmobi update service)

    CocoonJS (Webstorage works fine on my device, updates seem to work correctly)

  • I'm hoping/guessing that CocoonJS, PhoneGap and appMobi all work similarly, and if they do, then webstorage should store things locally in the app itself?

    You're guessing right.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Remember that these variables must have the same data type. (number - number). If so, this is really strange.

  • I don't know if this is a bug or CocoonJS simply lacks of a proper accelerometer support, anyway here are the files.

    Capx

    and

    Exported APK

    As you can see there's no sign of life...

  • Sorry for the delay...

    I'll post a capx and a link to an exported APK in the bug forum.

    But I don't know if this is really a bug. Reading here I can't find accelerometer in the list, so maybe it's not still supported.

  • Now that CocoonJS cloud builder is out and available and "experimental" tag has been dropped on C2 side it's time to officially ask a question that's bugged me since the first beta of Ludei's wrapper.

    Is there a way to get accelerometer data or touch object support is limited to touch controls?

Knifegrinder's avatar

Knifegrinder

Member since 1 May, 2012

None one is following Knifegrinder yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies