From 43364450a2215a92000d4fa62c11e30bf1a3d295 Mon Sep 17 00:00:00 2001 From: lempamo Date: Mon, 27 Feb 2017 12:08:50 -0500 Subject: [PATCH] Snakey basics --- .../Applications/Snakey.Designer.cs | 37 ++++++++++++++ ShiftOS.WinForms/Applications/Snakey.cs | 45 ++++++++++++++++++ ShiftOS.WinForms/Resources/Shiftorium.txt | 15 ++++++ ShiftOS.WinForms/Resources/SnakeyBG.png | Bin 0 -> 194 bytes ShiftOS.WinForms/Resources/SnakeyBody.png | Bin 0 -> 164 bytes ShiftOS.WinForms/Resources/SnakeyHeadD.png | Bin 0 -> 255 bytes ShiftOS.WinForms/Resources/SnakeyHeadL.png | Bin 0 -> 270 bytes ShiftOS.WinForms/Resources/SnakeyHeadR.png | Bin 0 -> 276 bytes ShiftOS.WinForms/Resources/SnakeyHeadU.png | Bin 0 -> 257 bytes ShiftOS.WinForms/Resources/SnakeyTailD.png | Bin 0 -> 247 bytes ShiftOS.WinForms/Resources/SnakeyTailL.png | Bin 0 -> 262 bytes ShiftOS.WinForms/Resources/SnakeyTailR.png | Bin 0 -> 258 bytes ShiftOS.WinForms/Resources/SnakeyTailU.png | Bin 0 -> 250 bytes 13 files changed, 97 insertions(+) create mode 100644 ShiftOS.WinForms/Applications/Snakey.Designer.cs create mode 100644 ShiftOS.WinForms/Applications/Snakey.cs create mode 100644 ShiftOS.WinForms/Resources/SnakeyBG.png create mode 100644 ShiftOS.WinForms/Resources/SnakeyBody.png create mode 100644 ShiftOS.WinForms/Resources/SnakeyHeadD.png create mode 100644 ShiftOS.WinForms/Resources/SnakeyHeadL.png create mode 100644 ShiftOS.WinForms/Resources/SnakeyHeadR.png create mode 100644 ShiftOS.WinForms/Resources/SnakeyHeadU.png create mode 100644 ShiftOS.WinForms/Resources/SnakeyTailD.png create mode 100644 ShiftOS.WinForms/Resources/SnakeyTailL.png create mode 100644 ShiftOS.WinForms/Resources/SnakeyTailR.png create mode 100644 ShiftOS.WinForms/Resources/SnakeyTailU.png diff --git a/ShiftOS.WinForms/Applications/Snakey.Designer.cs b/ShiftOS.WinForms/Applications/Snakey.Designer.cs new file mode 100644 index 0000000..22780c4 --- /dev/null +++ b/ShiftOS.WinForms/Applications/Snakey.Designer.cs @@ -0,0 +1,37 @@ +namespace ShiftOS.WinForms.Applications +{ + partial class Snakey + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + } + + #endregion + } +} diff --git a/ShiftOS.WinForms/Applications/Snakey.cs b/ShiftOS.WinForms/Applications/Snakey.cs new file mode 100644 index 0000000..0c704d5 --- /dev/null +++ b/ShiftOS.WinForms/Applications/Snakey.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using ShiftOS.Engine; + +namespace ShiftOS.WinForms.Applications +{ + [Launcher("Snakey", true, "al_snakey", "Games")] + [RequiresUpgrade("snakey")] + [WinOpen("snakey")] + [DefaultIcon("iconSnakey")] + public partial class Snakey : UserControl, IShiftOSWindow + { + public Snakey() + { + InitializeComponent(); + } + + public void OnLoad() + { + throw new NotImplementedException(); + } + + public void OnSkinLoad() + { + throw new NotImplementedException(); + } + + public bool OnUnload() + { + throw new NotImplementedException(); + } + + public void OnUpgrade() + { + throw new NotImplementedException(); + } + } +} diff --git a/ShiftOS.WinForms/Resources/Shiftorium.txt b/ShiftOS.WinForms/Resources/Shiftorium.txt index 5b3ebe2..fde7f36 100644 --- a/ShiftOS.WinForms/Resources/Shiftorium.txt +++ b/ShiftOS.WinForms/Resources/Shiftorium.txt @@ -794,4 +794,19 @@ Dependencies: "shiftsweeper_medium", Description: "Is ShiftSweeper still too easy for you? Buy the Hard difficulty and you can try to find 99 mines! It may be extremely difficult, but the reward is massive!" }, + + // SNAKEY + + { + Name: "Snakey", + Cost: 1100, + Dependencies: "shiftsweeper", + Description: "You want more games? Ok then! You can get Snakey, a game that people used to play on 'dumb phones', now coming to your 'smart' ShiftOS system for just 1100 codepoints!" + }, + { + Name: "AL Snakey", + Cost: 200, + Dependencies: "app_launcher;snakey", + Description: "Play Snakey quickly with this dandy applauncher!" + }, ] \ No newline at end of file diff --git a/ShiftOS.WinForms/Resources/SnakeyBG.png b/ShiftOS.WinForms/Resources/SnakeyBG.png new file mode 100644 index 0000000000000000000000000000000000000000..f2188c01a73fcc7b29bc7878f4bca9c332e72eb4 GIT binary patch literal 194 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VOS+@4BLl<6e(pbstUx|zfk$L9 z0|Vb75M~tB@M-`GN|v}rlmzFem6RtIr7{#GX6BXX<)xM=nCKbk85)}~M^^zA*?YP; zhFJKoJ+YCOL4oJMhJXJ{9y0j1c*GfP|J$?qfsO_Dxh9;H{8_mbhx!_L3d3!HMlpE0 L`njxgN@xNAG$A_i literal 0 HcmV?d00001 diff --git a/ShiftOS.WinForms/Resources/SnakeyBody.png b/ShiftOS.WinForms/Resources/SnakeyBody.png new file mode 100644 index 0000000000000000000000000000000000000000..03e30f67a517807a9c212c2e7709b19c460fab4a GIT binary patch literal 164 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VOS+@4BLl<6e(pbstUx|zfk$L9 z0|Vb75M~tB@M-`GN|v}rlmzFem6RtIr7{#GX6BXX<)xM=nCKbk85)}~M^^zADSEm% zhFJI~|L{*W$WnNkaK+)&!4-{Dngf|N*_F>7`2U~rd7zc_R>5htK*bE6u6{1-oD!M< Dq{b|L literal 0 HcmV?d00001 diff --git a/ShiftOS.WinForms/Resources/SnakeyHeadD.png b/ShiftOS.WinForms/Resources/SnakeyHeadD.png new file mode 100644 index 0000000000000000000000000000000000000000..2adcafeca2155a6cab8136433ab7775a4b9967c2 GIT binary patch literal 255 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VOS+@4BLl<6e(pbstUx|zfk$L9 z0|Vb75M~tB@M-`GN|v}rlmzFem6RtIr7{#GX6BXX<)xM=nCKbk85)}~M^^zA)p)u% zhFJK&?Y+p?pupk!^Z)#9s|A_&?zj|pYu9Z>OC`@r%m0V|))Xx4kkGE&_TiZS2R*)2 z?r8r#{rhI~U%k;&ck|CvN4pT=cXxMwm3r@xQS#(W!S%14AwdCb?h7V08Cft*W!7NZ vT^=Cmu+jD39EVhf)LZ2NJDI0;dss5eFlRG%af`w6JR(W?POkVFJ$NE-0(UA)I za$hC+;(|s0)g-&wME{zfJaR*DYD|l4glhHCX{W8~_sjoOwpws)=JB|fZx(JTma1M_ zwq)uCKl!D_sal<-&jLRQT5Xw{(<2*r@+gwVxlj6UEGo6Je=W;q+_x>C8R$3$Pgg&e IbxsLQ05qs%P5=M^ literal 0 HcmV?d00001 diff --git a/ShiftOS.WinForms/Resources/SnakeyHeadU.png b/ShiftOS.WinForms/Resources/SnakeyHeadU.png new file mode 100644 index 0000000000000000000000000000000000000000..84fd67657bd15d1a70cb559f476da33952c301da GIT binary patch literal 257 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VOS+@4BLl<6e(pbstUx|zfk$L9 z0|Vb75M~tB@M-`GN|v}rlmzFem6RtIr7{#GX6BXX<)xM=nCKbk85)}~M^^zA)p@!& zhFJK&?FkfWP~dRc{eNjM5ATzg5#KJlTYnZ1yXiY6j_s`Ig%S_RbG#W=ORfmqE_X0i zNL72o;OpY`fx$#j^C0t{MA5RdcOFW41 zhFJKY?TO|(puodY{ogy9bK^0KuKt>m1cB?N^L@Cs#c`QgZ-}$`mV4Oj!;kN*zb`n? z?UZ;G(rU$QC}Mks(NKi*m8GGGd%*RMg%-`fwAy~<^8G#i?IGWX{k(n!(&fpln~Uwk mey}Nb%3m?=+0Vc13)3l^x3&|H&e#aFpTX1B&t;ucLK6U#@lo9X literal 0 HcmV?d00001 diff --git a/ShiftOS.WinForms/Resources/SnakeyTailL.png b/ShiftOS.WinForms/Resources/SnakeyTailL.png new file mode 100644 index 0000000000000000000000000000000000000000..6a8e3860b0364be5a70bbdf0baaece25ddcf010a GIT binary patch literal 262 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VOS+@4BLl<6e(pbstUx|zfk$L9 z0|Vb75M~tB@M-`GN|v}rlmzFem6RtIr7{#GX6BXX<)xM=nCKbk85)}~M^^zAHG8@^ zhFJKo?cwA)pdi5f{r~)Jp>8*Ctypbg@L=MRNe9lHOMTqVgTe~DWM4f DY6xQZ literal 0 HcmV?d00001 diff --git a/ShiftOS.WinForms/Resources/SnakeyTailR.png b/ShiftOS.WinForms/Resources/SnakeyTailR.png new file mode 100644 index 0000000000000000000000000000000000000000..7394f154e1a0c888fa2b078ced5240e49988f382 GIT binary patch literal 258 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VOS+@4BLl<6e(pbstUx|zfk$L9 z0|Vb75M~tB@M-`GN|v}rlmzFem6RtIr7{#GX6BXX<)xM=nCKbk85)}~M^^zA)qA=) zhFJKo?Qs-3puoZW`@jF~rw+Nf0ws55?sb^NeQO=pJF7X82mQs<&OKP~Jy9~HBrvjZ zj$VJ5;%fGL>m1_xcdWi}(fJwQmvg<6CFgr3zX0+4gTgk=%60w!1XKRA?(Yp#2$wE4 xKJn$kZi`~J`q)!F50-O_iry)$IO>;e9yax@?SAcwgFvS+c)I$ztaD0e0syaqT2TN1 literal 0 HcmV?d00001 diff --git a/ShiftOS.WinForms/Resources/SnakeyTailU.png b/ShiftOS.WinForms/Resources/SnakeyTailU.png new file mode 100644 index 0000000000000000000000000000000000000000..6288a6390099a0b4ba0446c271e98c265fff37c4 GIT binary patch literal 250 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VOS+@4BLl<6e(pbstUx|zfk$L9 z0|Vb75M~tB@M-`GN|v}rlmzFem6RtIr7{#GX6BXX<)xM=nCKbk85)}~M^^zAm3z84 zhFJJt?Q!I5P~c(t`+vD$wy(D&hl1Rk6rqS|wwKcC3}#$>EVobcj_IoC?+&MXCehj|Sv8#;Ug|Iqp?xOKP!FXtPQTSe_{Bw&L