lorinbeer's Recent Forum Activity

  • Hey folks,

    About a month ago, I was contacted by a member of your forums concerning the Pender Project. What's a Pender? A few of the highlights:

    • fast DOM-less JS execution environment
    • Hardware acceleraned graphics through a HTML5 Canvas API
    • Supports multitouch events
    • compatible with PhoneGap/Cordova

    In a mouthful: Pender exposes a hardware accelerated HTML5 Canvas API to a pure javascript environment. Write an app purely in javascript, and the Pender API run it on any droid device running OS 8 and up.

    Pender is compatible with PhoneGap/Cordova, allowing several use cases:

    • Cordova Drives - embed a canvas element as if it were a native canvas
    • Pender Drives - leverage the Cordova WebView for GUI control of your app

    You can find the project here:

    github.com/lorinbeer/pender-android

    requirements:

    • updated android sdk on your path
    • unix shell or equivalent (cygwin for windows)
    • null

    getting started:

    navigate to the tools directory:

    cd pender-android/tools

    run the create script:

    ./create -c

    The script will dump out what it's doing on the terminal, which is a lot.

    It:

          

    • finds latest android version installed on your system
    • creates an Android Library Project, and copies over source
    • downloads static library dependencies
    • creates a Pender Example project
    • updates example project with PenderLibrary link
    • null

    All you need to do is replace the MainActivity class in the example project with something like the following

    package com.pender.client;

    import android.app.Activity;

    import android.os.Bundle;

    import com.pender.Pender;

    public class PenderActivity extends Activity

    {

        /** Called when the activity is first created. */

        wqe@Override

        public void onCreate(Bundle savedInstanceState)

        {

            super.onCreate(savedInstanceState);

            mPender = new Pender(this);

            mPender.init();

        }

        private Pender mPender;    

    }

    The build tooling has a lot of options. "-c" indicates that it should build a "client" project. Please not that using many of the options (like specifying a path) will break portions of the build. That's ok. Ping me when you come across something, or report an issue on github, and I'll get to it asap. Or better yet, fix it and send me a pull request!

    This seems like a great community, and I'm looking forward to working with you!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey folks,

    thanks for the concern and the patience!

    imgur.com/U9SpmMT

    clone the repo and run from unix shell or compatible (cygwin, etc)

          ./create -c

    This will create an example project linked to the PenderLibrary project.

    There may be some rough edges going forward, but I will be available to sort out any issues you have.

    email me, or post an issue to the github repo.

    Good Night and Good Luck!

  • Hey folks,

    I'm going to keep you in suspense for a few more days, I'm going in for surgery tomorrow, but will be back on my feet (or at least at my keyboard) shortly.

  • Hey folks!

    My name is Lorin Beer, and I am the creator and primary developer of the Pender project. I was recently contacted by one Mr. WINK on the forums here concerning the dismal shape of the current GIT repo.

    Please stay tuned, I am currently out on sick leave, but have been hacking on Pender.

    A little about Pender:

    Pender is a code name for a cross platform rendering library offering a hardware accelerated javascript graphics API on mobile platforms. Currently targeted platforms are iOS, Android, WP7/8 and BB. Each platform has a proof of concept demonstrating the feasibility of the method used to provide the OpenGL ES hooks to javascript.

    Pender Android uses Rhino, a Java JS engine by Mozilla for fast js processing. The demo code in the downloads section of github shows a simple render stress test, with 40+ individual sprites rendering at 35+ FPS on a Galaxy Nexus device.

    However, working with the Uxebu boys and bonsai.js, we noticed an unacceptable slowdown when processing js calls to a <scarequote> realistic </scarequote> js codebase. The reason for this is simple: Rhino produces jvm bytecode for optimization, but that fails when running on a dalvyk java environment.

    So, the latest move is to replace Rhino with V8. Please expect an update to the git repo in the next few days. I'll update it with the dev code on my machine, as well as (working) build instructions.

    Thanks for the interest and stay tuned!

lorinbeer's avatar

lorinbeer

Member since 15 Feb, 2013

None one is following lorinbeer yet!

Connect with lorinbeer

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies