<Properties>
- <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|iPhoneSimulator" />
- <MonoDevelop.Ide.Workbench ActiveDocument="gdx-invaders-ios/Info.plist">
+ <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|iPhone" />
+ <MonoDevelop.Ide.Workbench ActiveDocument="gdx-invaders-ios/Main.cs">
<Files>
- <File FileName="gdx-invaders-ios/Main.cs" Line="8" Column="20" />
- <File FileName="gdx-invaders-ios/Info.plist" />
+ <File FileName="gdx-invaders-ios/Main.cs" Line="9" Column="24" />
</Files>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchDebug>True</MtouchDebug>
<MtouchProfiling>True</MtouchProfiling>
+ <CustomCommands>
+ <CustomCommands>
+ <Command type="BeforeBuild" command="ant -f convert.xml compile convert -DSRC="../../gdx-invaders/src/" -DCLASSPATH="../../../../gdx/bin/;../../../../backends/gdx-backend-lwjgl/bin" -DIN="-r:../../../../backends/gdx-backend-iosmonotouch/libs/gdx.dll -recurse:target/*.class" -DOUT="invaders.dll" -DEXCLUDE="**/GdxInvadersDesktop.java" -v" workingdir="${ProjectDir}" />
+ </CustomCommands>
+ </CustomCommands>
+ <MtouchExtraArgs>-nosymbolstrip -nostrip -cxx -gcc_flags "-L${ProjectDir} -likvm-natives -lgdx -force_load ${ProjectDir}/libgdx.a -force_load ${ProjectDir}/libikvm-natives.a"</MtouchExtraArgs>
+ <MtouchArch>ARMv7</MtouchArch>
+ <MtouchI18n>west</MtouchI18n>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>none</DebugType>
<WarningLevel>4</WarningLevel>
<ConsolePause>False</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
- <MtouchUseLlvm>True</MtouchUseLlvm>
<IpaPackageName />
<MtouchI18n>west</MtouchI18n>
+ <CustomCommands>
+ <CustomCommands>
+ <Command type="BeforeBuild" command="ant -f convert.xml compile convert -DSRC="../../gdx-invaders/src/" -DCLASSPATH="../../../../gdx/bin/;../../../../backends/gdx-backend-lwjgl/bin" -DIN="-r:../../../../backends/gdx-backend-iosmonotouch/libs/gdx.dll -recurse:target/*.class" -DOUT="invaders.dll" -DEXCLUDE="**/GdxInvadersDesktop.java" -v" workingdir="${ProjectDir}" />
+ </CustomCommands>
+ </CustomCommands>
+ <MtouchExtraArgs>-nosymbolstrip -nostrip -cxx -gcc_flags "-L${ProjectDir} -likvm-natives -lgdx -force_load ${ProjectDir}/libgdx.a -force_load ${ProjectDir}/libikvm-natives.a"</MtouchExtraArgs>
+ <MtouchArch>ARMv7</MtouchArch>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Ad-Hoc|iPhone' ">
<DebugType>none</DebugType>
<Properties>
- <MonoDevelop.Ide.Workspace ActiveConfiguration="Release|iPhoneSimulator" />
- <MonoDevelop.Ide.Workbench ActiveDocument="../../../../ikvm/ikvm-monotouch/runtime/JniInterface.cs">
+ <MonoDevelop.Ide.Workspace ActiveConfiguration="Release|iPhone" />
+ <MonoDevelop.Ide.Workbench ActiveDocument="superjumper-ios/Main.cs">
<Files>
- <File FileName="superjumper-ios/Main.cs" Line="22" Column="4" />
+ <File FileName="superjumper-ios/Main.cs" Line="19" Column="4" />
<File FileName="superjumper-ios/Info.plist" />
- <File FileName="../../../../ikvm/ikvm-monotouch/runtime/JniInterface.cs" Line="1316" Column="24" />
</Files>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.DebuggingService.Breakpoints>
{
[Register ("AppDelegate")]
public partial class AppDelegate : IOSApplication {
- public AppDelegate(): base(new SuperJumper(), new IOSApplicationConfiguration()) {
+ public AppDelegate(): base(new SuperJumper(), getConfig()) {
}
+
+ internal static IOSApplicationConfiguration getConfig() {
+ IOSApplicationConfiguration config = new IOSApplicationConfiguration();
+ config.orientationLandscape = false;
+ config.orientationPortrait = true;
+ config.useAccelerometer = true;
+ return config;
+ }
}
static void Main (string[] args)
<WarningLevel>4</WarningLevel>
<ConsolePause>False</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
- <MtouchUseLlvm>True</MtouchUseLlvm>
<IpaPackageName />
<MtouchI18n>west</MtouchI18n>
+ <CustomCommands>
+ <CustomCommands>
+ <Command type="BeforeBuild" command="ant -f convert.xml compile convert -DSRC="../../superjumper/src/" -DCLASSPATH="../../../../gdx/bin/;../../../../backends/gdx-backend-lwjgl/bin" -DIN="-r:../../../../backends/gdx-backend-iosmonotouch/libs/gdx.dll -recurse:target/*.class" -DOUT="superjumper.dll" -DEXCLUDE="**/SuperJumperDesktop.java" -v" workingdir="${ProjectDir}" />
+ </CustomCommands>
+ </CustomCommands>
+ <MtouchArch>ARMv7</MtouchArch>
+ <MtouchExtraArgs>-nosymbolstrip -nostrip -cxx -gcc_flags "-L${ProjectDir} -likvm-natives -lgdx -force_load ${ProjectDir}/libgdx.a -force_load ${ProjectDir}/libikvm-natives.a"</MtouchExtraArgs>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Ad-Hoc|iPhone' ">
<DebugType>none</DebugType>
gl.glClear(GL10.GL_COLOR_BUFFER_BIT);\r
guiCam.update();\r
\r
+ batcher.setProjectionMatrix(guiCam.combined);\r
batcher.disableBlending();\r
batcher.begin();\r
batcher.draw(helpRegion, 0, 0, 320, 480);\r
gl.glClear(GL10.GL_COLOR_BUFFER_BIT);\r
guiCam.update();\r
\r
+ batcher.setProjectionMatrix(guiCam.combined);\r
batcher.disableBlending();\r
batcher.begin();\r
batcher.draw(helpRegion, 0, 0, 320, 480);\r
gl.glClear(GL10.GL_COLOR_BUFFER_BIT);\r
guiCam.update();\r
\r
+ batcher.setProjectionMatrix(guiCam.combined);\r
batcher.disableBlending();\r
batcher.begin();\r
batcher.draw(helpRegion, 0, 0, 320, 480);\r
gl.glClear(GL10.GL_COLOR_BUFFER_BIT);\r
guiCam.update();\r
\r
+ batcher.setProjectionMatrix(guiCam.combined);\r
batcher.disableBlending();\r
batcher.begin();\r
batcher.draw(helpRegion, 0, 0, 320, 480);\r
gl.glClear(GL10.GL_COLOR_BUFFER_BIT);\r
guiCam.update();\r
\r
+ batcher.setProjectionMatrix(guiCam.combined);\r
batcher.disableBlending();\r
batcher.begin();\r
batcher.draw(helpRegion, 0, 0, 320, 480);\r
gl.glClear(GL10.GL_COLOR_BUFFER_BIT);\r
guiCam.update();\r
\r
+ batcher.setProjectionMatrix(guiCam.combined);\r
batcher.disableBlending();\r
batcher.begin();\r
batcher.draw(Assets.backgroundRegion, 0, 0, 320, 480);\r