Changeset 2152 for 2011/26/tekrjant
- Timestamp:
- 2011-06-23 10:37:47 (11 years ago)
- Location:
- 2011/26/tekrjant/TestiPeli/TestiPeli
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/26/tekrjant/TestiPeli/TestiPeli/TestiPeli/Peli.cs
r2149 r2152 13 13 Gravity = new Vector(0, -1000); 14 14 15 PhysicsObject norsupallo = new PhysicsObject(50, 50, Shape.Circle); 16 norsupallo.Image = LoadImage("norsu"); 17 norsupallo.Y = Level.Top - 25; 18 Add(norsupallo); 15 for (int i = 0; i < 20; i++) 16 { 17 PhysicsObject norsupallo = new PhysicsObject(50, 50, Shape.Circle); 18 norsupallo.Image = LoadImage("norsu"); 19 norsupallo.X = RandomGen.NextDouble(Level.Left + 25, Level.Right - 25); 20 norsupallo.Y = Level.Top - 25; 21 Add(norsupallo); 22 } 19 23 20 24 Level.CreateBorders(); -
2011/26/tekrjant/TestiPeli/TestiPeli/TestiPeli/TestiPeli.csproj
r2148 r2152 118 118 <Content Include="Game.ico" /> 119 119 <Content Include="GameThumbnail.png" /> 120 <Content Include="tiedosto.txt" /> 121 <Content Include="tiedosto2.txt" /> 120 122 </ItemGroup> 121 123 <ItemGroup> -
2011/26/tekrjant/TestiPeli/TestiPeli/TestiPeliContent/TestiPeliContent.contentproj
r2149 r2152 49 49 </Compile> 50 50 </ItemGroup> 51 <ItemGroup> 52 <Compile Include="norsu4testing.png"> 53 <Name>norsu4testing</Name> 54 <Importer>TextureImporter</Importer> 55 <Processor>TextureProcessor</Processor> 56 </Compile> 57 </ItemGroup> 51 58 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 52 59 <!-- 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.