Thanks for the info, Sylvain! I’m on vacation, and my net access has been limited, otherwise I would’ve replied earlier.
Limited support for SDL, SDL_mixer, and SDL_image is available for Windows Phone 8.0 and Windows Phone 8.1, as well as other platforms in the “WinRT” family (Windows 8.0, 8.1, and RT, inclusive). On Windows Phone, SDL support is currently limited to apps that don’t use Windows Phone’s native “XAML” based UI controls. Apps that only draw content, and process input with SDL should, however, be fine.
Here are a bunch of notes that I hope will help:
Regarding build environments: a copy of Visual C++ is required, at present. One of the free (cost-wise), “Express” editions should suffice.
The Windows Phone ports of SDL_mixer and SDL_image support a limited number of formats. Notably-supported formats include PNG, Jpeg, WebP, and Ogg Vorbis. If one of SDL_image or SDL_mixer’s usual file formats isn’t supported on Windows Phone (such as .mod, MIDI, and a bunch of others) and you need it, feel free to let me know and I’ll try adding it in.
Support for SDL_net on Windows Phone is not currently available, but in theory, could be possible. I can provide skeleton project files for such, if you’d like to try to get this up and running. Do note that such a port wouldn’t immediately work on Windows 8/8.1/RT, due to API limitations in the OS (assuming you’re interested in porting your app to those platforms as well, at some point).
Some limited documentation is available at http://bit.ly/1zVi3bC. Do note that it’s geared towards setting up a Windows 8 app, however the instructions for Windows Phone 8 are almost identical. Just be sure to start with Visual C++'s project files for Windows Phone 8, rather than the “Windows Store” app templates (which apply to Windows 8.x, and not Windows Phone).
Work on easier setup procedures (for SDL/Windows Phone apps) is on my to-do list (and will probably involve NuGet package management support, if possible), however I make no guarantees when that’ll be available. It won’t start until I get back from vacation and get settled back in, which shouldn’t be for another couple of weeks, at best. Feel free to ask questions in the meantime, if you run into trouble.
Cheers!
Limanima wrote:>
slvn wrote:
Hello,
Sorry, I saw your message on my mobile and I forgot answering.
The SDL does support Window Phone 8. you can find WP8 projet files
that are under mercurial.
SDL/VisualC-WinRT/WinPhone80_VS2012/
SDL/VisualC-WinRT/WinPhone81_VS2013/
The lib ttf, mixer, and image are also working.
Cheers,
Sylvain
Thanks!
I’m certainly going to check that. I’ll only need mixer and image. Net would also be great, but it’s not mandatory.