Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Beuc

Pages: [1]
General discussions / SFML on Android - proof of concept
« on: April 19, 2012, 09:24:02 pm »

I am experimenting with SFML on Android :)
(It's currently based on 1.6, but with the new 2.0rc, I'm interested in upgrading ;))

The version is currently able to grab the Android app window and display sprites!
Check it out at:

Here's a sample application :
as well as its source code :

I hope this will help with porting SFML officially to Android.
What do you think? :)

It requires Android 2.3 or later, as it's based on NativeActivity (aka no line of Java is needed).
The changes consists of all the EGL initialization, change glVertex to GLES1's glDrawArray, and deal with a decent number of idiosyncrasies with the default Android app window. It's currently not possible to create additional windows, not sure if that's possible.
Post effects will probably require a full GLES2 version, as shader don't seem to be available as extensions in a GLES1 environment (unlike "desktop" OpenGL).

Screenshot :

SFML wiki / Tutorial CMake
« on: November 04, 2011, 08:32:08 pm »

I wrote a tutorial on the wiki about how to start a SFML project using CMake for the build system:

(Note: it's not about how to build SFML, but how to build your own project that uses SFML)

I'm new to both so I'd like to know if you think my explanations are right / complete :)

Pages: [1]