Changeset 6010
- Timestamp:
- 2015-06-11 11:33:06 (8 years ago)
- Location:
- 2015/24/TomasC/Tasohyppelypeli1
- Files:
-
- 1 added
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/24/TomasC/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1.cs
r5993 r6010 56 56 57 57 58 ColorTileMap ruudut = ColorTileMap.FromLevelAsset(kentta); 58 59 ColorTileMap ruudut = ColorTileMap.FromLevelAsset(kentta); 59 60 60 61 ruudut.SetTileMethod(Color.Black, Lisaahirvio); … … 98 99 AddCollisionHandler(pelaaja1, "Jarmo", TormaaShrek); 99 100 AddCollisionHandler(pelaaja1, "maali", TormaaMaali); 101 AddCollisionHandler(pelaaja1, "Illu", TormaaIllu); 100 102 pelaaja1.Tag = "Jimmy"; 101 103 Add(pelaaja1); … … 168 170 PhysicsObject Illu= new PhysicsObject(leveys *10, korkeus *10); 169 171 Illu.Position = paikka; 172 Illu.Shape = Shape.FromImage(LoadImage("Illu")); 170 173 Illu.Image = LoadImage("Illu"); 171 Illu.Tag = " Jarmo";174 Illu.Tag = "Illu"; 172 175 Illu.Mass = 10.0; 173 176 Add(Illu, 3); … … 210 213 211 214 } 215 void rajaytaIllu(PhysicsObject Illu, Image kuva, int pMax) 216 { 217 218 ExplosionSystem rajahdys = new ExplosionSystem(kuva, pMax); 219 rajahdys.Position = Illu.Position; 220 221 Add(rajahdys); 222 rajahdys.AddEffect(Illu.X, Illu.Y, pMax); 223 224 } 225 void TormaaIllu(PhysicsObject hahmo, PhysicsObject Illu) 226 { 227 hahmo.Destroy(); 228 MessageDisplay.Add("YOU WEREN'T EXPECTING ME M8 ILLUMINATI IS REAL, WE ARE SUPERIOR"); 229 rajaytaIllu(Illu, LoadImage("Illu"), 1000); 230 Timer.SingleShot(3.0, LataaKentta); 231 232 } 233 212 234 void Pelaaja1Tormasi(PhysicsObject pelaaja1, PhysicsObject Jarmo) 213 235 { -
2015/24/TomasC/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1.csproj.Debug.cachefile
r5993 r6010 12 12 Content\maali.xnb 13 13 Content\Illu.xnb 14 Content\Kentta1.png 14 Content\kentta3.xnb 15 Content\kentta1.png -
2015/24/TomasC/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1/obj/x86/Debug/ContentPipeline-{B88964E3-D150-4A29-8542-EAE6F8D61D58}.xml
r5993 r6010 72 72 <Options>None</Options> 73 73 <Output>C:\MyTemp\TomasC\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\Kentta1.xnb</Output> 74 <Time>2015-06-1 0T13:43:47.6705671+03:00</Time>74 <Time>2015-06-11T10:26:31.571973+03:00</Time> 75 75 </Item> 76 76 <Item> … … 81 81 <Options>None</Options> 82 82 <Output>C:\MyTemp\TomasC\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\kentta2.xnb</Output> 83 <Time>2015-06-1 0T12:39:09.8255402+03:00</Time>83 <Time>2015-06-11T10:22:03.818773+03:00</Time> 84 84 </Item> 85 85 <Item> … … 117 117 <Options>None</Options> 118 118 <Output>C:\MyTemp\TomasC\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\Illu.xnb</Output> 119 <Time>2015-06-10T13:22:46.1706627+03:00</Time> 119 <Time>2015-06-11T09:15:22.279173+03:00</Time> 120 </Item> 121 <Item> 122 <Source>kentta3.png</Source> 123 <Name>kentta3</Name> 124 <Importer>TextureImporter</Importer> 125 <Processor>TextureProcessor</Processor> 126 <Options>None</Options> 127 <Output>C:\MyTemp\TomasC\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\kentta3.xnb</Output> 128 <Time>2015-06-11T10:07:44.676373+03:00</Time> 120 129 </Item> 121 130 <BuildSuccessful>true</BuildSuccessful> -
2015/24/TomasC/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1/obj/x86/Debug/Tasohyppelypeli1.csproj.FileListAbsolute.txt
r5993 r6010 21 21 C:\MyTemp\TomasC\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\aali.xnb 22 22 C:\MyTemp\TomasC\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\Illu.xnb 23 C:\MyTemp\TomasC\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\kentta3.xnb -
2015/24/TomasC/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1/obj/x86/Debug/cachefile-{B88964E3-D150-4A29-8542-EAE6F8D61D58}-targetpath.txt
r5993 r6010 12 12 Content\maali.xnb 13 13 Content\Illu.xnb 14 Content\Kentta1.png 14 Content\kentta3.xnb 15 Content\kentta1.png -
2015/24/TomasC/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1Content/Tasohyppelypeli1Content.contentproj
r5993 r6010 98 98 </ItemGroup> 99 99 <ItemGroup> 100 <Compile Include=" Kentta1.png">101 <Name> Kentta1</Name>100 <Compile Include="kentta1.png"> 101 <Name>kentta1</Name> 102 102 <Importer>TextureImporter</Importer> 103 103 <Processor>TextureProcessor</Processor> … … 133 133 </Compile> 134 134 </ItemGroup> 135 <ItemGroup> 136 <Compile Include="kentta3.png"> 137 <Name>kentta3</Name> 138 <Importer>TextureImporter</Importer> 139 <Processor>TextureProcessor</Processor> 140 </Compile> 141 </ItemGroup> 135 142 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 136 143 <!-- 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.