Crosswalk Intel XDK experiences

Discussion and feedback on Construct 2

Post » Thu Jul 10, 2014 6:38 pm

Hi @IntelRobert, first of all thank you, now, I sent you a pm with my capx, I appreciate your help :)
B
10
S
3
Posts: 75
Reputation: 864

Post » Fri Jul 18, 2014 12:11 am

hmin wrote:
Silverforce wrote:I've just tested with High DPI in C2 and compiled with Intel XDK using the canary beta option. It broke my WebGL effect "Glass" (from C2's default effects), it works fine with High DPI is set to No in C2. Quite strange.

All it is is a 128 x 128 white sprite with Glass effect, set to grow by 20 pixels height and width every frame.



Hi hmin, its been awhile, have you guys ever got the WebGL effect "Glass" to work on IntelXDK/Xwalk? Obviously has to run in WebGL mode for acceleration and not with it off.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Sat Jul 19, 2014 4:45 am

YES it works, tried it on the latest build beta, works really flawless.

Overall, game performance is 30-60 fps and thats great for such a complex RPG/RTS with way too much particles & explosions.

Come on guys, lets get that IAP support working!

@IntelRobert Do you guys know if its possible to implement Immersive Mode as an option?
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Mon Jul 21, 2014 2:50 am

Hi, I am not sure if it is easy for you to make your app be aware of high dpi screen as following:

Code: Select all
<style>
 #theCanvas {
    width: 50%;
    height: 50%;
}
<style>
<canvas id="theCanvas"></canvas>
<script>
window.onload = main();
 
function main() {
  var canvas = document.getElementById("theCanvas");
  var devicePixelRatio = window.devicePixelRatio || 1;
 
  // set the size of the drawingBuffer based on the size it's displayed.
  canvas.width = canvas.clientWidth * devicePixelRatio;
  canvas.height = canvas.clientHeight * devicePixelRatio;
 
  var gl = canvas.getContext("webgl");
  ...
}
</script>


According to my some tests, it can address most of webgl resolution related issues on a high dpi mode. Could you please have a try?


Silverforce wrote:
hmin wrote:
Silverforce wrote:I've just tested with High DPI in C2 and compiled with Intel XDK using the canary beta option. It broke my WebGL effect "Glass" (from C2's default effects), it works fine with High DPI is set to No in C2. Quite strange.

All it is is a 128 x 128 white sprite with Glass effect, set to grow by 20 pixels height and width every frame.



Hi hmin, its been awhile, have you guys ever got the WebGL effect "Glass" to work on IntelXDK/Xwalk? Obviously has to run in WebGL mode for acceleration and not with it off.
Last edited by hmin on Mon Jul 21, 2014 3:02 am, edited 1 time in total.
B
4
S
1
Posts: 35
Reputation: 416

Post » Mon Jul 21, 2014 2:56 am

@hmin It works, I recently retested it again on High DPI mode with the latest Xwalk/XDK beta compiler. The WebGL effects work really well. Now just waiting for Intel to update XDK with IAPs. Also since you're here, any news on Immersive Mode (100% fullscreen, removing the home buttons) support?
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Mon Jul 21, 2014 2:52 pm

Any news regarding AdMob Integration also on Keystore control?
B
24
S
7
G
2
Posts: 63
Reputation: 2,597

Post » Tue Jul 22, 2014 5:10 am

Silverforce wrote:@hmin It works, I recently retested it again on High DPI mode with the latest Xwalk/XDK beta compiler. The WebGL effects work really well. Now just waiting for Intel to update XDK with IAPs. Also since you're here, any news on Immersive Mode (100% fullscreen, removing the home buttons) support?


Great. For immersive mode fullscreen, we already have the solution to fix, maybe it will be XDK next update, and we will push it to the public as soon as possible. I am sorry to say you still need to wait for a while.
B
4
S
1
Posts: 35
Reputation: 416

Post » Tue Jul 22, 2014 12:34 pm

hmin wrote:Great. For immersive mode fullscreen, we already have the solution to fix, maybe it will be XDK next update, and we will push it to the public as soon as possible. I am sorry to say you still need to wait for a while.


Does we have a updates list? i need to see if we will have admob integration also control over keys..
B
24
S
7
G
2
Posts: 63
Reputation: 2,597

Post » Wed Jul 23, 2014 9:56 pm

Hello, i tried to use Touch Orientation and i can't do it work when i use CROSSWALK on XDK, but in the emulator (of XDK) run it well.

This is my event sheet
http://puu.sh/amlZE/2b76cfab5f.png

in the emulator the text of BETA ALPHA and GAMMA change and show the orientation, but when i use CROSSWALK, stay in 0.
this is my layout
http://puu.sh/ammbF/8d04df1d09.png


Sorry for my poor english.

***************************************************************
UPDATE:

I did it with Cordova for Andorid on Intel XDK, but i can't configure the icon of the app, and the screen was cut off a little from the left and right side.

But i can't do it work on Crosswalk for android.
"You can kill a man, but you can't kill an idea"
B
10
S
2
G
2
Posts: 25
Reputation: 1,516

Post » Thu Jul 24, 2014 2:27 am

Are you saying the integration with Corodva AdMob plugin? @IntelRobert

igalencar wrote:
hmin wrote:Great. For immersive mode fullscreen, we already have the solution to fix, maybe it will be XDK next update, and we will push it to the public as soon as possible. I am sorry to say you still need to wait for a while.


Does we have a updates list? i need to see if we will have admob integration also control over keys..
B
4
S
1
Posts: 35
Reputation: 416

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests