Changeset 1488
- Timestamp:
- 2010-08-01 17:50:21 (13 years ago)
- Location:
- 2010/23/hniemi/JyTris/JyTris
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
2010/23/hniemi/JyTris/JyTris/Content/obj/x86/Debug/ContentPipeline.xml
r1480 r1488 7 7 <BuildConfiguration>Debug</BuildConfiguration> 8 8 <CompressContent>false</CompressContent> 9 <RootDirectory>D:\ Opiskelu\kurssit\NPO2010\Jytris\Content\</RootDirectory>10 <LoggerRootDirectory>D:\ Opiskelu\kurssit\NPO2010\Jytris\</LoggerRootDirectory>11 <IntermediateDirectory>D:\ Opiskelu\kurssit\NPO2010\Jytris\Content\obj\x86\Debug\</IntermediateDirectory>12 <OutputDirectory>D:\ Opiskelu\kurssit\NPO2010\Jytris\bin\x86\Debug\Content\</OutputDirectory>9 <RootDirectory>D:\Projektit\JyTris\JyTris\Content\</RootDirectory> 10 <LoggerRootDirectory>D:\Projektit\JyTris\JyTris\</LoggerRootDirectory> 11 <IntermediateDirectory>D:\Projektit\JyTris\JyTris\Content\obj\x86\Debug\</IntermediateDirectory> 12 <OutputDirectory>D:\Projektit\JyTris\JyTris\bin\x86\Debug\Content\</OutputDirectory> 13 13 </Settings> 14 14 <Assemblies> 15 15 <Assembly> 16 <Key>C:\W INDOWS\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\3.1.0.0__6d5c3888ef60e27d\Microsoft.Xna.Framework.Content.Pipeline.dll</Key>17 <Value>2010-0 4-17T01:01:45.234375+03:00</Value>16 <Key>C:\Windows\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\3.1.0.0__6d5c3888ef60e27d\Microsoft.Xna.Framework.Content.Pipeline.dll</Key> 17 <Value>2010-07-28T21:36:27.8906026+03:00</Value> 18 18 </Assembly> 19 19 </Assemblies> -
2010/23/hniemi/JyTris/JyTris/Peli.cs
r1487 r1488 34 34 double vaikeusaste = 0.9 ; 35 35 IntMeter pisteet = new IntMeter(0); 36 int taso = 1; 37 36 IntMeter taso = new IntMeter(0); 37 int tuhotutRivit = 0; 38 39 Label tasonaytto; 38 40 Label pistenaytto; 39 41 … … 115 117 { 116 118 pisteet.Value = 0; 119 taso.Value = 1; 120 tuhotutRivit = 0; 117 121 introajastin.Stop(); 118 122 TuhoaKaikki(); … … 153 157 154 158 pisteet.Value += (potti/10) * taso * potti; 159 160 if (tuhotutRivit > 10) 161 { 162 tuhotutRivit -= 10; 163 taso.Value++; 164 } 155 165 } 156 166 … … 177 187 { 178 188 if (rivinIndeksi > pelikentta.Length || rivinIndeksi < 0) return; 189 tuhotutRivit++; 179 190 180 191 for (int i = rivinIndeksi; i > 0; i--) … … 199 210 pistenaytto = new Label(80, 20); 200 211 pistenaytto.BindTo(pisteet); 201 pistenaytto.Position = new Vector(Screen.RightSafe - 100, Screen.TopSafe - 100); 212 pistenaytto.Position = new Vector(Screen.RightSafe - 200, Screen.TopSafe - 100); 213 //pistenaytto.Text = "Pisteet: "; 202 214 Add(pistenaytto); 215 216 tasonaytto = new Label(20, 20); 217 tasonaytto.BindTo(taso); 218 tasonaytto.Position = new Vector(Screen.RightSafe - 200, Screen.TopSafe - 125); 219 //tasonaytto.Text = "Taso: "; 220 //tasonaytto. 221 Add(tasonaytto); 222 203 223 204 224 /*
Note: See TracChangeset
for help on using the changeset viewer.