- Timestamp:
- 2016-06-09 19:04:14 (7 years ago)
- Location:
- 2016/23/ohjaajat/Punasininen/Punasininen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2016/23/ohjaajat/Punasininen/Punasininen/Punasininen/Punasininen.cs
r7215 r7216 30 30 Color redColor = Color.FromHexCode("FABE1A"); 31 31 32 private Image cratePic = LoadImage("weaponcrate"); 32 33 private Image bluePistolpic = LoadImage("bluegun"); 33 34 private Image orangePistolpic = LoadImage("orangegun"); … … 149 150 WeaponCrate crate = new WeaponCrate(width, height); 150 151 crate.Position = place; 151 crate.Color = Color.DarkGray; 152 crate.Image = cratePic; 153 crate.IgnoresCollisionResponse = true; 154 crate.MakeStatic(); 152 155 Add(crate); 156 157 crate.Oscillate(Vector.UnitY, 10, 0.4); 153 158 } 154 159 -
2016/23/ohjaajat/Punasininen/Punasininen/PunasininenContent/PunasininenContent.contentproj
r7213 r7216 392 392 </Compile> 393 393 </ItemGroup> 394 <ItemGroup> 395 <Compile Include="weaponcrate.png"> 396 <Name>weaponcrate</Name> 397 <Importer>TextureImporter</Importer> 398 <Processor>TextureProcessor</Processor> 399 </Compile> 400 </ItemGroup> 394 401 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 395 402 <!-- 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.