From 7913564d8e0c195464f9db97a0134f6b8b9809ba Mon Sep 17 00:00:00 2001 From: Halbear Date: Fri, 20 Mar 2026 10:25:32 +0000 Subject: [PATCH] Add project files. --- 1.png | Bin 0 -> 162 bytes 10.png | Bin 0 -> 140 bytes 11.png | Bin 0 -> 135 bytes 12.png | Bin 0 -> 135 bytes 13.png | Bin 0 -> 135 bytes 14.png | Bin 0 -> 135 bytes 15.png | Bin 0 -> 135 bytes 16.png | Bin 0 -> 135 bytes 17.png | Bin 0 -> 135 bytes 18.png | Bin 0 -> 131 bytes 19.png | Bin 0 -> 131 bytes 2.png | Bin 0 -> 162 bytes 20.png | Bin 0 -> 140 bytes 21.png | Bin 0 -> 160 bytes 22.png | Bin 0 -> 172 bytes 23.png | Bin 0 -> 172 bytes 24.png | Bin 0 -> 172 bytes 25.png | Bin 0 -> 172 bytes 26.png | Bin 0 -> 160 bytes 3.png | Bin 0 -> 162 bytes 4.png | Bin 0 -> 190 bytes 5.png | Bin 0 -> 188 bytes 6.png | Bin 0 -> 153 bytes 7.png | Bin 0 -> 153 bytes 8.png | Bin 0 -> 140 bytes 9.png | Bin 0 -> 140 bytes SpriteStacker.sln | 25 ++ SpriteStacker/App.config | 6 + SpriteStacker/Form1.Designer.cs | 77 +++++ SpriteStacker/Form1.cs | 128 +++++++ SpriteStacker/Form1.resx | 123 +++++++ SpriteStacker/Model.cs | 125 +++++++ SpriteStacker/Program.cs | 22 ++ SpriteStacker/Properties/AssemblyInfo.cs | 33 ++ .../Properties/Resources.Designer.cs | 323 ++++++++++++++++++ SpriteStacker/Properties/Resources.resx | 199 +++++++++++ SpriteStacker/Properties/Settings.Designer.cs | 30 ++ SpriteStacker/Properties/Settings.settings | 7 + SpriteStacker/Resources/1.png | Bin 0 -> 162 bytes SpriteStacker/Resources/10.png | Bin 0 -> 140 bytes SpriteStacker/Resources/11.png | Bin 0 -> 135 bytes SpriteStacker/Resources/12.png | Bin 0 -> 135 bytes SpriteStacker/Resources/13.png | Bin 0 -> 135 bytes SpriteStacker/Resources/14.png | Bin 0 -> 135 bytes SpriteStacker/Resources/15.png | Bin 0 -> 135 bytes SpriteStacker/Resources/16.png | Bin 0 -> 135 bytes SpriteStacker/Resources/17.png | Bin 0 -> 135 bytes SpriteStacker/Resources/18.png | Bin 0 -> 131 bytes SpriteStacker/Resources/19.png | Bin 0 -> 131 bytes SpriteStacker/Resources/2.png | Bin 0 -> 162 bytes SpriteStacker/Resources/20.png | Bin 0 -> 140 bytes SpriteStacker/Resources/21.png | Bin 0 -> 160 bytes SpriteStacker/Resources/22.png | Bin 0 -> 172 bytes SpriteStacker/Resources/23.png | Bin 0 -> 172 bytes SpriteStacker/Resources/24.png | Bin 0 -> 172 bytes SpriteStacker/Resources/25.png | Bin 0 -> 172 bytes SpriteStacker/Resources/26.png | Bin 0 -> 160 bytes SpriteStacker/Resources/3.png | Bin 0 -> 162 bytes SpriteStacker/Resources/4.png | Bin 0 -> 190 bytes SpriteStacker/Resources/5.png | Bin 0 -> 188 bytes SpriteStacker/Resources/6.png | Bin 0 -> 153 bytes SpriteStacker/Resources/7.png | Bin 0 -> 153 bytes SpriteStacker/Resources/8.png | Bin 0 -> 140 bytes SpriteStacker/Resources/9.png | Bin 0 -> 140 bytes SpriteStacker/SpriteStacker.csproj | 163 +++++++++ 65 files changed, 1261 insertions(+) create mode 100644 1.png create mode 100644 10.png create mode 100644 11.png create mode 100644 12.png create mode 100644 13.png create mode 100644 14.png create mode 100644 15.png create mode 100644 16.png create mode 100644 17.png create mode 100644 18.png create mode 100644 19.png create mode 100644 2.png create mode 100644 20.png create mode 100644 21.png create mode 100644 22.png create mode 100644 23.png create mode 100644 24.png create mode 100644 25.png create mode 100644 26.png create mode 100644 3.png create mode 100644 4.png create mode 100644 5.png create mode 100644 6.png create mode 100644 7.png create mode 100644 8.png create mode 100644 9.png create mode 100644 SpriteStacker.sln create mode 100644 SpriteStacker/App.config create mode 100644 SpriteStacker/Form1.Designer.cs create mode 100644 SpriteStacker/Form1.cs create mode 100644 SpriteStacker/Form1.resx create mode 100644 SpriteStacker/Model.cs create mode 100644 SpriteStacker/Program.cs create mode 100644 SpriteStacker/Properties/AssemblyInfo.cs create mode 100644 SpriteStacker/Properties/Resources.Designer.cs create mode 100644 SpriteStacker/Properties/Resources.resx create mode 100644 SpriteStacker/Properties/Settings.Designer.cs create mode 100644 SpriteStacker/Properties/Settings.settings create mode 100644 SpriteStacker/Resources/1.png create mode 100644 SpriteStacker/Resources/10.png create mode 100644 SpriteStacker/Resources/11.png create mode 100644 SpriteStacker/Resources/12.png create mode 100644 SpriteStacker/Resources/13.png create mode 100644 SpriteStacker/Resources/14.png create mode 100644 SpriteStacker/Resources/15.png create mode 100644 SpriteStacker/Resources/16.png create mode 100644 SpriteStacker/Resources/17.png create mode 100644 SpriteStacker/Resources/18.png create mode 100644 SpriteStacker/Resources/19.png create mode 100644 SpriteStacker/Resources/2.png create mode 100644 SpriteStacker/Resources/20.png create mode 100644 SpriteStacker/Resources/21.png create mode 100644 SpriteStacker/Resources/22.png create mode 100644 SpriteStacker/Resources/23.png create mode 100644 SpriteStacker/Resources/24.png create mode 100644 SpriteStacker/Resources/25.png create mode 100644 SpriteStacker/Resources/26.png create mode 100644 SpriteStacker/Resources/3.png create mode 100644 SpriteStacker/Resources/4.png create mode 100644 SpriteStacker/Resources/5.png create mode 100644 SpriteStacker/Resources/6.png create mode 100644 SpriteStacker/Resources/7.png create mode 100644 SpriteStacker/Resources/8.png create mode 100644 SpriteStacker/Resources/9.png create mode 100644 SpriteStacker/SpriteStacker.csproj diff --git a/1.png b/1.png new file mode 100644 index 0000000000000000000000000000000000000000..55a8348b871693eee6ff4425692d99454aa42e96 GIT binary patch literal 162 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}F`h1tAsLNt zFE8Y6aNuFRaHxYr$gQEVPtZeP4aYQ@M?9(>-($4vKD#Od6*FYKHafh#(Bl2)ZStAl zf3112%f;o$9-aQX(U-bvd?)Vrto`;&{aR4adq$wz3q_3lH+kG29`a8FY4vpVb6Mw< G&;$Tas5p-R literal 0 HcmV?d00001 diff --git a/10.png b/10.png new file mode 100644 index 0000000000000000000000000000000000000000..899e4a59495626bc98fad9a2e98abc0c3ee7a180 GIT binary patch literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}Zk{fVAsLNt zFCOG=FyLW1*pc^G=~LH~O=qVw?chHnQgH25GEf!6f$Fr-^Q-*s@0|4be8XNp6E&$% jn$>gt>Y0IZ4fl64`hDXIWN-|S0;%bP0l+XkK{{byU literal 0 HcmV?d00001 diff --git a/11.png b/11.png new file mode 100644 index 0000000000000000000000000000000000000000..96d2a8da40fed94c791f9fbe9292d2fda94b8ac6 GIT binary patch literal 135 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}j-D=#AsLNt z&u-*Apdi3-;5cVc1c#z`BuC$Z-`~?3uEevv6WhT7RLJlkxv%cpJ@wz3HxGtJ-}!nn b4=gx6F3^|d`1DP0lR;chS3j3^P6-($4vKD#Od6*FYKHafh#(Bl2)ZStAl zf3112%f;o$9-aQX(U-bvd?)Vrto`;&{aR4adq$wz3q_3lH+kG29`a8FY4vpVb6Mw< G&;$Tas5p-R literal 0 HcmV?d00001 diff --git a/20.png b/20.png new file mode 100644 index 0000000000000000000000000000000000000000..899e4a59495626bc98fad9a2e98abc0c3ee7a180 GIT binary patch literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}Zk{fVAsLNt zFCOG=FyLW1*pc^G=~LH~O=qVw?chHnQgH25GEf!6f$Fr-^Q-*s@0|4be8XNp6E&$% jn$>gt>Y0IZ4fl64`hDXIWN-|S0;%bP0l+XkK{{byU literal 0 HcmV?d00001 diff --git a/21.png b/21.png new file mode 100644 index 0000000000000000000000000000000000000000..df40ab780d6ff48e275ca70a6883ecf5d85d1882 GIT binary patch literal 160 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}QJyZ2AsLNt zFB@_-IPkC>c#;2=y(yyO0spz@S=#A^y@K5{^)$_LCUOAPGThpA=0l>)`QJ5DCY7x} z&$Z6m#Ugam%k%gVb(`QS;$B&+`28QxMP7)z4*}Q$iB} DQO`MS literal 0 HcmV?d00001 diff --git a/22.png b/22.png new file mode 100644 index 0000000000000000000000000000000000000000..13751317458c74f4d91f6fded58454cc74b3edeb GIT binary patch literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}X`U{QAsLNt zFK^^*aNuFRpmD>h&$`k%g7e)oi)~`JsuHAKEBTpL7X6&i4OGqWAT?R@c z^z7wHV#`iS$p~)DciviYeSPNpt&z?1r-?mz=bth!Y}M;W^LZJ8nm%Z&w|-HcSIe?W P2xNw*tDnm{r-UW|sQ)}C literal 0 HcmV?d00001 diff --git a/23.png b/23.png new file mode 100644 index 0000000000000000000000000000000000000000..13751317458c74f4d91f6fded58454cc74b3edeb GIT binary patch literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}X`U{QAsLNt zFK^^*aNuFRpmD>h&$`k%g7e)oi)~`JsuHAKEBTpL7X6&i4OGqWAT?R@c z^z7wHV#`iS$p~)DciviYeSPNpt&z?1r-?mz=bth!Y}M;W^LZJ8nm%Z&w|-HcSIe?W P2xNw*tDnm{r-UW|sQ)}C literal 0 HcmV?d00001 diff --git a/24.png b/24.png new file mode 100644 index 0000000000000000000000000000000000000000..13751317458c74f4d91f6fded58454cc74b3edeb GIT binary patch literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}X`U{QAsLNt zFK^^*aNuFRpmD>h&$`k%g7e)oi)~`JsuHAKEBTpL7X6&i4OGqWAT?R@c z^z7wHV#`iS$p~)DciviYeSPNpt&z?1r-?mz=bth!Y}M;W^LZJ8nm%Z&w|-HcSIe?W P2xNw*tDnm{r-UW|sQ)}C literal 0 HcmV?d00001 diff --git a/25.png b/25.png new file mode 100644 index 0000000000000000000000000000000000000000..13751317458c74f4d91f6fded58454cc74b3edeb GIT binary patch literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}X`U{QAsLNt zFK^^*aNuFRpmD>h&$`k%g7e)oi)~`JsuHAKEBTpL7X6&i4OGqWAT?R@c z^z7wHV#`iS$p~)DciviYeSPNpt&z?1r-?mz=bth!Y}M;W^LZJ8nm%Z&w|-HcSIe?W P2xNw*tDnm{r-UW|sQ)}C literal 0 HcmV?d00001 diff --git a/26.png b/26.png new file mode 100644 index 0000000000000000000000000000000000000000..df40ab780d6ff48e275ca70a6883ecf5d85d1882 GIT binary patch literal 160 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}QJyZ2AsLNt zFB@_-IPkC>c#;2=y(yyO0spz@S=#A^y@K5{^)$_LCUOAPGThpA=0l>)`QJ5DCY7x} z&$Z6m#Ugam%k%gVb(`QS;$B&+`28QxMP7)z4*}Q$iB} DQO`MS literal 0 HcmV?d00001 diff --git a/3.png b/3.png new file mode 100644 index 0000000000000000000000000000000000000000..55a8348b871693eee6ff4425692d99454aa42e96 GIT binary patch literal 162 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}F`h1tAsLNt zFE8Y6aNuFRaHxYr$gQEVPtZeP4aYQ@M?9(>-($4vKD#Od6*FYKHafh#(Bl2)ZStAl zf3112%f;o$9-aQX(U-bvd?)Vrto`;&{aR4adq$wz3q_3lH+kG29`a8FY4vpVb6Mw< G&;$Tas5p-R literal 0 HcmV?d00001 diff --git a/4.png b/4.png new file mode 100644 index 0000000000000000000000000000000000000000..9c5c3c55a5c0fc6d9781c6219e5398b41b2e77d3 GIT binary patch literal 190 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}6`n4RAsLNt zFB|eX1PHV|RODL_;Bka;XQPXVQX%uY6%|K!Gfs8UFmd}@e>ZRAWX&)ppe6=}1G|q@ z?#aCU*J}Ogq|@H9?eA4pGNqm!f2X}oX}N^i(G5G3|G55}w3GSMqA4n&uDNG7+Wr2k i{%hmrXN+L&56&_^=n{Gu!@BJbi0|p@=d#Wzp$PzisYY`E literal 0 HcmV?d00001 diff --git a/5.png b/5.png new file mode 100644 index 0000000000000000000000000000000000000000..a0604c3f31976e4ff0bac7bdf76034e4ef244397 GIT binary patch literal 188 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}Wu7jMAsLNt zFB@_(Ir6Yxc)_`CMv~*6DW;^_t9$h9}m@4n1H$(>@P&i z?!7wE_W2CSd(pDNGn2K7*PNaf^=yLZAH9z+L(UcMjSWg$7MJ3m>H4n!`SoYU>o<0n h-gNs`57f-?VYRsK8__#em2M^=uBWS?%Q~loCIB*kMZf?6 literal 0 HcmV?d00001 diff --git a/6.png b/6.png new file mode 100644 index 0000000000000000000000000000000000000000..77bc8739d453ebeba21f969d15a3914e53e6f55a GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}!JaOTAsLNt zFKy&)P!MPfEMc>L++e^W$|?O|$Bp1>vwh|V{y&}M%?VV>aBs5r%$-vt@7`28ex3Q9 w;i0PPD<59jtXm&s81;7ZRk?prAVq&pG0(K%yFVdQ&MBb@0DfgPJpcdz literal 0 HcmV?d00001 diff --git a/7.png b/7.png new file mode 100644 index 0000000000000000000000000000000000000000..77bc8739d453ebeba21f969d15a3914e53e6f55a GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}!JaOTAsLNt zFKy&)P!MPfEMc>L++e^W$|?O|$Bp1>vwh|V{y&}M%?VV>aBs5r%$-vt@7`28ex3Q9 w;i0PPD<59jtXm&s81;7ZRk?prAVq&pG0(K%yFVdQ&MBb@0DfgPJpcdz literal 0 HcmV?d00001 diff --git a/8.png b/8.png new file mode 100644 index 0000000000000000000000000000000000000000..899e4a59495626bc98fad9a2e98abc0c3ee7a180 GIT binary patch literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}Zk{fVAsLNt zFCOG=FyLW1*pc^G=~LH~O=qVw?chHnQgH25GEf!6f$Fr-^Q-*s@0|4be8XNp6E&$% jn$>gt>Y0IZ4fl64`hDXIWN-|S0;%bP0l+XkK{{byU literal 0 HcmV?d00001 diff --git a/9.png b/9.png new file mode 100644 index 0000000000000000000000000000000000000000..899e4a59495626bc98fad9a2e98abc0c3ee7a180 GIT binary patch literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}Zk{fVAsLNt zFCOG=FyLW1*pc^G=~LH~O=qVw?chHnQgH25GEf!6f$Fr-^Q-*s@0|4be8XNp6E&$% jn$>gt>Y0IZ4fl64`hDXIWN-|S0;%bP0l+XkK{{byU literal 0 HcmV?d00001 diff --git a/SpriteStacker.sln b/SpriteStacker.sln new file mode 100644 index 0000000..5b5766f --- /dev/null +++ b/SpriteStacker.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35327.3 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpriteStacker", "SpriteStacker\SpriteStacker.csproj", "{123E7E4E-531F-41FB-A62E-7AD0B37C5AA2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {123E7E4E-531F-41FB-A62E-7AD0B37C5AA2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {123E7E4E-531F-41FB-A62E-7AD0B37C5AA2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {123E7E4E-531F-41FB-A62E-7AD0B37C5AA2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {123E7E4E-531F-41FB-A62E-7AD0B37C5AA2}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {5D195238-BD31-4AB9-8536-8AA3EF26C922} + EndGlobalSection +EndGlobal diff --git a/SpriteStacker/App.config b/SpriteStacker/App.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/SpriteStacker/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/SpriteStacker/Form1.Designer.cs b/SpriteStacker/Form1.Designer.cs new file mode 100644 index 0000000..8b358c9 --- /dev/null +++ b/SpriteStacker/Form1.Designer.cs @@ -0,0 +1,77 @@ +namespace SpriteStacker +{ + partial class Form1 + { + /// + /// 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 Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.Display = new System.Windows.Forms.PictureBox(); + this.timer1 = new System.Windows.Forms.Timer(this.components); + ((System.ComponentModel.ISupportInitialize)(this.Display)).BeginInit(); + this.SuspendLayout(); + // + // Display + // + this.Display.BackColor = System.Drawing.SystemColors.ActiveCaption; + this.Display.Location = new System.Drawing.Point(0, 0); + this.Display.Name = "Display"; + this.Display.Size = new System.Drawing.Size(100, 50); + this.Display.TabIndex = 0; + this.Display.TabStop = false; + this.Display.Paint += new System.Windows.Forms.PaintEventHandler(this.PaintDisplay); + // + // timer1 + // + this.timer1.Enabled = true; + this.timer1.Interval = 16; + this.timer1.Tick += new System.EventHandler(this.FrameTimer); + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.Display); + this.DoubleBuffered = true; + this.Name = "Form1"; + this.Text = "Form1"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.KillThreads); + this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.KeyDownEvent); + this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.KeyPressEvent); + this.Resize += new System.EventHandler(this.ResizeWindow); + ((System.ComponentModel.ISupportInitialize)(this.Display)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.PictureBox Display; + private System.Windows.Forms.Timer timer1; + } +} + diff --git a/SpriteStacker/Form1.cs b/SpriteStacker/Form1.cs new file mode 100644 index 0000000..99848c9 --- /dev/null +++ b/SpriteStacker/Form1.cs @@ -0,0 +1,128 @@ +using SpriteStacker.Properties; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Diagnostics; +using System.Drawing; +using System.Drawing.Drawing2D; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace SpriteStacker +{ + public partial class Form1 : Form + { + public static Thread MainThread; + public static bool running = true; + Model model = new Model(25, 25); + public double LastFT = 0; + public Form1() + { + InitializeComponent(); + ResizeDisplay(); + MainThread = new Thread(mainThread); + MainThread.SetApartmentState(ApartmentState.STA); + model.SetBitmapLayers(new Bitmap[] + { + Resources._1, + Resources._2, + Resources._3, + Resources._4, + Resources._5, + Resources._6, + Resources._7, + Resources._8, + Resources._9, + Resources._10, + Resources._11, + Resources._12, + Resources._13, + Resources._14, + Resources._15, + Resources._16, + Resources._17, + Resources._18, + Resources._19, + Resources._20, + Resources._21, + Resources._22, + Resources._23, + Resources._24, + Resources._25, + Resources._26 + }); + //model.AddLayers(20); + Random rnd = new Random(); + Color[] colors = new Color[] { Color.FromArgb(255,128,128) }; + for (int i = 0; i < 150; i++) + { + for(int j = 0; j < 150; j++) + { + //int Y = rnd.Next(0, 21); + //model.SetData(rnd.Next(0, 25), rnd.Next(0, 25),Y , new Voxel(Color.FromArgb((int)(180 * ( (Y + 1.0) / 22.0 )), (int)(255 * ((Y + 1.0) / 22.0)), (int)(128 * ((Y + 1.0) / 22.0))))); + } + } + //model.DrawLayersToImages(); + MainThread.Start(); + } + public void mainThread() + { + LastFT = Process.GetCurrentProcess().TotalProcessorTime.TotalMilliseconds; + while (running) + { + Display.Refresh(); + if (Process.GetCurrentProcess().TotalProcessorTime.TotalMilliseconds - LastFT > 16) + { + LastFT = Process.GetCurrentProcess().TotalProcessorTime.TotalMilliseconds; + if (Camera.Rotation == 360) Camera.Rotation = 0; + Camera.Rotation++; + } + } + } + private void PaintDisplay(object sender, PaintEventArgs e) + { + e.Graphics.PixelOffsetMode = PixelOffsetMode.Half; + model.DrawSpriteStack(e.Graphics); + } + + private void ResizeDisplay() + { + Display.Left = 0; + Display.Top = 0; + Display.Width = Width; + Display.Height = Height - 32; + Camera.Width = Width; Camera.Height = Height - 32; + } + private void ResizeWindow(object sender, EventArgs e) + { + ResizeDisplay(); + } + + private void KillThreads(object sender, FormClosingEventArgs e) + { + running = false; + } + + private void FrameTimer(object sender, EventArgs e) + { + + } + + private void KeyPressEvent(object sender, KeyPressEventArgs e) + { + + } + + private void KeyDownEvent(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.W) Camera.LocY++; + if (e.KeyCode == Keys.S) Camera.LocY--; + if (e.KeyCode == Keys.A) Camera.LocX++; + if (e.KeyCode == Keys.D) Camera.LocX--; + } + } +} diff --git a/SpriteStacker/Form1.resx b/SpriteStacker/Form1.resx new file mode 100644 index 0000000..1f666f2 --- /dev/null +++ b/SpriteStacker/Form1.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/SpriteStacker/Model.cs b/SpriteStacker/Model.cs new file mode 100644 index 0000000..267a879 --- /dev/null +++ b/SpriteStacker/Model.cs @@ -0,0 +1,125 @@ +using System; +using System.Collections.Generic; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace SpriteStacker +{ + public static class Camera + { + public static int LocX = 0; + public static int LocY = 50; + public static float Rotation = 0; + public static float scale = 10; + public static int Width; + public static int Height; + } + public class Voxel + { + Color VoxelColor; + public Voxel(Color voxelColor) + { + VoxelColor = voxelColor; + } + public Color GetColor() { return VoxelColor; } + public Color[] GetShadedColors(int[] Shadows) + { + Color[] sides = new Color[6]; + for (int i = 0; i < 6; i++) + { + sides[i] = Color.FromArgb(Math.Max(Math.Min(VoxelColor.R + Shadows[i], 255), 0), Math.Max(Math.Min(VoxelColor.G + Shadows[i], 255), 0), Math.Max(Math.Min(VoxelColor.B + Shadows[i], 255), 0)); + } + return sides; + } + public Color[] GetShadedColors() + { + Color[] sides = new Color[6]; + int[] Shadows = new int[6] { 0, 10, 0, 10, 20, -20 }; + for (int i = 0; i < 6; i++) + { + sides[i] = Color.FromArgb(Math.Max(Math.Min(VoxelColor.R + Shadows[i], 255), 0), Math.Max(Math.Min(VoxelColor.G + Shadows[i], 255), 0), Math.Max(Math.Min(VoxelColor.B + Shadows[i], 255), 0)); + } + return sides; + } + } + public class Model + { + public List LayerImages = new List(); + List ModelData = new List(); + int Width; + int Length; + public Model(int Width, int Length) + { + this.Width = Width; + this.Length = Length; + AddLayer(); + } + public void AddLayers(int layerCount) + { + for (int i = 0; i < layerCount; i++) + { + AddLayer(); + } + } + public void SetBitmapLayers(Bitmap[] images) + { + LayerImages = images.ToList(); + ModelData.Clear(); + for(int i = 0;i < LayerImages.Count; i++) + { + Width = LayerImages[i].Width; + Length = LayerImages[i].Height; + ModelData.Add(new Voxel[Width, Length]); + for (int x = 0; x < LayerImages[i].Width; x++) + { + for(int y = 0; y < LayerImages[i].Height; y++) + { + ModelData[i][x,y] = new Voxel(LayerImages[i].GetPixel(x,y)); + } + } + } + } + public void AddLayer() + { + LayerImages.Add(new Bitmap(Width, Length)); + ModelData.Add(new Voxel[Width,Length]); + } + public void DrawSpriteStack(Graphics G) + { + for (int i = 0; i < ModelData.Count; i++) + { + G.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor; + G.ResetTransform(); + G.TranslateTransform(Camera.LocX + Camera.Width/2,Camera.LocY - (i*Camera.scale) + Camera.Height/2); + G.RotateTransform(Camera.Rotation); + G.DrawImage(LayerImages[i], new Rectangle(new Point(-(int)(Width * Camera.scale)/2, -(int)(Length * Camera.scale) / 2),new Size((int)(Width * Camera.scale), (int)(Length * Camera.scale)))); + } + } + public void DrawLayersToImages() + { + for (int i = 0; i < ModelData.Count; i++) + { + Bitmap newImage = new Bitmap(Width, Length); + for (int x = 0; x < ModelData[i].GetLength(0); x++) + { + for (int y = 0; y < ModelData[i].GetLength(1); y++) + { + if (ModelData[i][x, y] != null) + { + newImage.SetPixel(x, y, ModelData[i][x, y].GetColor()); + } + } + } + LayerImages[i] = newImage; + } + } + public void SetData(int LocX, int LocY, int Layer, Voxel voxel) + { + if (Layer >= ModelData.Count) AddLayer(); + ModelData[Layer][LocX,LocY] = voxel; + } + } +} diff --git a/SpriteStacker/Program.cs b/SpriteStacker/Program.cs new file mode 100644 index 0000000..05ab8de --- /dev/null +++ b/SpriteStacker/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace SpriteStacker +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/SpriteStacker/Properties/AssemblyInfo.cs b/SpriteStacker/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e53832b --- /dev/null +++ b/SpriteStacker/Properties/AssemblyInfo.cs @@ -0,0 +1,33 @@ +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("SpriteStacker")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("HSFC")] +[assembly: AssemblyProduct("SpriteStacker")] +[assembly: AssemblyCopyright("Copyright © HSFC 2026")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("123e7e4e-531f-41fb-a62e-7ad0b37c5aa2")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/SpriteStacker/Properties/Resources.Designer.cs b/SpriteStacker/Properties/Resources.Designer.cs new file mode 100644 index 0000000..993b473 --- /dev/null +++ b/SpriteStacker/Properties/Resources.Designer.cs @@ -0,0 +1,323 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace SpriteStacker.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SpriteStacker.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _1 { + get { + object obj = ResourceManager.GetObject("_1", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _10 { + get { + object obj = ResourceManager.GetObject("_10", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _11 { + get { + object obj = ResourceManager.GetObject("_11", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _12 { + get { + object obj = ResourceManager.GetObject("_12", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _13 { + get { + object obj = ResourceManager.GetObject("_13", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _14 { + get { + object obj = ResourceManager.GetObject("_14", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _15 { + get { + object obj = ResourceManager.GetObject("_15", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _16 { + get { + object obj = ResourceManager.GetObject("_16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _17 { + get { + object obj = ResourceManager.GetObject("_17", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _18 { + get { + object obj = ResourceManager.GetObject("_18", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _19 { + get { + object obj = ResourceManager.GetObject("_19", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _2 { + get { + object obj = ResourceManager.GetObject("_2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _20 { + get { + object obj = ResourceManager.GetObject("_20", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _21 { + get { + object obj = ResourceManager.GetObject("_21", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _22 { + get { + object obj = ResourceManager.GetObject("_22", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _23 { + get { + object obj = ResourceManager.GetObject("_23", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _24 { + get { + object obj = ResourceManager.GetObject("_24", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _25 { + get { + object obj = ResourceManager.GetObject("_25", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _26 { + get { + object obj = ResourceManager.GetObject("_26", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _3 { + get { + object obj = ResourceManager.GetObject("_3", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _4 { + get { + object obj = ResourceManager.GetObject("_4", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _5 { + get { + object obj = ResourceManager.GetObject("_5", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _6 { + get { + object obj = ResourceManager.GetObject("_6", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _7 { + get { + object obj = ResourceManager.GetObject("_7", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _8 { + get { + object obj = ResourceManager.GetObject("_8", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap _9 { + get { + object obj = ResourceManager.GetObject("_9", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/SpriteStacker/Properties/Resources.resx b/SpriteStacker/Properties/Resources.resx new file mode 100644 index 0000000..21346c1 --- /dev/null +++ b/SpriteStacker/Properties/Resources.resx @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\10.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\11.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\12.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\13.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\14.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\15.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\17.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\18.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\19.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\20.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\21.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\22.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\23.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\24.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\25.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\26.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\3.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\4.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\5.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\6.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\7.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\8.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\9.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/SpriteStacker/Properties/Settings.Designer.cs b/SpriteStacker/Properties/Settings.Designer.cs new file mode 100644 index 0000000..a1de6f8 --- /dev/null +++ b/SpriteStacker/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace SpriteStacker.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/SpriteStacker/Properties/Settings.settings b/SpriteStacker/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/SpriteStacker/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/SpriteStacker/Resources/1.png b/SpriteStacker/Resources/1.png new file mode 100644 index 0000000000000000000000000000000000000000..55a8348b871693eee6ff4425692d99454aa42e96 GIT binary patch literal 162 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}F`h1tAsLNt zFE8Y6aNuFRaHxYr$gQEVPtZeP4aYQ@M?9(>-($4vKD#Od6*FYKHafh#(Bl2)ZStAl zf3112%f;o$9-aQX(U-bvd?)Vrto`;&{aR4adq$wz3q_3lH+kG29`a8FY4vpVb6Mw< G&;$Tas5p-R literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/10.png b/SpriteStacker/Resources/10.png new file mode 100644 index 0000000000000000000000000000000000000000..899e4a59495626bc98fad9a2e98abc0c3ee7a180 GIT binary patch literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}Zk{fVAsLNt zFCOG=FyLW1*pc^G=~LH~O=qVw?chHnQgH25GEf!6f$Fr-^Q-*s@0|4be8XNp6E&$% jn$>gt>Y0IZ4fl64`hDXIWN-|S0;%bP0l+XkK{{byU literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/11.png b/SpriteStacker/Resources/11.png new file mode 100644 index 0000000000000000000000000000000000000000..96d2a8da40fed94c791f9fbe9292d2fda94b8ac6 GIT binary patch literal 135 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}j-D=#AsLNt z&u-*Apdi3-;5cVc1c#z`BuC$Z-`~?3uEevv6WhT7RLJlkxv%cpJ@wz3HxGtJ-}!nn b4=gx6F3^|d`1DP0lR;chS3j3^P6-($4vKD#Od6*FYKHafh#(Bl2)ZStAl zf3112%f;o$9-aQX(U-bvd?)Vrto`;&{aR4adq$wz3q_3lH+kG29`a8FY4vpVb6Mw< G&;$Tas5p-R literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/20.png b/SpriteStacker/Resources/20.png new file mode 100644 index 0000000000000000000000000000000000000000..899e4a59495626bc98fad9a2e98abc0c3ee7a180 GIT binary patch literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}Zk{fVAsLNt zFCOG=FyLW1*pc^G=~LH~O=qVw?chHnQgH25GEf!6f$Fr-^Q-*s@0|4be8XNp6E&$% jn$>gt>Y0IZ4fl64`hDXIWN-|S0;%bP0l+XkK{{byU literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/21.png b/SpriteStacker/Resources/21.png new file mode 100644 index 0000000000000000000000000000000000000000..df40ab780d6ff48e275ca70a6883ecf5d85d1882 GIT binary patch literal 160 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}QJyZ2AsLNt zFB@_-IPkC>c#;2=y(yyO0spz@S=#A^y@K5{^)$_LCUOAPGThpA=0l>)`QJ5DCY7x} z&$Z6m#Ugam%k%gVb(`QS;$B&+`28QxMP7)z4*}Q$iB} DQO`MS literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/22.png b/SpriteStacker/Resources/22.png new file mode 100644 index 0000000000000000000000000000000000000000..13751317458c74f4d91f6fded58454cc74b3edeb GIT binary patch literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}X`U{QAsLNt zFK^^*aNuFRpmD>h&$`k%g7e)oi)~`JsuHAKEBTpL7X6&i4OGqWAT?R@c z^z7wHV#`iS$p~)DciviYeSPNpt&z?1r-?mz=bth!Y}M;W^LZJ8nm%Z&w|-HcSIe?W P2xNw*tDnm{r-UW|sQ)}C literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/23.png b/SpriteStacker/Resources/23.png new file mode 100644 index 0000000000000000000000000000000000000000..13751317458c74f4d91f6fded58454cc74b3edeb GIT binary patch literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}X`U{QAsLNt zFK^^*aNuFRpmD>h&$`k%g7e)oi)~`JsuHAKEBTpL7X6&i4OGqWAT?R@c z^z7wHV#`iS$p~)DciviYeSPNpt&z?1r-?mz=bth!Y}M;W^LZJ8nm%Z&w|-HcSIe?W P2xNw*tDnm{r-UW|sQ)}C literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/24.png b/SpriteStacker/Resources/24.png new file mode 100644 index 0000000000000000000000000000000000000000..13751317458c74f4d91f6fded58454cc74b3edeb GIT binary patch literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}X`U{QAsLNt zFK^^*aNuFRpmD>h&$`k%g7e)oi)~`JsuHAKEBTpL7X6&i4OGqWAT?R@c z^z7wHV#`iS$p~)DciviYeSPNpt&z?1r-?mz=bth!Y}M;W^LZJ8nm%Z&w|-HcSIe?W P2xNw*tDnm{r-UW|sQ)}C literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/25.png b/SpriteStacker/Resources/25.png new file mode 100644 index 0000000000000000000000000000000000000000..13751317458c74f4d91f6fded58454cc74b3edeb GIT binary patch literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}X`U{QAsLNt zFK^^*aNuFRpmD>h&$`k%g7e)oi)~`JsuHAKEBTpL7X6&i4OGqWAT?R@c z^z7wHV#`iS$p~)DciviYeSPNpt&z?1r-?mz=bth!Y}M;W^LZJ8nm%Z&w|-HcSIe?W P2xNw*tDnm{r-UW|sQ)}C literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/26.png b/SpriteStacker/Resources/26.png new file mode 100644 index 0000000000000000000000000000000000000000..df40ab780d6ff48e275ca70a6883ecf5d85d1882 GIT binary patch literal 160 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}QJyZ2AsLNt zFB@_-IPkC>c#;2=y(yyO0spz@S=#A^y@K5{^)$_LCUOAPGThpA=0l>)`QJ5DCY7x} z&$Z6m#Ugam%k%gVb(`QS;$B&+`28QxMP7)z4*}Q$iB} DQO`MS literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/3.png b/SpriteStacker/Resources/3.png new file mode 100644 index 0000000000000000000000000000000000000000..55a8348b871693eee6ff4425692d99454aa42e96 GIT binary patch literal 162 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}F`h1tAsLNt zFE8Y6aNuFRaHxYr$gQEVPtZeP4aYQ@M?9(>-($4vKD#Od6*FYKHafh#(Bl2)ZStAl zf3112%f;o$9-aQX(U-bvd?)Vrto`;&{aR4adq$wz3q_3lH+kG29`a8FY4vpVb6Mw< G&;$Tas5p-R literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/4.png b/SpriteStacker/Resources/4.png new file mode 100644 index 0000000000000000000000000000000000000000..9c5c3c55a5c0fc6d9781c6219e5398b41b2e77d3 GIT binary patch literal 190 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}6`n4RAsLNt zFB|eX1PHV|RODL_;Bka;XQPXVQX%uY6%|K!Gfs8UFmd}@e>ZRAWX&)ppe6=}1G|q@ z?#aCU*J}Ogq|@H9?eA4pGNqm!f2X}oX}N^i(G5G3|G55}w3GSMqA4n&uDNG7+Wr2k i{%hmrXN+L&56&_^=n{Gu!@BJbi0|p@=d#Wzp$PzisYY`E literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/5.png b/SpriteStacker/Resources/5.png new file mode 100644 index 0000000000000000000000000000000000000000..a0604c3f31976e4ff0bac7bdf76034e4ef244397 GIT binary patch literal 188 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}Wu7jMAsLNt zFB@_(Ir6Yxc)_`CMv~*6DW;^_t9$h9}m@4n1H$(>@P&i z?!7wE_W2CSd(pDNGn2K7*PNaf^=yLZAH9z+L(UcMjSWg$7MJ3m>H4n!`SoYU>o<0n h-gNs`57f-?VYRsK8__#em2M^=uBWS?%Q~loCIB*kMZf?6 literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/6.png b/SpriteStacker/Resources/6.png new file mode 100644 index 0000000000000000000000000000000000000000..77bc8739d453ebeba21f969d15a3914e53e6f55a GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}!JaOTAsLNt zFKy&)P!MPfEMc>L++e^W$|?O|$Bp1>vwh|V{y&}M%?VV>aBs5r%$-vt@7`28ex3Q9 w;i0PPD<59jtXm&s81;7ZRk?prAVq&pG0(K%yFVdQ&MBb@0DfgPJpcdz literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/7.png b/SpriteStacker/Resources/7.png new file mode 100644 index 0000000000000000000000000000000000000000..77bc8739d453ebeba21f969d15a3914e53e6f55a GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}!JaOTAsLNt zFKy&)P!MPfEMc>L++e^W$|?O|$Bp1>vwh|V{y&}M%?VV>aBs5r%$-vt@7`28ex3Q9 w;i0PPD<59jtXm&s81;7ZRk?prAVq&pG0(K%yFVdQ&MBb@0DfgPJpcdz literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/8.png b/SpriteStacker/Resources/8.png new file mode 100644 index 0000000000000000000000000000000000000000..899e4a59495626bc98fad9a2e98abc0c3ee7a180 GIT binary patch literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}Zk{fVAsLNt zFCOG=FyLW1*pc^G=~LH~O=qVw?chHnQgH25GEf!6f$Fr-^Q-*s@0|4be8XNp6E&$% jn$>gt>Y0IZ4fl64`hDXIWN-|S0;%bP0l+XkK{{byU literal 0 HcmV?d00001 diff --git a/SpriteStacker/Resources/9.png b/SpriteStacker/Resources/9.png new file mode 100644 index 0000000000000000000000000000000000000000..899e4a59495626bc98fad9a2e98abc0c3ee7a180 GIT binary patch literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-#^NA%Cx&(BWL^R}Zk{fVAsLNt zFCOG=FyLW1*pc^G=~LH~O=qVw?chHnQgH25GEf!6f$Fr-^Q-*s@0|4be8XNp6E&$% jn$>gt>Y0IZ4fl64`hDXIWN-|S0;%bP0l+XkK{{byU literal 0 HcmV?d00001 diff --git a/SpriteStacker/SpriteStacker.csproj b/SpriteStacker/SpriteStacker.csproj new file mode 100644 index 0000000..fc33cda --- /dev/null +++ b/SpriteStacker/SpriteStacker.csproj @@ -0,0 +1,163 @@ + + + + + Debug + AnyCPU + {123E7E4E-531F-41FB-A62E-7AD0B37C5AA2} + WinExe + SpriteStacker + SpriteStacker + v4.8 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file