Phonegap discussion

Discussion and feedback on Construct 2

Post » Tue Feb 04, 2014 5:52 pm

What is the current state of Phonegap and getting it to run in an accelerated webview? I know there are several plugins floating around like FastCanvas and such but has anybody been able to figure out how to get them to work with Construct 2? I'm building my PhoneGap project myself, not using the cloud compiler.

I know I could just use Cocoon.js or Crosswalk, but PhoneGap has so many plugins and is able to easily communicate with the native code. Plus it gives more skilled users the ability to tweak their program within Eclipse if needed.
B
4
S
1
G
3
Posts: 36
Reputation: 1,147

Post » Tue Feb 04, 2014 6:04 pm

i just did a little googling, maybe this is a possible option?
http://plugreg.com/plugin/phonegap/phonegap-plugin-fast-canvas (android only?)

also this has been discussed a little already on the forum here
http://www.scirra.com/forum/accelerated-phonegap-canvas-plugin_topic83069.html (talk about eject based plugin, ios only?)
B
63
S
12
G
6
Posts: 456
Reputation: 8,985

Post » Tue Feb 04, 2014 7:09 pm

I've looked into those options but I haven't seen anybody actually implement the fast canvas plugin with C2 yet. I am just wondering if there has been any breakthroughs as far as getting things to use accelerated webview.

I feel like if I can overcome that one obstacle then I can achieve what I am looking for. I want to be able to talk between the HTML5 application and native code (Google Play Services or Ouya functions as an example)
B
4
S
1
G
3
Posts: 36
Reputation: 1,147

Post » Thu Jun 26, 2014 4:23 pm

ludei phonegap webview+ plugin is that.

for example
plugin-phonegap-camera_t107012

in the middle of it , you can see this

//optional: webview+ plugin, better performance for android 4+
cordova plugin add https://github.com/ludei/webview-plus

not registered in phonegap build service, so use it with phonegap cli.

thanks
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

Post » Sat Jun 28, 2014 4:27 pm

found more fast plugin (fast canvas, hardware acceleration)

for example
plugin-phonegap-camera_t107012

in the middle of it , you can see this

//optional: fast canvas (accelerated canvas) plugin
cordova plugin add https://github.com/shakiba/phonegap-plugin-fast-canvas

not registered in phonegap build service, so use it with phonegap cli.

thanks
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

Post » Sun Jun 29, 2014 12:45 pm

You won't need any plugins from iOS 8 or Android 4.4.3+. Both already have GPU-accelerated canvases which works in PhoneGap. I'd advise against using PhoneGap plugins: they are not officially supported and our experience of these has generally been that they are missing features which results in frustrating compatibility problems. If you need something fast now, use Ejecta for iOS and Crosswalk for Android.
Scirra Founder
B
399
S
236
G
89
Posts: 24,530
Reputation: 195,402

Post » Sun Jun 29, 2014 2:31 pm

Let's say I just want to target iphone 6 with ios8 and Android L devices, will Phonegap be a solution to fit all?
B
43
S
11
G
4
Posts: 428
Reputation: 7,459

Post » Wed May 06, 2015 10:14 am

here is the best source from where you can know much more about Phonegap :

Here is the Link ---->> .brotsky.tv/2013/12/07/phonegapcordova-how-to-link-to-external-pages/
B
2
Posts: 1
Reputation: 152


Return to Construct 2 General

Who is online

Users browsing this forum: TheRealDannyyy and 4 guests