I just uploaded an initial port of the AGS runtime to iOS (for jailbroken devices only at the moment).
Add my repository to Cydia: http://jjs.at/cydia
You can then download the engine, midi patches and a test game (just a default "new game") if you want to see Roger walking around on your iDevice.
You can also get a build of the engine as an IPA file from here: http://jjs.at/daily
. This will probably be updated more often than the Cydia repo, but there is no guarantee that every version found there will work.
At the moment only a single game can be played. It has to be placed into "/var/mobile/Documents/ags/game/". The main game file has to be named "ac2game.dat". The game folder must have write permissions for a standard user.
A file "ios.cfg" can be placed into "/var/mobile/Documents/ags/" to configure the engine, e.g. change the mouse control method or switch the renderer. There is no ingame way to change settings yet. The file has the same options as the Android configuration file.
- The mouse cursor moves to where you touch down on the screen
- A short tap issues a left click
- A longer press (0.7 - 1.5 s) keeps the left mouse button pressed (for dragging things and verbcoin GUIs)
- A long press (> 1.5 s) opens/closes the onscreen keyboard (includes F1-F12 and ESC)
- Right clicking is performed with a two-finger tap
What does work:
- AGS games with version >= 2.50
- Sound and midi playback (download the patches for that)
- Accelerated theora video playback
- Software and hardware OpenGL rendering
- Snow/Rain, Flashlight and AGSBlend plugins are built into the engine (this is important in case the engine goes into the app store because its policy forbids loading external libraries)
What does not work:
- There is no way to press the ESC or F1-F12 keys
-> now included in the onscreen keyboard
- Only one game can be played
- No ingame menu or settings
The source code is as always on gitorious: https://github.com/adventuregamestudio
It contains an Xcode 3.2.6 project. The custom build step is for fake-signing the package so that it can be debugged through the IDE. You have to change that to accomodate your setup.
I have only tested on the simulator and on an iPod touch 4g with a jailbroken iOS 4.3.3. Performance on that is about as good as on my Android HTC Desire (maybe a little faster).