can we add custom html5 panels/forms in game index file

Discussion and feedback on Construct 2

Post » Tue Jul 08, 2014 2:17 pm

after i export my game in cocoonjs i get index file , that index file contain only following code

Code: Select all
<html>
   <body>
      <script src="c2runtime.js">
      </script>
   </body>
</html>


I was wondering can i add html based forms and sub pages in this index file ? I did the same thing using android with crosswalk but the cocoonjs exported code is totally un managed and unorganized without folders... If anyone has done this before if yes then kindly share your experiences and samples????

Note: i tried to add few things but nothing works
B
9
S
2
Posts: 108
Reputation: 1,010

Post » Tue Jul 08, 2014 2:27 pm

Founder of HeroicTek
HeroicTek.com
Owner of HeroicDomains
HeroicDomains.com
B
21
S
7
G
1
Posts: 157
Reputation: 2,020

Post » Tue Jul 08, 2014 2:58 pm

yes i have looked at this tutorial ..but the author has not target the cooconjs , my problem is I am using
cocoonjs since i need to make my game for ios. So when i export my construct2 game using cocoonjs then the index file i see only with the following code.

<html>
<body>
<script src="c2runtime.js">
</script>
</body>
</html>

Now i do not know how to go with this one...suppose if i need to create a div panel then shall i add this script js inside or it will load it by it self ??? I need to create a proper web form using div , i have used APP Framework of IntelXDK but when i test it with launcher in ios i see abnormal screen..
B
9
S
2
Posts: 108
Reputation: 1,010


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests