iDevGames Forums
Can I develop for iPhone using Windows? - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: Can I develop for iPhone using Windows? (/thread-1528.html)



Can I develop for iPhone using Windows? - davidc02 - Mar 30, 2009 08:46 AM

If not, how about using Virtual PC or VMWare?

Thanks..


Can I develop for iPhone using Windows? - Josh - Mar 30, 2009 10:32 AM

http://lmgtfy.com/?q=Can+I+develop+for+iPhone+using+Windows%3F


Can I develop for iPhone using Windows? - kodex - Mar 30, 2009 11:11 AM

No you need a Mac.


Can I develop for iPhone using Windows? - riruilo - Mar 31, 2009 03:50 AM

Yes, you can. I even I guess some companies use Windows to develop their games.

[Image: getattachment1aspxh.jpg]


[Image: getattachmentaspxzcg.jpg]



But you will need a MAC to compile the final iphone version of your program.
[*snip*] edited to remove discussion of Leopard license violation.

Anyway, I recommend you buy a cheap MAC, like a macbook or macmini. I bought a 2º hand macbook for 350 euros. But a macmini should be better.


Can I develop for iPhone using Windows? - riruilo - Mar 31, 2009 04:06 AM

Josh Wrote:http://lmgtfy.com/?q=Can+I+develop+for+iPhone+using+Windows%3F

I think I will send similar links to some friends.
Thanks a lot Wink


Can I develop for iPhone using Windows? - smallstepforman - Apr 11, 2009 02:58 PM

I have developed a C++ cross-platform engine (Windows, Mac, iPhone, Haiku), and can do development under any platform. The final compilation needs to be done on the iPhone, as well as all performance tuning, testing, etc. My biggest problem is that I dont have accelerometer support on other platforms, so I just fudge it with numpad keys which send same input to game code.

99% of our development is with Visual Studio. Only one developer (me) actually has an iPhone.


Can I develop for iPhone using Windows? - riruilo - Apr 18, 2009 12:56 PM

Josh Wrote:http://lmgtfy.com/?q=Can+I+develop+for+iPhone+using+Windows%3F


Did you all realise the first link of that link is... This link!!!!

@smallstepforman: What are you using for events and windowing? Your own code (obviously different code on PC and iPhone) or are you using something like SDL?

Thanks.


Can I develop for iPhone using Windows? - smallstepforman - Apr 23, 2009 11:56 PM

riruilo Wrote:@smallstepforman: What are you using for events and windowing? Your own code (obviously different code on PC and iPhone) or are you using something like SDL?
Thanks.

My engine uses it's own API. The respective platform feeds data to the game via the API. The platform specific code is only 2 files (less than 1% of the code).

Eg.

class YInputHandler
{
public:
virtual void KeyDown(Y_KEY aKey, bool down) {}
virtual bool MouseDown(Y_MOUSE_BUTTON button, bool down, float x, float y) {return true;}
virtual void MouseMoved(Y_MOUSE_BUTTON button, float x, float y) {}
virtual void MultiTouchMoved(float delta_x, float delta_y) {}
virtual void Accelerometer(float delta_x, float delta_y, float delta_z) {}
};

Obviously, the platform specific code grabs iPhone touches and forwards them to MouseDown/MouseMoved. I've also added code for the Windows XP host to allow simulating of MultiTouchMoved and Accelerometer. All objects which accept input (a game view or a GUI element) inherit from YInputHandler. Multiple inheritance is good.

Cheers.


Can I develop for iPhone using Windows? - TythosEternal - Apr 24, 2009 08:19 AM

Josh Wrote:http://lmgtfy.com/?q=Can+I+develop+for+iPhone+using+Windows%3F

Oh, my goodness... That's the first time I've actually bothered to check out the lmgtfy.com link, and that is freakin' hilarious. I knew the gist of the site, but the implementation is sheerly wonderful.