Home > Android, Basic4Android, Games development > Basic4Android Library Spotlight – Accelerated Surfaces

Basic4Android Library Spotlight – Accelerated Surfaces

I’ve just uploaded a new video onto my Youtube channel showing off a new library I found recently on the Basic4Android.com forums. It’s called accelerated surfaces and it look really useful for getting access to OpenGL accelerated graphics using simple commands.

Here’s the forum URL: http://www.basic4ppc.com/android/forum/threads/lib-accelerated-surface.27462/#content

The library is by the user “Informatix”

In his own words:

“This library provides a dedicated drawing surface embedded inside a view, which benefits from the hardware acceleration. With it, you get the speed of OpenGL for 2D without the complexity.
It includes many Canvas methods (with anti-aliasing, matrix and camera) and a few useful methods for Bitmaps and Drawables (AlterColors, Crop, LoadNinePatch, ReduceColors, SetDensity, etc.). You can import the Matrix, Camera, Paint and Path objects from another library (if they are not wrapped).”

 

It’s recommended to use it with Android version 3 and up to get the full benefit from it. It will work on 2.1 – 2.3 devices, but you won’t get hardware acceleration.

 

Accelerated Surfaces

I’ve added a picture here showing it running on three different devices. If you look closely you’ll see the Galaxy S2 with the 120 Androids falling down the screen is running at over 50 frames per second. Which is great!

 

 

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: