Pender Android for Phonegap Cordova

Discussion and feedback on Construct 2

Post » Sun Feb 10, 2013 6:18 am

Hello

I was doing some research, and I stumbled across this:

https://github.com/lorinbeer/pender-android

Has anyone tried this yet?

It says:

"Pender is a dom-less JS runtime with a high-performance graphics api implementing the HTML5 Canvas spec. Pender is open source and multiplatform.

The primary goal is to provide a hardware accelerated graphics api to mobile devices which lack high performance graphics in the native browser. The impetus behind that is mobile game development using web tech. On a given platform, we use an embedded javascript engine to provide faster js processing, and tighter coupling between native and js api's.

Pender's use case philosophy mirrors phonegap/cordova's: write once, run everywhere. A Pender "client" application is a javascript renderer (e.g. a game engine) expecting a canvas api. On desktop browsers, or any browser with a hardware accelerated canvas implementation (IE9), a shim allows Pender Clients to run without modification. On Android/iOS, the Pender Client is dropped into a project container, and Pender supplies the necessary js hooks."

After finding this I did a search on it, and all I could find was this slide presentation:

http://www.slideshare.net/phonegap/pender-presentation-20

This PhoneGap Meetup post with Cordova-Client and Pender:

http://www.meetup.com/PhoneGap-SF/events/90110302/

And a bunch of past-bins of email between PhoneGap, and Pender scattered around the internet.

It kind of looks like a nice little Open Source accelerated plugin for PhoneGap.

Just thought I would share this with everyone.
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Sun Feb 10, 2013 6:42 am

Ohh. I'm going to look into this right away. I'll post up here :).
B
94
S
29
G
11
Posts: 1,545
Reputation: 20,993

Post » Sun Feb 10, 2013 7:25 am

@ArcadEd that sounds great! I was going to try to make a quick build before I shared this with everyone but Iv been awake for over 20 hours now, and I didn't want to make any mistakes.

I hope this is as good as it sounds. I know a lot of people here have been wanting a good open source accelerated option. Wink2013-02-10 07:29:44
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Sun Feb 10, 2013 7:29 am

Do they have game demos?
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,646

Post » Sun Feb 10, 2013 7:33 am

Yes, they have demos I'm not sure if there games though I haven't got that far I'm still going through all there documentation.

Here:

https://github.com/lorinbeer/pender-demos
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Sun Feb 10, 2013 8:13 pm

How do we set this up, is there any tutorials?
B
17
S
9
G
7
Posts: 249
Reputation: 6,922

Post » Sun Feb 10, 2013 8:39 pm

Quite exciting, but seems like it's a ways off from being ready, though I might be wrong about that. In the pipeline though is stuff like webgl support through OpenGL ES.

https://github.com/lorinbeer/Pender-android/issues/4#issuecomment-10942831
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Mon Feb 11, 2013 2:24 am

Well Iv been at it for a while now and I cant seem to get the pender tool to work. I'm trying to build a Android library project from the command prompt but its not recognizing any of the supplied commands from the Quick Start guide. Ive tried different variations of commands in case there was a typo or something but no luck so far.



Here is the Quick Start guide:

##Quick Start

* open a unix terminal or terminal emulator (OSX Terminal, Windows Cygwin etc)

* Obtain Pender Source

        git clone git@github.com:lorinbeer/Pender-android.git

* navigate to Pender-android/tools

        cd Pender-android/tools

* Create a Pender Android project, omitting -p will create a pender android project in the current directory

        ./pendertools -p /path/to/put/pender/project


##Pender Build Tool

* run the pendertool from the tools directory

        cd Pender-android/tools

        ./pendertools

executing the script without arguments will create an Android library project in the current working directory.

* for a complete list of options

        ./pendertools -h



I cant even seem to bring up the list of options from the command prompt. I must be doing something wrong.


@ArcadEd Have you had any luck with this?

@rfisher No, just the build instructions that I cant seem to get working.

@Arima Yes, this is very exciting. I'm not really sure how far this is from a final but the source from git says that "Efforts are currently underway to upgrade Pender Android to V8". I just wish I could get the commands right so I could try it out.

If anyone has any luck getting this working could they please post the steps taken here.
Wink2013-02-11 02:44:55
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Mon Feb 11, 2013 3:12 am

I just got as far as installing Cygwin, I quickly tried the git command and it's not found. Later tonight I might play around with it, or tomorrow.

Make sure you are not just using a windows command prompt, you need cygwin installed. Maybe a quick google of git and cygwin will find a good result.

OK, so yeah. You need to select those packages during the install.

http://ccn.ucla.edu/wiki/index.php/Setting_Up_and_Using_GitArcadEd2013-02-11 03:16:41
B
94
S
29
G
11
Posts: 1,545
Reputation: 20,993

Post » Mon Feb 11, 2013 4:33 am

Actually this seems easier than CYGwin.
https://help.github.com/articles/set-up-git

However, all the linux stuff hurts my head. LOL
B
94
S
29
G
11
Posts: 1,545
Reputation: 20,993

Next

Return to Construct 2 General

Who is online

Users browsing this forum: tomi71 and 13 guests