From 7e399acf9be4d382b0585a6e5ee9d55b79976b46 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 4 Jun 2020 23:36:39 +0200 Subject: [PATCH] ios version setup --- Android/Android.csproj | 70 ++++--------- Android/Properties/AndroidManifest.xml | 2 +- Android/Properties/AssemblyInfo.cs | 17 +-- TouchyTickets.sln | 6 ++ iOS/Default.png | Bin 0 -> 1553 bytes iOS/Entitlements.plist | 6 ++ iOS/GameThumbnail.png | Bin 0 -> 729 bytes iOS/Info.plist | 31 ++++++ iOS/LaunchScreen.storyboard | 27 +++++ iOS/Program.cs | 29 ++++++ iOS/Properties/AssemblyInfo.cs | 22 ++++ iOS/iOS.csproj | 139 +++++++++++++++++++++++++ 12 files changed, 285 insertions(+), 64 deletions(-) create mode 100644 iOS/Default.png create mode 100644 iOS/Entitlements.plist create mode 100644 iOS/GameThumbnail.png create mode 100644 iOS/Info.plist create mode 100644 iOS/LaunchScreen.storyboard create mode 100644 iOS/Program.cs create mode 100644 iOS/Properties/AssemblyInfo.cs create mode 100644 iOS/iOS.csproj diff --git a/Android/Android.csproj b/Android/Android.csproj index 966c441..138acc5 100644 --- a/Android/Android.csproj +++ b/Android/Android.csproj @@ -47,63 +47,37 @@ SdkOnly - - - - + + + + - - - + + + - - + + - - Content\Fonts\EXEPixelPerfect.ttf - - - Content\Fonts\Regular.spritefont - - - Content\Textures\Attractions.aseprite - - - Content\Textures\Attractions.png - - - Content\Textures\Tiles.aseprite - - - Content\Textures\Tiles.png - - - Content\Textures\Ui.aseprite - - - Content\Textures\Ui.png - - - + + + Content\Content.mgcb + + - - - + + + - - {3df7ae69-f3f0-461a-be98-f31eb576b5e2} - TouchyTickets - + + {3df7ae69-f3f0-461a-be98-f31eb576b5e2} + TouchyTickets + - - - Content\Content.mgcb - - - + \ No newline at end of file diff --git a/Android/Properties/AndroidManifest.xml b/Android/Properties/AndroidManifest.xml index c8dee74..2f05868 100644 --- a/Android/Properties/AndroidManifest.xml +++ b/Android/Properties/AndroidManifest.xml @@ -1,6 +1,6 @@  + android:versionCode="010" android:versionName="0.1.0"> diff --git a/Android/Properties/AssemblyInfo.cs b/Android/Properties/AssemblyInfo.cs index 31f4d47..241daad 100644 --- a/Android/Properties/AssemblyInfo.cs +++ b/Android/Properties/AssemblyInfo.cs @@ -11,20 +11,7 @@ using Android.App; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Touchy Tickets")] -[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyCopyright("Copyright © 2020")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: ComVisible(false)] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] \ No newline at end of file +[assembly: ComVisible(false)] \ No newline at end of file diff --git a/TouchyTickets.sln b/TouchyTickets.sln index 05793b1..7bb4601 100644 --- a/TouchyTickets.sln +++ b/TouchyTickets.sln @@ -4,6 +4,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TouchyTickets", "TouchyTick EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Android", "Android\Android.csproj", "{410C0262-131C-4D0E-910D-D01B4F7143E0}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "iOS", "iOS\iOS.csproj", "{CA7AB65C-57DE-412C-AF42-E7E6EDDF2D5F}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -18,5 +20,9 @@ Global {410C0262-131C-4D0E-910D-D01B4F7143E0}.Debug|Any CPU.Build.0 = Debug|Any CPU {410C0262-131C-4D0E-910D-D01B4F7143E0}.Release|Any CPU.ActiveCfg = Release|Any CPU {410C0262-131C-4D0E-910D-D01B4F7143E0}.Release|Any CPU.Build.0 = Release|Any CPU + {CA7AB65C-57DE-412C-AF42-E7E6EDDF2D5F}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator + {CA7AB65C-57DE-412C-AF42-E7E6EDDF2D5F}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator + {CA7AB65C-57DE-412C-AF42-E7E6EDDF2D5F}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator + {CA7AB65C-57DE-412C-AF42-E7E6EDDF2D5F}.Release|Any CPU.Build.0 = Release|iPhoneSimulator EndGlobalSection EndGlobal diff --git a/iOS/Default.png b/iOS/Default.png new file mode 100644 index 0000000000000000000000000000000000000000..a85d8dea78b62a9691712df740483350cbf0c64b GIT binary patch literal 1553 zcmeAS@N?(olHy`uVBq!ia0y~yU~~ZD2OMlbkt;o0T!0i~age(c!@6@aFBuqEPkXvJ zhE&XXd-r@+Y^unyhnLlId#7#5a=fVE&K|mOQFBwVsE7>rqZJjrjZJ(mEiq24f^U5C z7bFP^y6CXBK9WD-V3Hx?+`UoJMD=UL`-Iw-ewE)(YUjN?b?@dA75jY$lhRF?fOZZV z&~P!s#A?fZ{sRZUo!UMB&fA^;HkZeJw?4Jba?gE!h7Iv70v)Oi4myl1Nt_A--VBWq zOdLlxCA&_)Ht+tSAD!!duV42k=-gY*ONTkJC=_x~m?pc5`Q6p+_HU}>?>~9*vFP6J z=hs(nRo}63+pW_7`Fc9Pq%9B3ffx%?&A_w~VdKrhSw(AY_sz1CfG+-J;<2 z>;F?e2S48ToiXpsnKwUXe!G-nr1|`{`R{LEs=jN?%=1GJN2vX882Rq}&X3c4{#;*o z%I9lxx34`rD{Ft*@7?~}Rrjx7|7~~R+VjtET4n8ps!!nZqV0jk=%^UY=h^%OEWzd!Wc`967_=eO_IN1dB4 z_WE`8caG?&>YDtTfcG!wMy{A&|8wc)ugo!fV$RRZ!W}MtJAujU^7YrYd)7;TzyJ2T z;I=t(SKq(>y|J+N_0M$sb>Ai2pU16x9$uGa!|41BM~t49dvGB3_ggp1`ga?HpZ;0@ z*7N%J{r~&zU+Y(VnYixv_8P;VTj$72%f8(8@94+JPygILHt)gK!{w(f592lQZ{p8@ zzoPzAyEFd(D_`?bcH60!&&yxEmi`~Q{dVX5=cj+ZJ@$F~I{Dt$A9Iq=umAhgAO)vC y4P*<>+Xuhr4BGs>d;^XYHfRcrA>xn?)BmyaKR#>M6eBSa literal 0 HcmV?d00001 diff --git a/iOS/Entitlements.plist b/iOS/Entitlements.plist new file mode 100644 index 0000000..9ae5993 --- /dev/null +++ b/iOS/Entitlements.plist @@ -0,0 +1,6 @@ + + + + + + diff --git a/iOS/GameThumbnail.png b/iOS/GameThumbnail.png new file mode 100644 index 0000000000000000000000000000000000000000..e30ec8726166ba535c7eb16e938b198936698a63 GIT binary patch literal 729 zcmV;~0w(>5P)Px%lSxEDRA_Q4k*8RkK7Z1*Mj_^2EwxIElDRCctljGEoHKKo@vgKYch2`Thi^RR4D)@?-M!le zhk)z%pZ(>yg?l&KT77Y92m(>G+|M!kk|B_HnX{$ja~W5-#J zj+f4E>-()z5pj}7RdiBCk+BxL5_RPXfF;_DJgc=jo7>ydjn+x!>q-{@%a=-5MJIic zX+c&Z>6mbRAdLmdgZt(73c2q2^llPVbW%l;F}ZGU|1|MHz>kn>Ci7n|5JeF_e}|W$ zdp;c@5>#~37nv5sJo)hUl8I;LbBJ?&P_ONOPY3TZS*BgDP;m0A3EDmv+lObcS3 z3=1U_S5Ch{+|xT16VJ@wK-@texhSN49*jRR@pL$dxbSreIH>5PiXvljJ$b@@QXl@Y zjJU91X{pW*z6E{|$BQ7jhPVy@S z_1&#U)@!4=e#8~8<(*AmuzOOd=%k7wMY+221OT|SX=S%aa+8i8iebP{Dj%3V0RXad zjt!y%EuLgH!7pc5(Jh;tRZrzMyp%bgbmWFZV2$hvew{hTnedI{Q)% z0vl$DJn_9TRCLl8nHDtlv$Lz0NBIBKhYZPs6e>EYqDT)9kE4Zuw5ZIsE>O;b00000 LNkvXXu0mjfEVEb6 literal 0 HcmV?d00001 diff --git a/iOS/Info.plist b/iOS/Info.plist new file mode 100644 index 0000000..e9923bc --- /dev/null +++ b/iOS/Info.plist @@ -0,0 +1,31 @@ + + + + + CFBundleVersion + 0.1.0 + CFBundleDisplayName + Touchy Tickets + CFBundleIconFiles + + GameThumbnail.png + + CFBundleIdentifier + Ellpeck.TouchyTickets + MinimumOSVersion + 7.0 + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + + CFBundleName + TouchyTickets + UIRequiresFullScreen + + UIStatusBarHidden + + UILaunchStoryboardName + LaunchScreen + + diff --git a/iOS/LaunchScreen.storyboard b/iOS/LaunchScreen.storyboard new file mode 100644 index 0000000..5d2e905 --- /dev/null +++ b/iOS/LaunchScreen.storyboard @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iOS/Program.cs b/iOS/Program.cs new file mode 100644 index 0000000..2ccc53d --- /dev/null +++ b/iOS/Program.cs @@ -0,0 +1,29 @@ +using System; +using Foundation; +using TouchyTickets; +using UIKit; + +namespace iOS { + [Register("AppDelegate")] + internal class Program : UIApplicationDelegate { + + private static GameImpl game; + + private static void RunGame() { + game = new GameImpl(); + game.Run(); + } + + /// + /// The main entry point for the application. + /// + private static void Main(string[] args) { + UIApplication.Main(args, null, "AppDelegate"); + } + + public override void FinishedLaunching(UIApplication app) { + RunGame(); + } + + } +} \ No newline at end of file diff --git a/iOS/Properties/AssemblyInfo.cs b/iOS/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..a20aa1e --- /dev/null +++ b/iOS/Properties/AssemblyInfo.cs @@ -0,0 +1,22 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Touchy Tickets")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Touchy Tickets")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: ComVisible(false)] + +// The following attributes are used to specify the signing key for the assembly, +// if desired. See the Mono documentation for more information about signing. + +//[assembly: AssemblyDelaySign(false)] +//[assembly: AssemblyKeyFile("")] \ No newline at end of file diff --git a/iOS/iOS.csproj b/iOS/iOS.csproj new file mode 100644 index 0000000..2834b22 --- /dev/null +++ b/iOS/iOS.csproj @@ -0,0 +1,139 @@ + + + + + Debug + iPhoneSimulator + {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {CA7AB65C-57DE-412C-AF42-E7E6EDDF2D5F} + Exe + iOS + Resources + iOS + + + true + full + false + bin\$(Platform)\$(Configuration) + DEBUG; + prompt + 4 + false + i386, x86_64 + None + true + true + true + true + true + + + none + true + bin\$(Platform)\$(Configuration) + prompt + 4 + false + i386, x86_64 + None + true + true + + + true + full + false + bin\$(Platform)\$(Configuration) + DEBUG; + prompt + 4 + false + ARMv7, ARMv7s, ARM64 + true + true + true + true + true + Entitlements.plist + iPhone Developer + + + none + true + bin\$(Platform)\$(Configuration) + prompt + 4 + false + ARMv7, ARMv7s, ARM64 + true + true + Entitlements.plist + iPhone Developer + + + none + True + bin\$(Platform)\$(Configuration) + prompt + 4 + False + ARMv7, ARMv7s, ARM64 + true + true + Entitlements.plist + True + Automatic:AdHoc + iPhone Distribution + + + none + True + bin\$(Platform)\$(Configuration) + prompt + 4 + False + ARMv7, ARMv7s, ARM64 + true + true + Entitlements.plist + Automatic:AppStore + iPhone Distribution + + + + + + + + + + + + + + + + Content\Content.mgcb + + + + + + + + + + + + + + + + + {3df7ae69-f3f0-461a-be98-f31eb576b5e2} + TouchyTickets + + + + \ No newline at end of file