Crosswalk Intel XDK experiences

Discussion and feedback on Construct 2

Post » Mon Oct 20, 2014 3:31 pm

@IntelRobert
Thank you for the explanation of the difference... I'll consider which to target next game not this time, but worth thinking to reduce size for simple things I make ;)
B
9
S
3
Posts: 23
Reputation: 646

Post » Mon Oct 20, 2014 3:47 pm

IntelRobert wrote:Crosswalk puts the chromium webview into your APK, which uses about 16MB of space. It only works on 4.0 and later, but gives you all the features of a recent chromium on all phones.


That's really interesting. 16MB is a huge difference for mobile games. Does anyone have a link to what these features are in the C2 equivalent? If we are not using those features, than just using the Android option would be a very attractive indeed.
B
46
S
23
G
31
Posts: 693
Reputation: 20,637

Post » Mon Oct 20, 2014 9:03 pm

mrexcessive wrote:That feels like a lot of cruft to me ?

it's basically Chrome built into your app so not really cruft

mrexcessive wrote: Is there some way to easily strip out things unused from APK files ?

No.
But see intelrobert's response above about Android builds. My apps so far are mobile only, not CPU/GPU intensive, perhaps I could use non-Crosswalk for my apps. I'm sure larger download on mobiles is still an issue for some people.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Mon Oct 20, 2014 9:14 pm

GeometriX wrote:Hi Intel team, I have two small issues with the Intel XDK. Both right next to each other:

Under Launch Icons and Splash Screens, whenever I come back to an existing project (either from another project in Intel XDK, or if I close and re-open the XDK), the launch icons always reset to blank, and I have to manually assign each icon before building.

Also, I cannot find a way to remove a splash screen that I no longer want. I can change them, but I can't outright remove them.

Any idea what I can do to address either or both issues? Thanks!

Intel-XDK.png


I think it is a bug in version 1494 as it fails to save correct icon information in <gamename>.xdk config file in your source directory.

Just change content of your xdk file from this:

Code: Select all
          {
            "relPath": "icon_36.png",
            "density": "ldpi",
            "height": 36,
            "width": 36
          },

To this:

Code: Select all
          {
            "relPath": "icon_36.png",
            "density": "ldpi",
            "height": 36,
            "width": 36,
            "orientation": "portrait"
          },
          {
            "relPath": "icon_36.png",
            "density": "ldpi",
            "height": 36,
            "width": 36,
            "orientation": "landscape"
          },


And it works perfect! ;)
Last edited by lipstick on Wed Oct 22, 2014 12:36 pm, edited 1 time in total.
B
7
S
1
Posts: 9
Reputation: 448

Post » Tue Oct 21, 2014 3:29 am

Grimbarian wrote:I tried Crosswalk last night for the first time in ages. I exported a game I already have working on the OUYA console via Cocoon JS, and another game I use for controller testing (a 2 player twin stick shooter) - both to the OUYA console as I wanted to test performance and controller.

The performance on the twin stick shooter was ok - not quite as fast as CocoonJS, but pretty good nonetheless. However the controllers (OUYA and PS3) wouldn't work properly. Both pads only controlled the movement of player 2, and neither would fire at all. (Both pads work perfectly and as intended via CocoonJS).

The other game that I already have working on OUYA I wasn't able to get past the menu screen as neither controller would detect button presses.

Does anyone else have any experience with the gamepad object controllers not working when exporting via Crosswalk? If you have it working how did you achieve it please?



I posted new documentation for an alternative way to publish on the OUYA.
https://github.com/ouya/docs/blob/master/construct_2.md

Image
https://www.youtube.com/watch?v=HXf0Gp_i9ew

This uses OUYA-Everywhere input so it's going to support PS3, RockCandy, XBOX 360, OUYA, etc controllers and any controllers added in the future. And that's without any special gamepad handling in your Construct 2 app.

It would be interesting to compare your performance and experiences. I'm trying to make the process as painless as possible.

I've also added support for detecting MENU Button presses for each controller.

I did initially have some issues with button presses when the gamepad lacked some error checking. There was a not-so-rare case where an undefined check was missing. If a button input error happened, it was completely stop the game events from happening.

Thanks.
Last edited by tgraupmann on Tue Oct 21, 2014 4:11 pm, edited 3 times in total.
B
3
Posts: 7
Reputation: 189

Post » Tue Oct 21, 2014 8:01 am

@tgraupmann How is this related to Intel XDK/Crosswalk? Make a new topic.
B
81
S
21
G
23
Posts: 515
Reputation: 18,702

Post » Tue Oct 21, 2014 8:28 am

@IntelRobert, can you please tell me why games with Audio dont work? first i builded game with Audio and its started, sowed black screen and closed. now i remove Audio and all working fine.
B
6
S
1
Posts: 53
Reputation: 506

Post » Tue Oct 21, 2014 12:32 pm

@IntelRobert, sorry, cant reply to you in PM. i have not enough reputation)) please tell me your mail or skype, or whatever)
B
6
S
1
Posts: 53
Reputation: 506

Post » Tue Oct 21, 2014 12:58 pm

New Google play test plugin not show leaderboard, login is work see the video.

https://dl.dropboxusercontent.com/u/66127489/Tester/VID_20141021_154958.mp4
B
55
S
15
G
10
Posts: 157
Reputation: 22,087

Post » Tue Oct 21, 2014 4:06 pm

Cipriux wrote:@tgraupmann How is this related to Intel XDK/Crosswalk? Make a new topic.


I was replying to this post, with 60+ pages on a topic it's easy not to make the connection.
viewtopic.php?f=146&t=101139&p=838291&hilit=ouya#p838291
B
3
Posts: 7
Reputation: 189

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 13 guests