- Timestamp:
- 2011-06-10 11:04:12 (11 years ago)
- Location:
- 2011/23/vihakuli
- Files:
-
- 4 added
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/23/vihakuli/Runner/Runner/Runner/Maat/maa1.txt
r1825 r1864 25 25 = = 26 26 = * = 27 = ======= 27 = ======= = b= 28 28 =* = 29 29 ====== = … … 34 34 = = 35 35 = = 36 = 36 = ch = 37 37 = ---<<<=========== 38 38 = = … … 43 43 = = 44 44 ===== h = 45 ===== c cs aa*** c h -----=== <=45 ===== s aa*** c h -----=== <= 46 46 ============================================================= -
2011/23/vihakuli/Runner/Runner/Runner/Maat/maa3.txt
r1832 r1864 6 6 = !!!!!!!!!!!!!!!!!!!!!!!!!!! = 7 7 = = 8 = 8 = c = 9 9 = =========================== = 10 =* =========================== 10 =* ===========================b = 11 11 ==== =========================== = 12 12 = ==== === = 13 = ==->>>>=== 14 = = = c ==== === 13 = ==->>>>===b = ==== === = 14 = = = c ==== === b= 15 15 = =*** ======== ========----==== === = 16 16 = =*** = = === = 17 17 = c ==== = = === = 18 18 = ===---= =!!!!!!!!!!!!!!!!!!!!!!!!!!!!=*** === = 19 = s = === 19 = s = ===b = 20 20 ========= === = 21 21 = ===================----=============================== = -
2011/23/vihakuli/Runner/Runner/Runner/Maat/maa4.txt
r1815 r1864 12 12 = = 13 13 = = 14 = 14 = c = 15 15 ========================>>> <<<============= == 16 16 =!!!!!!!!!!!!!!!!====== =! != -
2011/23/vihakuli/Runner/Runner/Runner/Maat/maa5.txt
r1832 r1864 7 7 = ========= ====== = 8 8 = ================== = = = 9 = -- = 9 = -- =b = = = 10 10 = = ===--= = 11 11 = * * = ======= = -
2011/23/vihakuli/Runner/Runner/Runner/Maat/maa6.txt
r1743 r1864 1 ============================================= ============================ 2 = = = = 3 = * = = *= 4 =* ========== ============== ======= 5 =====::: ==== *= 6 = *==== * * == == 7 = --::======= * ============== * = =!!!!!= 8 = ==== * ===== = === == ======= 9 =* ==== * ==== = =!!!!!!!!!!!!!!= 10 ===:-- ==== ==== = ================ 11 === ==== = 12 ===!!!!!!!!!!--:= s =====!!!!!!!!!!!!!!!!!!!= 13 ============================================= 1 ========================================================== 2 = = 3 = = 4 = = 5 = = 6 = = 7 = = 8 = = 9 = = 10 = = 11 = **= 12 = ======= 13 = === = 14 = === = 15 = c*h === = 16 = ===== === === === === === = 17 = b = = 18 = = = 19 = = 20 = = 21 =- = 22 = cb = 23 = ====== = 24 = * = 25 = ======== b = = 26 = = 27 = = 28 = c = 29 = ====- * = 30 = ===== <==== = 31 = = 32 = = 33 = ===- = 34 = === = 35 = s = 36 ========================================================== -
2011/23/vihakuli/Runner/Runner/Runner/Peli.cs
r1832 r1864 14 14 PlatformCharacter ukko; 15 15 Image[] UkonKuvat = LoadImages("ukko01", "ukko02", "ukko03"); 16 Image[] UkonKuvaPeilattu ;16 Image[] UkonKuvaPeilattu = LoadImages("ukkoMirror01", "ukkoMirror02", "ukkoMirror03"); 17 17 Image[] Ukkoidlaa = LoadImages("ukkoidlaa0"); 18 18 Image vihollisenKuva = LoadImage("vihu"); … … 34 34 Timer NopeaJuoksuAika; 35 35 Label teksti; 36 Label kohta3;37 Label KohtaHavisit;38 36 List<Label> valikonKohdat = new List<Label>(); 39 37 List<Label> MaaValikko = new List<Label>(); … … 67 65 public override void Begin() 68 66 { 69 SetWindowSize(800, 600); 67 //SetWindowSize(800, 600); 68 IsFullScreen = true; 70 69 KorkeaHyppyAika = new Timer(); 71 70 NopeaJuoksuAika = new Timer(); … … 98 97 valikonKohdat.Add(valitseMaa); 99 98 100 KohtaHavisit = new Label("Hävisit kentän!");101 KohtaHavisit.Position = new Vector(0, 120);102 103 kohta3 = new Label("Kenttä suoritettu!");104 kohta3.Position = new Vector(0, 120);105 106 if (havisit == 1)107 {108 valikonKohdat.Add(kohta3);109 kohta3.Text = "Hävisit kentän!";110 }111 112 if (voitit == 1)113 {114 valikonKohdat.Add(kohta3);115 kohta3.Text = "Voitit kentän!";116 }117 118 119 99 foreach (Label valikonKohta in valikonKohdat) 120 100 { … … 158 138 { 159 139 ClearAll(); 160 MaxPisteet = 0;161 pisteet = 0;162 voitit = 0;163 havisit = 0;164 140 ammukset = 0; 165 141 elamat = 3; 142 pisteet = 0; 143 MaxPisteet = 0; 166 144 aikaaKulunut = 0; 167 145 aikaLaskuri.Stop(); … … 202 180 void TeeUkko(Vector ukonkoko, Vector paikka) 203 181 { 182 voitit = 0; 183 havisit = 0; 204 184 ukko = new PlatformCharacter(ukonkoko.X, ukonkoko.Y); 205 185 ukko.Position = paikka; … … 211 191 Camera.Follow(ukko); 212 192 ukko.LeftWalkingAnimation = new Animation(UkonKuvat); 213 UkonKuvaPeilattu = Image.Mirror(UkonKuvat);214 193 ukko.RightWalkingAnimation = new Animation(UkonKuvaPeilattu); 215 194 ukko.RightIdleAnimation = new Animation(Ukkoidlaa); … … 374 353 topIkkuna.Closed += TallennaPisteet; 375 354 Add(topIkkuna); 355 voitit = 1; 356 havisit = 0; 376 357 } 377 358 … … 397 378 Add(topIkkuna); 398 379 havisit = 1; 380 voitit = 0; 399 381 } 400 382 } -
2011/23/vihakuli/Runner/Runner/Runner/Runner.csproj
r1823 r1864 136 136 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 137 137 </Content> 138 <Content Include="Maat\maa21.txt">139 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>140 </Content>141 138 <Content Include="ukko1.png"> 142 139 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> -
2011/23/vihakuli/Runner/Runner/RunnerContent/RunnerContent.contentproj
r1815 r1864 146 146 </Compile> 147 147 </ItemGroup> 148 <ItemGroup> 149 <Compile Include="ukkoMirror01.png"> 150 <Name>ukkoMirror01</Name> 151 <Importer>TextureImporter</Importer> 152 <Processor>TextureProcessor</Processor> 153 </Compile> 154 <Compile Include="ukkoMirror02.png"> 155 <Name>ukkoMirror02</Name> 156 <Importer>TextureImporter</Importer> 157 <Processor>TextureProcessor</Processor> 158 </Compile> 159 <Compile Include="ukkoMirror03.png"> 160 <Name>ukkoMirror03</Name> 161 <Importer>TextureImporter</Importer> 162 <Processor>TextureProcessor</Processor> 163 </Compile> 164 </ItemGroup> 148 165 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 149 166 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Note: See TracChangeset
for help on using the changeset viewer.