index.html loaded twice

Discussion and feedback on Construct 2

Post » Wed Jul 23, 2014 6:36 am

Hi,

I have a strange issue,can sb help me,thx.

1.This is a simple C2 project: one layout,one event:click and alert("ok");
2.My all games wrapped with phonegap and cordova are all like above project (but crosswark is ok);

3. I exported this project to phonegap or android;
4.I built it with phonegap build service(http://build.phonegap.com) or built it locally with CLI of phonegap(or cordova),
the index.html loaded twice,the two pages overlap partly, and the game event fired twice;
5. But phonegap sample project has no this issue, and if i newed a html without all C2's js files ( ie. c2runtime.js,ect),
it worked fine too;
6.c2runtime.js is too complex to me,can sb help me to solved it
You do not have the required permissions to view the files attached to this post.
B
24
S
5
Posts: 4
Reputation: 1,492

Post » Sat Aug 09, 2014 3:01 pm

You can now use crosswark with phonegap plugin.
Performance will be better in android.
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests