IntelRobert's Forum Posts

  • Nathan

    Unfortunately, web storage will be lost when switching between CJS and crosswalk. C2 relies on an HTML5 feature called localStorage, and they are implemented differently.

    I noticed, at least in my own tests (page 9), that CJS performs better where there are larger amounts of alpha transparency but otherwise Crosswalk performs better. Has anyone else noticed anything similar?

    IntelRobert If a published app is signed with the same signature as a previous CJS build, will the user's webstorage be retained when updating from a CJS build to a Crosswalk build?

  • There will be an XDK update later this week that removes the size limit. However, if the final APK is > 50 MB, you won't be able to publish in Google play.

    For the purposes of testing, uploading large games into our build system may be slow. You can do quick tests by using the XDK debug tab or C2 test on wifi with the previewer App(https://play.google.com/store/apps/details?id=com.rcintel.cplayer) or in the chrome browser.

    What's the max size for the new XDK, last I tried it was 25mb.. pretty damn small for apps targetting newer devices with 720p or even 1080p content.

  • XDK build system was updated. Minimal apk was reduced from 20Mb to 17Mb. The build system is in the cloud so no update is necessary on your side.

  • There was an XDK update today. It is in the build service so restart XDK to see the changes:

    * Fix for issues that prevented publishing apk's in google play

    * Launch icons. In the XDK build dialog, click on assets tab to upload the icon. You need to use the cordova API to make the splash screen appear, a future update will make it automatic.

    * fix for camera problem with usermedia

    More fixes later this week for other issues.

  • GameThirsty

    Can you provide a capx file with a simple example? Dropbox or email to my intel.com address: Robert.S.Cohn

    It would be nice to have the User Media object work, and being able to record tiny video clip inside C2 and Play it back.

    But that may be too much to ask for. <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • jayderyu We are using crosswalk 3.31 (crosswalk 3, chrome 31). They did a special build/test for our first release. In the future, we are going to sync to their schedule. You can try a crosswalk 4.32 with the test app: bit.ly/19St6rl and c2 preview on wifi feature.

    RenatoB Are you enabling asm.js physics in construct2? Ashley's blog says that will be better on Android. If someone can provide a benchmark we could look at performance. A capx file would be best.

    A benchmark is easy to run and provides easily reproducible behavior. We used Ashley's spaceblaster demo for crosswalk tuning. He automated the behavior and added fps so it was easy to run & measure.

  • I am Robert Cohn. I work for Intel on XDK, a tool for developing cross platform apps with HTML5. It can be used by construct2 users to package for iOS, Android, ....

  • XDK bugtracker is only accessible to intel people. People usually post issues in our forums (https://www.html5dev-software.intel.com/index.php) and then we create an issue. Crosswalk bugtracker is open to everyone: crosswalk-project.org/jira/secure/Dashboard.jspa

    Problems you see when running an App are most likely crosswalk and feel free to file something in their JIRA. None of us are big C2 users so you will have to provide some help to reproduce/isolate a problem.

    IntelRobert Do you have an "official" bugtracker somewhere?

  • I collected all the issues and put them here. The JIRA numbers are the way we track them internally. If I missed something let me know.

    docs.google.com/spreadsheet/ccc

  • GameThirsty

    We would not get rid of the status bar at the top--it would not make sense for non-game apps. However, Yongsheng is thinking if we can make it an option.

  • The debug issue preventing publishing crosswalk apps in google play has been resolved and I put an app in the store. However, I found that we are not setting the version codes properly. You can publish, but you can't update or publish an x86 binary so it is still not useful.

    After everyone returns from vacation, we can resolve all the publishing issues like launch icons as well as the version code.

  • I made a previewer app so you can use C2 preview on LAN feature to test crosswalk. This will be the quickest way to test with crosswalk.

    You will need to install one of these APK's.

    Crosswalk that is in XDK build system: bit.ly/1hLVm0p

    Crosswalk Canary with a later version of chrome: bit.ly/19St6rl

    Article about C2 preview on LAN feature: scirra.com/tutorials/247/how-to-preview-on-a-local-network/page-1

  • Allchix: How can we reproduce the spriter animation problem?

  • The goal of crosswalk is to make html5 a first class programming language so hopefully all of that will be directly available in crosswalk in the future. You can read more here:

    crosswalk-project.org

    I remember some discussion on supporting background services with a model similar to web workers.

    If you need something now, you always have the option of making a crosswalk extension. You would have to build the APK yourself (not in XDK), following the directions that crosswalk project publishes. If extensions are open source and generally useful, we could also try to get them into XDK build so others would benefit.

    Is there any chance to build a data bridge between Crosswalk and Android OS (inside XDK) ?

    My consideration are:

    - Background service (to remind me that my game need some attention from time to time)

    - Sending an "intent" to the OS, for available installed apps (click on facebook icon inside my game to open facebook app)

    - File manipulation outside browser security restrains

    ... and more

  • The crosswalk release is beta and does not support the intel.xdk api's so the orientation API's cannot be used. It will be added in a future release.

    We are also investigating adding support for this API w3.org/TR/screen-orientation since C2 already knows how to use it.