- Timestamp:
- 2016-03-12 15:03:53 (7 years ago)
- Location:
- 2015/koodauskerho/AarniAR
- Files:
-
- 48 added
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/koodauskerho/AarniAR/BitPup/BitPup/BitPup/BitPup.cs
r7125 r7135 25 25 private Image[] Crab = LoadImages("Enemy", "Enemy2"); 26 26 private Image Spikey = LoadImage("Spikey"); 27 private Image[] Skeleton = LoadImages("SkeletonWalk1", "SkeletonWalk2"); 27 28 28 29 int kerta = 4; … … 80 81 kentta.SetTileMethod('E', LisaaCrab); 81 82 kentta.SetTileMethod('s', LisaaPiikikäs); 83 kentta.SetTileMethod('L', LisaaSkeleton); 82 84 83 85 TileMap ruudut = TileMap.FromLevelAsset(kenttaTiedostonNimi); … … 343 345 { 344 346 LuoKentta("kentta4"); 347 348 MessageDisplay.Add("Kenttä 4"); 349 } 350 else if (kenttaNro == 5) 351 { 352 LuoKentta("kentta5"); 345 353 346 354 MessageDisplay.Add("Kenttä 4"); … … 410 418 Add(piikikäs); 411 419 } 420 void LisaaSkeleton(Vector paikka, double leveys, double korkeus) 421 { 422 PlatformCharacter skeleton = new PlatformCharacter(leveys - 4, korkeus - 4); 423 skeleton.IgnoresCollisionResponse = false; 424 425 skeleton.AnimWalk = new Animation(Skeleton); 426 skeleton.AnimWalk.FPS = 3; 427 428 skeleton.Position = paikka; 429 skeleton.Image = Skeleton[0]; 430 skeleton.Tag = "vihu"; 431 Add(skeleton); 432 433 PlatformWandererBrain tasoAivot = new PlatformWandererBrain(); 434 tasoAivot.Speed = 300; 435 tasoAivot.TriesToJump = false; 436 skeleton.Brain = tasoAivot; 437 } 412 438 } 413 439 -
2015/koodauskerho/AarniAR/BitPup/BitPup/BitPup/BitPup.csproj.Debug.cachefile
r7125 r7135 26 26 Content\kentta2.xnb 27 27 Content\kentta4.xnb 28 Content\Skeleton.xnb 29 Content\SkeletonWalk1.xnb 30 Content\SkeletonWalk2.xnb 31 Content\kentta5.xnb -
2015/koodauskerho/AarniAR/BitPup/BitPup/BitPup/bin/x86/Debug/Data/_score.xml
r7125 r7135 14 14 <Item Index="1" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 15 15 <Field Name="Name" Type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 16 <Value>asdasdasd </Value>16 <Value>asdasdasd2'</Value> 17 17 </Field> 18 18 <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 19 <Value>1 00</Value>19 <Value>125</Value> 20 20 </Field> 21 21 </Item> 22 22 <Item Index="2" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 23 23 <Field Name="Name" Type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 24 <Value>asdasdasd 2</Value>24 <Value>asdasdasd</Value> 25 25 </Field> 26 26 <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> … … 30 30 <Item Index="3" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 31 31 <Field Name="Name" Type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 32 <Value> -</Value>32 <Value>asdasdasd2</Value> 33 33 </Field> 34 34 <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 35 <Value> 0</Value>35 <Value>100</Value> 36 36 </Field> 37 37 </Item> -
2015/koodauskerho/AarniAR/BitPup/BitPup/BitPup/obj/x86/Debug/BitPup.csproj.FileListAbsolute.txt
r7125 r7135 71 71 C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\ClosedChest_0.xnb 72 72 C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\kentta4.xnb 73 C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\Skeleton.xnb 74 C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\SkeletonWalk1.xnb 75 C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\SkeletonWalk2.xnb 76 C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\kentta5.xnb -
2015/koodauskerho/AarniAR/BitPup/BitPup/BitPup/obj/x86/Debug/ContentPipeline-{68353A22-4E3F-46ED-A607-F2A620962927}.xml
r7125 r7135 210 210 <Options>None</Options> 211 211 <Output>C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\kentta1.xnb</Output> 212 <Time>2016-0 2-20T10:33:58.4864642+02:00</Time>212 <Time>2016-03-12T11:22:06.050194+02:00</Time> 213 213 </Item> 214 214 <Item> … … 219 219 <Options>None</Options> 220 220 <Output>C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\kentta3.xnb</Output> 221 <Time>2016-0 2-20T10:33:58.4964644+02:00</Time>221 <Time>2016-03-12T13:35:53.015194+02:00</Time> 222 222 </Item> 223 223 <Item> … … 237 237 <Options>None</Options> 238 238 <Output>C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\kentta4.xnb</Output> 239 <Time>2016-02-20T14:18:09.7358042+02:00</Time> 239 <Time>2016-03-12T15:00:45.7534809+02:00</Time> 240 </Item> 241 <Item> 242 <Source>Skeleton.png</Source> 243 <Name>Skeleton</Name> 244 <Importer>TextureImporter</Importer> 245 <Processor>TextureProcessor</Processor> 246 <Options>None</Options> 247 <Output>C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\Skeleton.xnb</Output> 248 <Time>2016-03-12T10:47:23.158894+02:00</Time> 249 </Item> 250 <Item> 251 <Source>SkeletonWalk1.png</Source> 252 <Name>SkeletonWalk1</Name> 253 <Importer>TextureImporter</Importer> 254 <Processor>TextureProcessor</Processor> 255 <Options>None</Options> 256 <Output>C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\SkeletonWalk1.xnb</Output> 257 <Time>2016-03-12T11:00:56.267194+02:00</Time> 258 </Item> 259 <Item> 260 <Source>SkeletonWalk2.png</Source> 261 <Name>SkeletonWalk2</Name> 262 <Importer>TextureImporter</Importer> 263 <Processor>TextureProcessor</Processor> 264 <Options>None</Options> 265 <Output>C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\SkeletonWalk2.xnb</Output> 266 <Time>2016-03-12T11:01:06.777194+02:00</Time> 267 </Item> 268 <Item> 269 <Source>kentta5.txt</Source> 270 <Name>kentta5</Name> 271 <Importer>TextFileImporter</Importer> 272 <Processor>TextFileContentProcessor</Processor> 273 <Options>None</Options> 274 <Output>C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\kentta5.xnb</Output> 275 <Time>2016-03-12T14:56:45.2124809+02:00</Time> 240 276 </Item> 241 277 <BuildSuccessful>true</BuildSuccessful> -
2015/koodauskerho/AarniAR/BitPup/BitPup/BitPup/obj/x86/Debug/cachefile-{68353A22-4E3F-46ED-A607-F2A620962927}-targetpath.txt
r7125 r7135 26 26 Content\kentta2.xnb 27 27 Content\kentta4.xnb 28 Content\Skeleton.xnb 29 Content\SkeletonWalk1.xnb 30 Content\SkeletonWalk2.xnb 31 Content\kentta5.xnb -
2015/koodauskerho/AarniAR/BitPup/BitPup/BitPupContent/BitPupContent.contentproj
r7125 r7135 176 176 <Processor>TextFileContentProcessor</Processor> 177 177 </Compile> 178 <Compile Include="kentta5.txt"> 179 <Name>kentta5</Name> 180 <Importer>TextFileImporter</Importer> 181 <Processor>TextFileContentProcessor</Processor> 182 </Compile> 178 183 <Content Include="Loppu.png"> 179 184 <Importer>TextureImporter</Importer> 180 185 <Processor>TextureProcessor</Processor> 181 186 </Content> 187 <Compile Include="Skeleton.png"> 188 <Name>Skeleton</Name> 189 <Importer>TextureImporter</Importer> 190 <Processor>TextureProcessor</Processor> 191 </Compile> 192 <Compile Include="SkeletonWalk1.png"> 193 <Name>SkeletonWalk1</Name> 194 <Importer>TextureImporter</Importer> 195 <Processor>TextureProcessor</Processor> 196 </Compile> 197 <Compile Include="SkeletonWalk2.png"> 198 <Name>SkeletonWalk2</Name> 199 <Importer>TextureImporter</Importer> 200 <Processor>TextureProcessor</Processor> 201 </Compile> 182 202 </ItemGroup> 183 203 <ItemGroup> -
2015/koodauskerho/AarniAR/BitPup/BitPup/BitPupContent/kentta1.txt
r7053 r7135 11 11 ####### ##### 12 12 ####### ##### 13 ####### # #####14 ####### # E # #####15 ####### ########################16 13 ####### ##### 17 ####### ##### 18 ####### ##### 19 ####### ##### 20 ####### E E E # # ##### 21 ################SS######## ##### 22 ###################sss#### ##### 23 ####### ##### 24 ####### ##### 25 ####### ##### 26 ####### ##### 27 ####### ##### 28 & s # # ##### 29 &G * ##SSS## ##### 14 ####### L ##### 15 ####### ########################### 16 ####### s#### 17 ####### s#### 18 ####### s#### 19 ####### s#### 20 ####### E E E # # s#### 21 ################SS########### s#### 22 ############################# s#### 23 ####### s#### 24 ####### s#### 25 ####### s#### 26 ####### s#### 27 ####### s#### 28 & s # # s#### 29 &G ##SSS## s#### 30 30 #################################### 31 31 ####### ######################## -
2015/koodauskerho/AarniAR/BitPup/BitPup/BitPupContent/kentta3.txt
r7053 r7135 2 2 ##### & 3 3 ##### N & 4 ##### 4 #####FF########################################## 5 5 ##### ######################################### 6 6 ## #################################### … … 9 9 # ##### 10 10 # F F ##### 11 # FF F F #####11 # F F F ##### 12 12 ######### FF F ## ##### 13 13 ######### ## ##### … … 16 16 # ##### 17 17 # * ##### 18 # ET #####18 # T ##### 19 19 & T ##### 20 20 &G T T T T T T ##### -
2015/koodauskerho/AarniAR/BitPup/BitPup/BitPupContent/kentta4.txt
r7125 r7135 6 6 ####### ###################################### 7 7 ####### ###################################### 8 #######sss s######################################8 #######sss ###################################### 9 9 ####### ###################################### 10 10 ####### ###################################### 11 11 ####### ###################################### 12 ####### 12 ####### ssssss###################################### 13 13 ####### ###################################### 14 14 ####### ###################################### 15 15 ####### ###################################### 16 #######ss ssssss######################################16 #######ss ssss###################################### 17 17 ####### ###################################### 18 18 ####### ###################################### 19 19 ####### ###################################### 20 20 ####### ###################################### 21 ####### ss######################################21 #######sssss ###################################### 22 22 ####### ###################################### 23 23 #######s s###################################### … … 25 25 #######ss ss###################################### 26 26 ####### ###################################### 27 #######ss 27 #######sss sss####ssssssssssssssssssssssssssssss#### 28 28 ####### # 29 29 #######* G # 30 ########### ########################################## 30 31 ###########SS########################################## 31 32 ####################################################### 32 #######################################################
Note: See TracChangeset
for help on using the changeset viewer.