Changeset 2149 for 2011/26/tekrjant
- Timestamp:
- 2011-06-23 09:53:22 (11 years ago)
- Location:
- 2011/26/tekrjant/TestiPeli/TestiPeli
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/26/tekrjant/TestiPeli/TestiPeli/TestiPeli/Peli.cs
r2148 r2149 11 11 public override void Begin() 12 12 { 13 // TODO: Kirjoita ohjelmakoodisi tähän 13 Gravity = new Vector(0, -1000); 14 15 PhysicsObject norsupallo = new PhysicsObject(50, 50, Shape.Circle); 16 norsupallo.Image = LoadImage("norsu"); 17 norsupallo.Y = Level.Top - 25; 18 Add(norsupallo); 19 20 Level.CreateBorders(); 14 21 } 15 22 } -
2011/26/tekrjant/TestiPeli/TestiPeli/TestiPeliContent/TestiPeliContent.contentproj
r2148 r2149 42 42 </Reference> 43 43 </ItemGroup> 44 <ItemGroup> 45 <Compile Include="norsu.png"> 46 <Name>norsu</Name> 47 <Importer>TextureImporter</Importer> 48 <Processor>TextureProcessor</Processor> 49 </Compile> 50 </ItemGroup> 44 51 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 45 52 <!-- 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.