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

Author Topic: Support for portable device?  (Read 4932 times)

0 Members and 1 Guest are viewing this topic.

golgoth

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Support for portable device?
« on: January 15, 2011, 07:09:29 pm »
Hi, is there in plans to support SFML on portable OS like Android?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Support for portable device?
« Reply #1 on: January 16, 2011, 08:16:57 pm »
Yes, but in a far future. OSes that are compatible with Window/Unix would "just" require some API changes in the window module, as well as an OpenGL ES back-end and compatible internal code.

Android is full Java, isn't it? So it makes SFML unusable on it.
Laurent Gomila - SFML developer

golgoth

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Support for portable device?
« Reply #2 on: January 16, 2011, 08:54:44 pm »
I read there is a way to compile C++ API for Android, but that will have to be confirmed. In any case, It would be very awesome to port SFML for mobiles.

Walker

  • Full Member
  • ***
  • Posts: 181
    • View Profile
Support for portable device?
« Reply #3 on: January 17, 2011, 04:16:48 am »
There is a way, but it's not quite as useful as you would hope. You still have to run Java in the VM. A "simple" port would probably not be possible.

http://developer.android.com/sdk/ndk/index.html

TdkBacke

  • Newbie
  • *
  • Posts: 1
    • View Profile
Support for portable device?
« Reply #4 on: January 18, 2011, 12:48:26 pm »
@Walker: The NDK 2.3 now supports applications completely written in C++: http://android-developers.blogspot.com/2011/01/gingerbread-ndk-awesomeness.html

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Support for portable device?
« Reply #5 on: January 18, 2011, 01:23:17 pm »
This is really nice, thanks for the information! :)
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Walker

  • Full Member
  • ***
  • Posts: 181
    • View Profile
Support for portable device?
« Reply #6 on: January 21, 2011, 06:59:18 pm »
Quote from: "TdkBacke"
@Walker: The NDK 2.3 now supports applications completely written in C++: http://android-developers.blogspot.com/2011/01/gingerbread-ndk-awesomeness.html


Wow, that's great news! An Android phone is on the list of things to get now :D

JanRGilbert

  • Newbie
  • *
  • Posts: 1
    • View Profile
Support for portable device?
« Reply #7 on: February 19, 2011, 12:25:40 am »
Are there any plans for an iPhone/iPad version?

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Support for portable device?
« Reply #8 on: February 19, 2011, 12:40:04 am »
Laurent has said several times on the forum, OpenGL ES is not something he is prioritizing to support right now. I don't even think he have any concrete future plans to implement it. Like his answer in the beginning of the thread is: "It's in the far future"

Not sure, just the pieces I've picked up from forum discussions.
Developer and Maker of rbSFML and Programmer at Paradox Development Studio