English 中文(简体)
easiest way to port an SDL-1.2-based game to iPhone
原标题:
  • 时间:2009-11-14 11:31:22
  •  标签:
  • iphone
  • sdl

I have a SDL-1.2 based game and I want to port this to the iPhone so I want to ask about the easiest way. I am working on MacOSX and have already the iPhone SDK by Apple (so I guess the iPhone Toolchain is not the right thing for me as I am using MacOSX).

I know there is the iphone-sdl-1-3 project but I wonder if that is the only SDL port, i.e. I have no other choice to first port the game to SDL-1.3. Also, the project page is very inconcrete, there aren t really any instructions. Also their SVN is empty and there is no single documentation and/or wikipage. The only thing in this project is a simple testproject ZIP-file. I guess I have to fetch the official SDL-1.3 source from SVN and try to build that somehow. Is that right? Are there perhaps prebuild binaries which I can download somewhere?

I also have looked at other projects, for example ScummVM. It seems they are using the iPhone Toolchain to crossbuild it on Linux. But they are not really saying what SDL version they are using and how to link against it. In their forum somebody stated that iphone-mame-sdl is used. Though it seems that this project is dead - at least the Google Code project is not accessible right now (returns a 403 error).

I have also seen another question here on Stackoverflow about it (with the result to use SDL-1.3 SVN) - though it is already half a year old and I wonder if the situation has changed.

So, after all, what would be the easiest way for a SDL-1.2 based game? Where to get SDL from? SDL-1.2 or SDL-1.3?

最佳回答

Get SDL from the svn. The easiest way would be to use the compatibility mode, so your 1.2 functions should work fine, but it will be much slower than using the new API.

问题回答

暂无回答




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签