1. Xeron's Avatar

    I have a game on webOS and Android. It is written in C, and uses SDL and OpenGL ES. I am thinking of porting it to Windows Phone, but I'm wondering if I would have to move it over to DirectX and how hard that would be?

    I have absolutely no experience with DirectX, and would prefer to use an SDL/OpenGL ES wrapper if one exists, but I have no idea...
    12-29-2012 12:05 PM
  2. narv's Avatar
    As far as I'm aware, WP8 only supports DirectX for graphics.

    I personally haven't used OpenGL ES for mobile so I cannot say how different it is from a desktop version of OpenGL (may be the exact same with a settings change for all I know) but from what I've done with OpenGL and Direct3D before, they aren't that different really.. concepts are still the same, geometry itself doesn't change. There are tons of tutorials and example codes out there for DirectX, or if you have some money to spend, hit up a barnes and noble and pickup a book on DirectX programming (or see if there are any specific WP8 or W8 books out yet that might cover it).

    Thanks for your interest in WP8 and bringing more functionality, apps, games, etc to the platform! :) Best of luck!

    PS: Windows Phone Samples

    This is the link of sample code from Microsoft that are C++ based. Most of the examples are C# based but since you said C, then C++ would be the best examples to look for. Some have Direct3D examples.
    01-01-2013 08:52 AM

Similar Threads

  1. a new cool RGP Game " SoulCraft" coming to windows phone
    By cedarlog in forum General Phone Discussion
    Replies: 7
    Last Post: 03-14-2013, 04:43 PM
  2. direct x games you would like to see come to windows phone 8
    By geekmaster in forum Other Operating Systems
    Replies: 9
    Last Post: 07-30-2012, 01:36 AM
  3. Replies: 12
    Last Post: 03-06-2012, 05:58 PM
  4. Thinking of jumping from android to windows phone.
    By reelon in forum Other Operating Systems
    Replies: 45
    Last Post: 01-25-2012, 12:51 AM
  5. What games do you want to see ported to Windows Phone?
    By Paul Acevedo in forum General Phone Discussion
    Replies: 105
    Last Post: 08-10-2011, 08:00 AM