Visual Studio 2015

Discussion and feedback on Construct 2

Post » Tue Sep 22, 2015 7:50 pm

Cipriux wrote:@Trent123 I got it working using Visual Studio 2015. but I got 10 FPS instead of 60 with IntelXDK. Do you know how to specify the browser (Crosswalk version maybe) ? What FPS do you get compared to IntelXDK ? I am actually pleased that the game starts instantly and the apk is 400KB, insane difference, but performance is very bad.

is it any different from the normal cordova Android build from Intel XDK (you know , the one that isnt crosswalk, only called Android)?
B
38
S
11
G
5
Posts: 485
Reputation: 5,340

Post » Tue Sep 22, 2015 10:47 pm

@fldr Now I realise it must be the same as the normal Android from IntelXDK. I am getting an error from trying to compile to normal Android in IntelXDK, so I could not know, but yes, it might be the same.
B
79
S
21
G
23
Posts: 513
Reputation: 18,648

Post » Wed Sep 23, 2015 3:18 pm

Trent123 wrote:Got it to build the unsigned apk in Visual Studio 2015. Half the size of the IntelXDK build.

Do a Cordova export from Construct 2. Create a new Cordova app in Visual Studio 2015. Drag the contents of your Cordova export into the www folder of your Visual Studio Cordova app.

From there you can debug test it Ripple - Nexus and build it for android.


I did a build with that method. I have no sound in my game but it runs the same if not better as it does with the XDK build. The APK size has decreased to 6MB (to the project's actual size) and started instantly on my phone.
The game I was testing (on Google Play it has an XDK build): https://play.google.com/store/apps/deta ... incbub.rel
The phone I used: Samsung Galaxy Grand Prime (Android 4.4.4)

The problems, errors I've encountered during the testing:
- No sound in the built project (I'm sure it's my mistake, because it worked fine using the emulator in Visual Studio).
- Admob ads don't show (not a suprise).
- Took some time fixing an enviroment variable for the JDK to make VS2015 able to start the JVM.

If someone who has experience with Visual Studio could write a tutorial about how to build our projects with it and where can we find the settings releated to it (for ex.: setting the app icon) it would help a lot of the developers in my opinion.
B
135
S
33
G
17
Posts: 1,557
Reputation: 20,717

Post » Sun Sep 27, 2015 3:36 pm

fldr wrote:
Cipriux wrote:@Trent123 I got it working using Visual Studio 2015. but I got 10 FPS instead of 60 with IntelXDK. Do you know how to specify the browser (Crosswalk version maybe) ? What FPS do you get compared to IntelXDK ? I am actually pleased that the game starts instantly and the apk is 400KB, insane difference, but performance is very bad.

is it any different from the normal cordova Android build from Intel XDK (you know , the one that isnt crosswalk, only called Android)?


I don't know honestly. I've never compiled with the Normal Android build in XDK.
B
6
S
2
Posts: 34
Reputation: 512

Post » Sun Sep 27, 2015 3:48 pm

Taming Mobile Apps with Cordova and Visual Studio :
http://www.codemag.com/article/1503071
B
6
S
2
Posts: 34
Reputation: 512

Post » Sat Nov 21, 2015 9:21 pm

@Cipriux
Have you succed trying to set crosswalk with Visual Studio?
B
86
S
25
G
11
Posts: 652
Reputation: 11,051

Post » Sun Nov 29, 2015 5:03 pm

@Iolva No, I did not. I didn't even tried that hard.
B
79
S
21
G
23
Posts: 513
Reputation: 18,648

Post » Mon Nov 30, 2015 6:02 pm

This may be useful. I used Cordova for VS some months ago. No performance gain, obviously.
http://www.spritehand.com/2015/01/using-crosswalk-with-visual-studio.html

On another note I'm trying UWP exports and the new Edge webview on a W10 mobile beta and, as usual when there's HTML5 involved, they're TERRIBLE. No ads working, inconsistent sound and touch problems.
I really hope Microsoft will fix them before the W10 official release but I really doubt it will happens.

EDIT: Sorry guys if I didn't reply to you in another thread. I log in only from time to time.
B
11
S
3
Posts: 224
Reputation: 2,028

Post » Tue Dec 01, 2015 11:35 am

visual studio 2015 got an huge update today for itself, including all the stuff it uses - cordova / python / html / web and so on...

you can dl here:
https://www.visualstudio.com/en-us/news ... e1-vs.aspx
Sea Monsters template - Isometric
Also includes 40 pages PDF of optimizations and "how-to" for your games, and how the "sea monsters" template was built. Follow link for details :)

sea-monsters-templates-and-assets_t162705
B
42
S
14
G
12
Posts: 624
Reputation: 9,421

Post » Tue Dec 01, 2015 1:58 pm

@knifegrinder, @Cipriux, @lolva - Have you tried installing the "Crosswalk Webview" plugin in your Cordova project in Visual Studio?
Twitter | Facebook | Instagram

If you play Puyo Puyo games, you can meet me at the Puyo Puyo English Community Discord: https://discord.gg/0k41S8ARwvY2iTIQ
B
103
S
24
G
11
Posts: 696
Reputation: 12,896

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: tarek2 and 29 guests