- Timestamp:
- 2011-06-29 10:54:58 (12 years ago)
- Location:
- 2011/26/JimiL/Pelit/pelit22/world of Chuckland fix fix
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/26/JimiL/Pelit/pelit22/world of Chuckland fix fix/world of Chuckland fix fix/Peli.cs
r2256 r2260 22 22 Image metalliKuva = LoadImage("metalli"); 23 23 Image lehtiKuva = LoadImage("lehti"); 24 Image vesiKuva = LoadImage("vesi"); 25 24 26 25 27 … … 58 60 { 59 61 PhysicsObject metalli = PhysicsObject.CreateStaticObject(50, 50); 62 metalli.Image = metalliKuva; 63 metalli.Tag = "metalli"; 60 64 65 Add(metalli); 61 66 return metalli; 62 67 } … … 65 70 { 66 71 PhysicsObject vesi = PhysicsObject.CreateStaticObject(50, 50); 67 72 vesi.Image = vesiKuva; 73 vesi.Tag = "vesi"; 74 75 Add(vesi); 68 76 return vesi; 69 77 } … … 72 80 { 73 81 PhysicsObject lehti = PhysicsObject.CreateStaticObject(50, 50); 82 lehti.Image = lehtiKuva; 83 lehti.Tag = "lehti"; 74 84 85 Add(lehti); 75 86 return lehti; 76 87 } … … 78 89 { 79 90 PhysicsObject puu = PhysicsObject.CreateStaticObject(50, 50); 91 puu.Image = puuKuva; 92 puu.Tag = "puu"; 80 93 94 Add(puu); 81 95 return puu; 82 96 } … … 84 98 { 85 99 PhysicsObject kivi = PhysicsObject.CreateStaticObject(50, 50); 86 100 kivi.Image = kiviKuva; 101 kivi.Tag = "kivi"; 102 Add(kivi); 87 103 return kivi; 88 104 } … … 90 106 { 91 107 PhysicsObject maa = PhysicsObject.CreateStaticObject(50, 50); 92 108 maa.Image = maaKuva; 109 maa.Tag = "maa"; 110 Add(maa); 111 93 112 return maa; 94 113 } -
2011/26/JimiL/Pelit/pelit22/world of Chuckland fix fix/world of Chuckland fix fixContent/world of Chuckland fix fixContent.contentproj
r2228 r2260 59 59 </Compile> 60 60 </ItemGroup> 61 <ItemGroup> 62 <Compile Include="hiekka.png"> 63 <Name>hiekka</Name> 64 <Importer>TextureImporter</Importer> 65 <Processor>TextureProcessor</Processor> 66 </Compile> 67 <Compile Include="jaa.png"> 68 <Name>jaa</Name> 69 <Importer>TextureImporter</Importer> 70 <Processor>TextureProcessor</Processor> 71 </Compile> 72 <Compile Include="kivi.png"> 73 <Name>kivi</Name> 74 <Importer>TextureImporter</Importer> 75 <Processor>TextureProcessor</Processor> 76 </Compile> 77 <Compile Include="koivu.png"> 78 <Name>koivu</Name> 79 <Importer>TextureImporter</Importer> 80 <Processor>TextureProcessor</Processor> 81 </Compile> 82 <Compile Include="kulta.png"> 83 <Name>kulta</Name> 84 <Importer>TextureImporter</Importer> 85 <Processor>TextureProcessor</Processor> 86 </Compile> 87 <Compile Include="lankku.png"> 88 <Name>lankku</Name> 89 <Importer>TextureImporter</Importer> 90 <Processor>TextureProcessor</Processor> 91 </Compile> 92 <Compile Include="lehti.png"> 93 <Name>lehti</Name> 94 <Importer>TextureImporter</Importer> 95 <Processor>TextureProcessor</Processor> 96 </Compile> 97 <Compile Include="lumi.png"> 98 <Name>lumi</Name> 99 <Importer>TextureImporter</Importer> 100 <Processor>TextureProcessor</Processor> 101 </Compile> 102 <Compile Include="maa.png"> 103 <Name>maa</Name> 104 <Importer>TextureImporter</Importer> 105 <Processor>TextureProcessor</Processor> 106 </Compile> 107 <Compile Include="metalli.png"> 108 <Name>metalli</Name> 109 <Importer>TextureImporter</Importer> 110 <Processor>TextureProcessor</Processor> 111 </Compile> 112 <Compile Include="puu.png"> 113 <Name>puu</Name> 114 <Importer>TextureImporter</Importer> 115 <Processor>TextureProcessor</Processor> 116 </Compile> 117 <Compile Include="ruoho.png"> 118 <Name>ruoho</Name> 119 <Importer>TextureImporter</Importer> 120 <Processor>TextureProcessor</Processor> 121 </Compile> 122 <Compile Include="tiili.png"> 123 <Name>tiili</Name> 124 <Importer>TextureImporter</Importer> 125 <Processor>TextureProcessor</Processor> 126 </Compile> 127 <Compile Include="tnt.png"> 128 <Name>tnt</Name> 129 <Importer>TextureImporter</Importer> 130 <Processor>TextureProcessor</Processor> 131 </Compile> 132 <Compile Include="vesi.png"> 133 <Name>vesi</Name> 134 <Importer>TextureImporter</Importer> 135 <Processor>TextureProcessor</Processor> 136 </Compile> 137 </ItemGroup> 61 138 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 62 139 <!-- 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.