- Timestamp:
- 2011-06-30 14:35:00 (12 years ago)
- Location:
- 2011/26/JimiL/Pelit/pelit22/world of Chuckland fix fix
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/26/JimiL/Pelit/pelit22/world of Chuckland fix fix/world of Chuckland fix fix/Peli.cs
r2357 r2365 22 22 23 23 GameObject heppu; 24 Image paikallaanvasemmalle1 = LoadImage("heppuleft1"); 25 Image paikallaanoikelle1 = LoadImage("heppu"); 26 27 Image[] kavelyvasemmalle1 = LoadImages("heppuleft1", "heppuleft2", "heppuleft3"); 28 Image[] kavelyoikelle1; 29 24 30 Image paikallaanvasemmalle = LoadImage("hahmo"); 25 31 Image paikallaanoikelle = LoadImage("hahmo"); … … 48 54 public override void Begin() 49 55 { 50 51 56 paikallaanoikelle = Image.Mirror(paikallaanvasemmalle); 52 57 kavelyvasemmalle = Image.Mirror(kavelyoikelle); 53 54 55 58 59 paikallaanoikelle1 = Image.Mirror(paikallaanvasemmalle1); 60 kavelyoikelle1 = Image.Mirror(kavelyvasemmalle1); 61 56 62 57 63 … … 98 104 RandomMoverBrain Satunnaisaivot = new RandomMoverBrain(10000); 99 105 106 107 108 100 109 PhysicsObject lisaakoivu() 101 110 { … … 199 208 heppu.Tag = "heppu"; 200 209 heppu.Image = heppukuva; 210 heppu.LeftIdleAnimation = new Animation(paikallaanvasemmalle1); 211 heppu.RightIdleAnimation = new Animation(paikallaanoikelle1); 212 213 heppu.LeftWalkingAnimation = new Animation(kavelyvasemmalle1); 214 heppu.RightWalkingAnimation = new Animation(kavelyoikelle1); 201 215 Add(heppu); 202 216 return heppu; … … 220 234 return pelaaja1; 221 235 222 } 223 224 236 237 238 239 } 240 241 242 243 225 244 void lisaaNappaimet() 226 245 { … … 261 280 pelaaja.Destroy(); 262 281 282 283 263 284 264 285 -
2011/26/JimiL/Pelit/pelit22/world of Chuckland fix fix/world of Chuckland fix fixContent/world of Chuckland fix fixContent.contentproj
r2317 r2365 185 185 </Compile> 186 186 </ItemGroup> 187 <ItemGroup> 188 <Compile Include="heppuleft1.bmp"> 189 <Name>heppuleft1</Name> 190 <Importer>TextureImporter</Importer> 191 <Processor>TextureProcessor</Processor> 192 </Compile> 193 </ItemGroup> 194 <ItemGroup> 195 <Compile Include="heppuleft2.bmp"> 196 <Name>heppuleft2</Name> 197 <Importer>TextureImporter</Importer> 198 <Processor>TextureProcessor</Processor> 199 </Compile> 200 </ItemGroup> 201 <ItemGroup> 202 <Compile Include="heppuleft3.bmp"> 203 <Name>heppuleft3</Name> 204 <Importer>TextureImporter</Importer> 205 <Processor>TextureProcessor</Processor> 206 </Compile> 207 </ItemGroup> 187 208 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 188 209 <!-- 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.