SFML community forums

General => General discussions => Topic started by: anttton on March 19, 2017, 08:47:37 pm

Title: IOS support?
Post by: anttton on March 19, 2017, 08:47:37 pm
Hello, I have started to think about to create a mobile game. I have read some old posts from 2013 and noticed that sfml had started to working on the ios function. I dont get it but have the sfml team fix so you can start to develop game to the ios?
Title: Re: IOS support?
Post by: sjaustirni on March 19, 2017, 09:42:45 pm
There's currently no one on the team who would take care of the iOS support and development. The former one quit some time ago.
Title: Re: IOS support?
Post by: wqking on March 25, 2017, 06:33:41 am
There's currently no one on the team who would take care of the iOS support and development. The former one quit some time ago.
I believe that will drive a lot of users away, include me.
Nowadays any game engines, especially 2D game engines (I know SFML is "multi media library"...), that not support mobile well, are not interesting.
Title: Re: IOS support?
Post by: sjaustirni on March 25, 2017, 09:54:10 am
Understandably. However, the iOS support is not present not because SFML team doesn't want to support it, but because of much more pragmatic reason - there's no one to do it. SFML is an open-source project though, so free feel to help it out there, if you will.
Title: Re: IOS support?
Post by: irrdev on April 16, 2017, 09:46:12 pm
I asked this very question in January and nobody responded (https://en.sfml-dev.org/forums/index.php?topic=21435.msg152520#msg152520)... I was/am looking for a 2d graphics library, too, and iOS support is essential.

So I downloaded the source code for SFML and spent a few hours figuring it out. Long and short of it is: I got it working on iOS! But I really haven't tested it much.

Attached is a screenshot of SFML running in the iOS simulator as I type this, with sound working too! (the picture doesn't fill the screen because it is too small)

I haven't had time since then to document what I did to get it working. The amount of code I changed is tiny, actually: there are really three problems that I encountered and had to fix:

I've been meaning to fork the the SFML repo and document all of this, but haven't had time (and probably won't for a few more weeks).
Title: Re: IOS support?
Post by: willm127 on April 26, 2017, 04:16:37 pm
Awesome! Good job finding that! I'll have to give it a try, and see if I can get some documentation going once it runs on my end.


Sent from my iPhone using Tapatalk