- Timestamp:
- 2011-06-09 13:34:42 (12 years ago)
- Location:
- 2011/23/tueesuih/Barricade
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/23/tueesuih/Barricade/Barricade.cs
r1806 r1812 17 17 Image barricade = LoadImage("Barricade alus"); 18 18 Image otsikkoKuva = LoadImage("Barricade text"); 19 Image barricadeseina = LoadImage("Barricadeseinä"); 19 20 20 21 PhysicsObject alus; … … 43 44 alus.Restitution = 1.0; 44 45 alus.X = -250; 45 alus.Y = - 38000;46 alus.Y = -57000; 46 47 AddCollisionHandler(alus, Tormays); 47 48 alus.Image = barricade; … … 119 120 PhysicsObject palikka = PhysicsObject.CreateStaticObject(550, 1000); 120 121 palikka.Shape = Shape.Rectangle; 122 palikka.Image = LoadImage("Barricadeseinä"); 121 123 palikka.Color = Color.Black; 122 124 return palikka; … … 159 161 valikonKohdat.Add(kohta1); 160 162 161 Label kohta 3 = new Label("HIGH SCORES");162 kohta 3.Position = new Vector(0, -40);163 valikonKohdat.Add(kohta 3);163 Label kohta2 = new Label("EXIT"); 164 kohta2.Position = new Vector(0, -40); 165 valikonKohdat.Add(kohta2); 164 166 Level.BackgroundColor = Color.Black; 165 167 166 Label kohta2 = new Label("EXIT"); 167 kohta2.Position = new Vector(0, -120); 168 valikonKohdat.Add(kohta2); 168 169 169 170 170 -
2011/23/tueesuih/Barricade/FysiikkaPeli2Content/FysiikkaPeli2Content.contentproj
r1801 r1812 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> 79 86 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 80 87 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
2011/23/tueesuih/Barricade/kentta.txt
r1801 r1812 1 1 * * 2 * * 3 * * 4 *========== ==========* 5 *========== ==========* 6 *========== ==========* 7 *====== == = ==== =======* 8 * = === = == == === = ===* 9 *== = == === === = ===* 10 * = === ====== == === ==* 11 *= = = = = = = = = = = = * 12 *=== === === === === === * 13 *= === = = == == = = ===* 14 *== === = = = = = == = =* 15 *== = = = == == === = = * 16 *== == ==== === === ===* 17 *=== === == ===== ====* 18 *==== = === = === ====* 19 *====== ========= =====* 20 * * 2 21 * == * 3 22 *============ ==========*
Note: See TracChangeset
for help on using the changeset viewer.