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]
1
General discussions / SFML on Android - proof of concept
« on: April 19, 2012, 09:24:02 pm »
Hi,

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:
https://github.com/Beuc/SFML-Android

Here's a sample application :
http://www.beuc.net/tmp/sfml-android/sfml-test-debug.apk
as well as its source code :
http://www.beuc.net/tmp/sfml-android/test-sfml.tar.gz

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 :

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

I wrote a tutorial on the wiki about how to start a SFML project using CMake for the build system:
https://github.com/SFML/SFML/wiki/TutorialCMake

(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]