Installing game on iPhone

Get help using Construct 2

Post » Fri Feb 21, 2014 12:25 pm

I need to install the game generated in CocoonJS on the iPhone . Can I do this as the Android (copying the apk and installing from a file manager) or only through AppleStore? I'd like a simpler and faster procedure. Thanks.
Last edited by RBuster on Sun Feb 23, 2014 9:17 pm, edited 1 time in total.
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,053

Post » Fri Feb 21, 2014 12:50 pm

Find the CocoonJS app in APPstore.

Then, via itunes, copy the .zip exported app (c2->export->cocoonJS) in CocoonJS folder (look in app, in itunes, on the low part of screen)

Tell me if you find it.

TheMc
B
7
S
1
Posts: 38
Reputation: 491

Post » Fri Feb 21, 2014 1:22 pm

Thanks for reply, @themacvictror

I need to use iTunes on my iPad or iPhone to manage the zip file or can I use a file manager to do this? I installed CooconJS on iPad. Thanks.
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,053

Post » Fri Feb 21, 2014 1:58 pm

iTunes should be installed on your PC/MAC (you can try with iFunBox or similar, but my advice is to use iTunes)

then, connect ipad on pc and, in iTUNES copy the exported .zip onto CocoonJS folder (in "app" tab).

Tell me if i'm not clear about something.

TheMac
B
7
S
1
Posts: 38
Reputation: 491

Post » Sat Feb 22, 2014 1:46 am

@themacvictror

I follow your instruction and include the file in the folder cocoon, but when I click, the system unzip the file and then the screen goes black, showing only fps. It's happens with all games. Do you know what the problem is?
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,053

Post » Sat Feb 22, 2014 7:12 am

@RenatoB :

make sure you don't use textbox or other components not implemented in cocoonjs (see doc to be sure).
Anyway, always run selecting "accelerated Canvas/webgl".
Then. running the app, tap in the corner of the screen (where fps are) and you'll be able to see log with all errors and warnings ! :-)

TheMac
B
7
S
1
Posts: 38
Reputation: 491

Post » Sat Feb 22, 2014 9:45 am

@themacvictror

The error message that appears on the console is:

Cannot open the html file "http://www.........". The server responded with status 404 (NOT_FOUND)
Get resources "http://www.........". The server responded with status 404 (NOT_FOUND)

What I may have forgotten or be doing wrong?

Thanks
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,053

Post » Sat Feb 22, 2014 5:14 pm

@RenatoB

better for you to share the .capx (one file project) to better check the problem.

TheMac
B
7
S
1
Posts: 38
Reputation: 491

Post » Sat Feb 22, 2014 7:25 pm

@themacvictror

This happens with all games for iphone was converted with CocoonJS. These games have been tested and html5 and apk (android) and everything worked perfectly. I followed the tutorial for exporting to CocoonJS but must be missing something.
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,053

Post » Sat Feb 22, 2014 9:57 pm

The procedures that I did:

- I exported the game to CocoonJS in Construct2 (PC)
- Includes all the data in the Ludei site and created a custom launcher to Apple Store
- I uploaded the zip file to my website.
- I installed CocoonJS launcher on my phone with android 4.4.2 and loaded the zip file with canvas 2d

I repeated the same process with compiled for iOS to try to see through the cocoon launcher on my android.

Then I tried to view the compiled into an ipad through CocoonJS launcher and happened the same problem.
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,053

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests