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

Author Topic: beginner mobile platform questions  (Read 2960 times)

0 Members and 1 Guest are viewing this topic.

jukka

  • Newbie
  • *
  • Posts: 4
    • View Profile
beginner mobile platform questions
« on: January 05, 2015, 11:43:39 am »
Forgive these noob questions from someone who knows nothing about android/iOS. I have used SFML to make a couple of old game clones and it's really fun to use. I'm wondering whether to continue to invest time with the end goal of releasing games for mobiles....

1) Could the same SFML game code be used to compiled for android and ios, without platform-dependent changes required?

2) I realise the support is experimental at the moment and maybe contains bugs, but could anyone make a tentative guess about when SFML will support mobile platforms in a stable manner? e.g. in a year's time could I release a professional standard stable game for android & iOS using SFML ?

Thanks a lot

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
Re: beginner mobile platform questions
« Reply #1 on: January 05, 2015, 12:03:49 pm »
1) Could the same SFML game code be used to compiled for android and ios, without platform-dependent changes required?
Yes and no. The API will be the same for both platforms, so you should just be able to use the same code, however since you're dealing with touch screens on mobile platforms and mouse/keyboard input on desktop platforms, you'll have to make sure your game and input design works for both systems.

2) I realise the support is experimental at the moment and maybe contains bugs, but could anyone make a tentative guess about when SFML will support mobile platforms in a stable manner? e.g. in a year's time could I release a professional standard stable game for android & iOS using SFML ?
We're currently lacking someone maintaining the iOS port, however development on the Android port, should probably get picked up pretty soon again.
But until we find someone stabilizing the iOS port, we can't give any kind of estimate unfortunately.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 878
    • View Profile
Re: beginner mobile platform questions
« Reply #2 on: January 06, 2015, 05:35:34 pm »
The mobile version is pretty stable and it's unlikely there'll be significant breaking changes. There are even a few games already released that use SFML. You just have to be extra careful when testing and there might be missing features right now (e.g. no sound on iOS) or things changing/being expanded (e.g. there's no way to use haptic feedback so far).

You can also publish your own game right now, just make sure the users know that it's essentially a beta and you shouldn't necessarily try to sell your product until you're sure everything is working as expected.

jukka

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: beginner mobile platform questions
« Reply #3 on: January 07, 2015, 11:33:35 am »
OK, thanks for the replies guys!

CJ_COIMBRA

  • Full Member
  • ***
  • Posts: 112
    • ICQ Messenger - 13077864
    • View Profile
    • http://www.cjcoimbra.com
    • Email
Re: beginner mobile platform questions
« Reply #4 on: January 09, 2015, 05:08:41 pm »
Quote
But until we find someone stabilizing the iOS port, we can't give any kind of estimate unfortunately.

I am curious on this I mean I have a basic idea but what exactly someone should know about  to be able to fill this position? 
CJ

 

anything