PhoneGap

Discussion and feedback on Construct 2

Post » Fri Sep 02, 2011 2:55 am

Has anyone tried using PhoneGap and had much luck using it?

http://www.phonegap.com/

It's a free service. By the looks of it, you can download an SDK for iOS, Android and other phones, paste in an exported C2 project, hit build, and you get a native phone app.

Haven't had time to try it myself but has anyone else? Does it work?

This is definitely something we'd try to integrate better if it works well with C2 projects!
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Fri Sep 02, 2011 3:00 am

I haven't tried phonegap, though I've tried titanium, which worked but the performance made it ususable (I think it was on an ipod touch 3GS though, not sure about ipod touch 4).

There's also appmobi, which claims to have a canvas accelerator that boosts performance by 500%: http://www.appmobi.com/?q=node/167

Hopefully with hardware acceleration coming soon to iOS HTML5, performance will be improved enough to make games for the platform!Arima2011-09-02 03:04:46
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Fri Sep 02, 2011 3:06 am

i'm going to be making a simple app with c2 to submit to appmobi. but i can try phonegap and appcelerator after that as well. if it goes smoothly, i may write up something about the process.
B
50
S
17
G
15
Posts: 1,029
Reputation: 26,289

Post » Fri Sep 02, 2011 3:12 am

I have a iOS project a friend gave to me that I'm using to test some C2 projects. Performance is terrible so far, tho.

I can upload it if you guys are interested, but I can only do that tomorrow :P
B
107
S
40
G
10
Posts: 456
Reputation: 13,202

Post » Fri Sep 02, 2011 2:27 pm

I tried it to check if it could solve a problem with layers I had. And since from what I understand it is one of the few tools that really produces native code, gave it a shot. Performance is slow but at least now I can see my two layers (although it's just a static scene with two sprites). Also tried it with the demo Space Blaster. With Space Blaster nothing is displayed, only a white background with the score, rockets and damage bar, the game definitely works, since the damage bar reduces, but nothing is displayed.
B
12
S
2
G
5
Posts: 17
Reputation: 3,564

Post » Fri Sep 02, 2011 4:40 pm

Seems like there will be some exciting possibilites on the horizon pretty soon!

Appmobi even mentions Construct 2 on their site btw: http://www.appmobi.com/index.php?q=taxonomy/term/10PixelRebirth2011-09-02 16:40:32
B
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

Post » Fri Sep 02, 2011 7:43 pm

Oh nice! Hadn't seen that link before, nice find. It's a shame if the games aren't working with these services, though. Maybe some HTML5 features are used that they don't cover yet?
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Fri Sep 02, 2011 8:52 pm

Here's the webview XCode project:

http://dl.dropbox.com/u/7324985/IOSwebview.zip

It's very rudimentary, but at least you get to see your C2 project in the iPhone/iPod screen :)

If you manage to improve it, please post it back to us! :D
B
107
S
40
G
10
Posts: 456
Reputation: 13,202

Post » Sun Sep 04, 2011 3:43 pm

Hey man, I would say phone gap integration would be a good way to go. It's open source and seems to be widely used. You would probably be able to build in support for their API quite easily. I like the idea of being able to access the phone gap API directly from construct. I would even pay a bit extra for the phone gap integration pack or something similar.
B
16
S
2
G
4
Posts: 67
Reputation: 3,295

Post » Thu Sep 08, 2011 10:28 am

I've gotten PhoneGap to work with Construct 2 and made some simple games with this setup. The compatibility is quite good although not entirely working out-of-the-box (as far as I know, sound is still not working). I've written a brief guide on my blog about setting it up, I guess this may help someone out there toying with the idea.

Maybe I'll post a separate topic about it.
B
2
G
1
Posts: 3
Reputation: 456

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests