cocoonjs ios launcher

Discussion and feedback on Construct 2

Post » Sat Jun 16, 2012 4:56 am

Good to see everyone's excited about our cloud platform! We can't wait either, great products take great undertaking, fortunately we have an amazing development team that will deliver this SOON, we will announce it on our blog and probably here as well.

@nemo Thanks for sharing your results! We're eager to see what amazing games you guys can come up with on mobile.
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Post » Sat Jun 16, 2012 5:01 am

@ludei,

any 'progress' on the ios launcher?
B
50
S
17
G
15
Posts: 1,029
Reputation: 26,289

Post » Sat Jun 16, 2012 12:32 pm

@harrio , wait the cloud ^^
B
45
S
15
G
6
Posts: 795
Reputation: 11,935

Post » Sat Jun 16, 2012 1:28 pm

Has anybody else tried using buttons or textboxes in their games, and then exporting to CocoonJS?
I'm trying the CoocoonLauncher for Android, and it seems like buttons and textboxes won't appear at all.

Can anybody else try and confirm this?
B
20
S
5
G
4
Posts: 51
Reputation: 4,139

Post » Sat Jun 16, 2012 2:31 pm

@basti , hmm i never tried cocoonjs because i don't have android yet but i think texts work on it because there is a video shows fps on cocoonjs launcher .
B
45
S
15
G
6
Posts: 795
Reputation: 11,935

Post » Sat Jun 16, 2012 3:49 pm

@basti - the way CocoonJS works at the moment is it's not a real browser, so not every single feature that browsers have will be in CocoonJS. This includes Button and Textbox. It's a known issue and we may be able to fix it in future!
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Sat Jun 16, 2012 6:57 pm

@basti To go off of the browser term Ashley just mentioned, you can think of CocoonJS as a "mini browser" that only interprets the JavaScript. The rest(CSS, HTML) is ignored, for now. That's why the index.html file is not needed in the CocoonJS launcher. However, we'll also have CSS support coming sooner than expected! So stay tuned.

@zsangerous Actually the FPS is all from JavaScript
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Post » Sun Jun 17, 2012 8:48 am

Ok ludei and Ashley, thanks for clarifying. Keep up the excellent work!

I've noticed the javascript alert() function works, but not the confirm() function. I need some confirm prompts in my game, and I'm wondering if I should go down the road creating the UI manually using some clickable (touchable) sprites - to be on the safe side that it will work. Any comments on this?
B
20
S
5
G
4
Posts: 51
Reputation: 4,139

Post » Sun Jun 17, 2012 1:17 pm

@basti - it's usually better to invent your own UI than rely on browser prompts like alert(), so I would recommend that.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Mon Jun 18, 2012 2:39 am

@basti - We would have to agree with Ashley, it's good to have your own UI;plus making your own UI will make it blend in to your game a little more.
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: blurymind, nimos100 and 11 guests