Changeset 5119
- Timestamp:
- 2014-06-26 14:09:20 (9 years ago)
- Location:
- 2014/26/UunoT/testing/testing
- Files:
-
- 3 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
2014/26/UunoT/testing/testing/testing/obj/x86/Debug/ContentPipeline-{BDDFC29C-71D4-4710-8DED-5A3CD06DACEF}.xml
r5106 r5119 36 36 <Options>None</Options> 37 37 <Output>C:\MyTemp\UunoT\testing\testing\testing\bin\x86\Debug\Content\kentta1.xnb</Output> 38 <Time>2014-06-2 5T13:50:04.8018132+03:00</Time>38 <Time>2014-06-26T13:13:57.2448632+03:00</Time> 39 39 </Item> 40 40 <Item> … … 46 46 <Output>C:\MyTemp\UunoT\testing\testing\testing\bin\x86\Debug\Content\kakkakigkre.xnb</Output> 47 47 <Time>2014-06-25T14:31:22.1795335+03:00</Time> 48 </Item> 49 <Item> 50 <Source>~AutoRecover.Game.bmp</Source> 51 <Name>~AutoRecover.Game</Name> 52 <Importer>TextureImporter</Importer> 53 <Processor>TextureProcessor</Processor> 54 <Options>None</Options> 55 <Output>C:\MyTemp\UunoT\testing\testing\testing\bin\x86\Debug\Content\~AutoRecover.Game.xnb</Output> 56 <Time>2014-06-26T11:30:57.1607755+03:00</Time> 48 57 </Item> 49 58 <BuildSuccessful>true</BuildSuccessful> -
2014/26/UunoT/testing/testing/testing/obj/x86/Debug/cachefile-{BDDFC29C-71D4-4710-8DED-5A3CD06DACEF}-targetpath.txt
r5106 r5119 4 4 Content\kentta1.xnb 5 5 Content\kakkakigkre.xnb 6 Content\~AutoRecover.Game.xnb -
2014/26/UunoT/testing/testing/testing/obj/x86/Debug/testing.csproj.FileListAbsolute.txt
r5106 r5119 12 12 C:\MyTemp\UunoT\testing\testing\testing\obj\x86\Debug\Lag elephant.exe 13 13 C:\MyTemp\UunoT\testing\testing\testing\obj\x86\Debug\Lag elephant.pdb 14 C:\MyTemp\UunoT\testing\testing\testing\bin\x86\Debug\Content\~AutoRecover.Game.xnb -
2014/26/UunoT/testing/testing/testing/testing.cs
r5106 r5119 20 20 List<PhysicsObject> seinaPalat = new List<PhysicsObject>(); 21 21 Image mankuva = LoadImage("kakkakigkre"); 22 23 DoubleMeter alaspainLaskuri; 24 Timer aikaLaskuri; 22 25 23 26 … … 39 42 LisaaNappaimet(); 40 43 Keraa(); 44 LuoAikaLaskuri(); 41 45 42 46 … … 143 147 man.Tag = "pahis"; 144 148 Add(man); 145 146 149 150 147 151 148 152 man.Brain = new RandomMoverBrain(); 149 153 Timer ajastin = new Timer(); 150 ajastin.Interval = 6 0.5678910111223412342352;154 ajastin.Interval = 61.3678910111223412342352; 151 155 ajastin.Timeout += delegate { kranaatti(man); }; 152 156 ajastin.Start(); … … 180 184 { 181 185 Timer kutsuja = new Timer(); 182 kutsuja.Interval = 0. 594321;186 kutsuja.Interval = 0.394321; 183 187 kutsuja.Timeout += delegate { AddMonster(paikka); }; 184 188 kutsuja.Start(); … … 248 252 void LuoPortaali(Vector paikka, double leveys, double korkeus) 249 253 { 250 Portaali = new PhysicsObject (30.0, 30.0 254 Portaali = new PhysicsObject (30.0, 30.0); 251 255 Portaali.Shape = Shape.Circle; 252 256 Portaali.Color = Color.Purple; … … 290 294 291 295 296 void LuoAikaLaskuri() 297 { 298 alaspainLaskuri = new DoubleMeter(60.9); 299 300 aikaLaskuri = new Timer(); 301 aikaLaskuri.Interval = 0.1; 302 aikaLaskuri.Timeout += LaskeAlaspain; 303 aikaLaskuri.Start(); 304 305 306 307 Label aikaNaytto = new Label(); 308 aikaNaytto.TextColor = Color.Black; 309 aikaNaytto.DecimalPlaces = 1; 310 aikaNaytto.BindTo(alaspainLaskuri); 311 aikaNaytto.X = Screen.Right- 50.0; 312 aikaNaytto.Y = Screen.Top- 50.0; 313 Add(aikaNaytto); 314 315 } 316 317 void LaskeAlaspain() 318 { 319 alaspainLaskuri.Value -= 0.1; 320 321 if (alaspainLaskuri.Value <= 0) 322 { 323 MessageDisplay.Add("Aika loppui ja lagi alkaa!"); 324 aikaLaskuri.Stop(); 325 326 327 } 328 } 329 292 330 293 331 -
2014/26/UunoT/testing/testing/testing/testing.csproj
r5106 r5119 18 18 <XnaOutputType>Game</XnaOutputType> 19 19 <ApplicationIcon>Game.ico</ApplicationIcon> 20 <Thumbnail> GameThumbnail.png</Thumbnail>20 <Thumbnail>~AutoRecover.Game.png</Thumbnail> 21 21 <IsWebBootstrapper>false</IsWebBootstrapper> 22 22 <ReferencePath>$(registry:HKEY_LOCAL_MACHINE\Software\Jypeli@Install_Dir)\lib\x86</ReferencePath> … … 118 118 <Content Include="Game.ico" /> 119 119 <Content Include="GameThumbnail.png" /> 120 <Content Include="~AutoRecover.Game.png" /> 120 121 </ItemGroup> 121 122 <ItemGroup> -
2014/26/UunoT/testing/testing/testing/testing.csproj.Debug.cachefile
r5106 r5119 4 4 Content\kentta1.xnb 5 5 Content\kakkakigkre.xnb 6 Content\~AutoRecover.Game.xnb -
2014/26/UunoT/testing/testing/testingContent/kentta1.txt
r5106 r5119 1 1 ############################ 2 2 # * # 3 # 3 #p N # 4 4 ################# # 5 5 # ## # 6 # p ## # 7 # ## 8 # #### 9 # ################### 10 #### ################### #######11 # # p #12 # # #13 # #### * #6 # p ## ######################### 7 # ## # 8 # #### ## # 9 # ###################### ## # 10 #### ################### # 11 # # ################### #### # 12 # # p ## # 13 # #### p * # 14 14 # ########################################################### 15 15 # # ## 16 16 #* p # p ## 17 ################### 17 ################### p # ## 18 18 # ### ###### ### *## 19 # ################# #############20 # 19 # ################# ############ 20 # ### ## 21 21 # ###### ####### ## 22 # ##################### ######## *p ##23 # # 24 # # 22 # ##################### ######## p ## 23 # # V pS ## 24 # # V S ######## ## 25 25 # # V S #### ## 26 # # 26 # # V pS #### ## 27 27 # ##################### #### ## 28 28 # ##### p ## 29 29 # ## 30 30 # ###### ## 31 # 31 #* ## 32 32 ########################################################################## 33 33 ########################################################################## -
2014/26/UunoT/testing/testing/testingContent/testingContent.contentproj
r5106 r5119 74 74 </Compile> 75 75 </ItemGroup> 76 <ItemGroup> 77 <Compile Include="~AutoRecover.Game.bmp"> 78 <Name>~AutoRecover.Game</Name> 79 <Importer>TextureImporter</Importer> 80 <Processor>TextureProcessor</Processor> 81 </Compile> 82 </ItemGroup> 76 83 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 77 84 <!-- 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.