- Timestamp:
- 2011-06-10 09:38:28 (12 years ago)
- Location:
- 2011/23/tueesuih/Barricade
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/23/tueesuih/Barricade/Barricade.cs
r1846 r1849 20 20 Image barricade = LoadImage("Barricade alus"); 21 21 Image otsikkoKuva = LoadImage("Barricade text"); 22 Image barricadeseina = LoadImage("Barricadeseinä");23 22 24 23 PhysicsObject alus; 25 24 26 25 List<Label> valikonKohdat; 27 28 PhysicsObject palikka;29 30 PhysicsObject palikka2;31 26 32 27 public override void Begin() … … 135 130 PhysicsObject palikka = PhysicsObject.CreateStaticObject(550, 1000); 136 131 palikka.Shape = Shape.Rectangle; 137 palikka.Image = LoadImage("Barricadeseinä");138 132 palikka.Color = Color.Black; 139 133 return palikka; … … 177 171 178 172 Label kohta2 = new Label("EXIT"); 179 kohta2.Position = new Vector(0, - 40);173 kohta2.Position = new Vector(0, -120); 180 174 valikonKohdat.Add(kohta2); 181 175 Level.BackgroundColor = Color.Black; 176 177 Label kohta3 = new Label("HIGH SCORES"); 178 kohta3.Position = new Vector(0, -40); 179 valikonKohdat.Add(kohta3); 182 180 183 181 -
2011/23/tueesuih/Barricade/FysiikkaPeli2Content/FysiikkaPeli2Content.contentproj
r1812 r1849 77 77 </Compile> 78 78 </ItemGroup> 79 <ItemGroup>80 <Compile Include="Barricadeseinä.png">81 <Name>Barricadeseinä</Name>82 <Importer>TextureImporter</Importer>83 <Processor>TextureProcessor</Processor>84 </Compile>85 </ItemGroup>86 79 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 87 80 <!-- 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.