Changeset 1812


Ignore:
Timestamp:
2011-06-09 13:34:42 (12 years ago)
Author:
tueesuih
Message:
 
Location:
2011/23/tueesuih/Barricade
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 2011/23/tueesuih/Barricade/Barricade.cs

    r1806 r1812  
    1717    Image barricade = LoadImage("Barricade alus"); 
    1818    Image otsikkoKuva = LoadImage("Barricade text"); 
     19    Image barricadeseina = LoadImage("Barricadeseinä"); 
    1920 
    2021    PhysicsObject alus; 
     
    4344        alus.Restitution = 1.0; 
    4445        alus.X = -250; 
    45         alus.Y = -38000; 
     46        alus.Y = -57000; 
    4647        AddCollisionHandler(alus, Tormays); 
    4748        alus.Image = barricade; 
     
    119120            PhysicsObject palikka = PhysicsObject.CreateStaticObject(550, 1000); 
    120121            palikka.Shape = Shape.Rectangle; 
     122            palikka.Image = LoadImage("Barricadeseinä"); 
    121123            palikka.Color = Color.Black; 
    122124            return palikka; 
     
    159161        valikonKohdat.Add(kohta1); 
    160162 
    161         Label kohta3 = new Label("HIGH SCORES"); 
    162         kohta3.Position = new Vector(0, -40); 
    163         valikonKohdat.Add(kohta3); 
     163        Label kohta2 = new Label("EXIT"); 
     164        kohta2.Position = new Vector(0, -40); 
     165        valikonKohdat.Add(kohta2); 
    164166        Level.BackgroundColor = Color.Black; 
    165167 
    166         Label kohta2 = new Label("EXIT"); 
    167         kohta2.Position = new Vector(0, -120); 
    168         valikonKohdat.Add(kohta2); 
     168 
    169169 
    170170 
  • 2011/23/tueesuih/Barricade/FysiikkaPeli2Content/FysiikkaPeli2Content.contentproj

    r1801 r1812  
    7777    </Compile> 
    7878  </ItemGroup> 
     79  <ItemGroup> 
     80    <Compile Include="Barricadeseinä.png"> 
     81      <Name>Barricadeseinä</Name> 
     82      <Importer>TextureImporter</Importer> 
     83      <Processor>TextureProcessor</Processor> 
     84    </Compile> 
     85  </ItemGroup> 
    7986  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    8087  <!--  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  
    11*                        * 
     2*                        * 
     3*                        * 
     4*==========    ==========* 
     5*==========    ==========* 
     6*==========    ==========* 
     7*====== == = ==== =======* 
     8* = === = == == === = ===* 
     9*== = == ===    === = ===* 
     10* = === ======  == === ==* 
     11*= = = = = = = = = = = = * 
     12*=== === === === === === * 
     13*= === = = == ==  = = ===* 
     14*== === = = = =  = == = =* 
     15*== = = = ==  == === = = * 
     16*==  == ==== === ===  ===* 
     17*===  ===  == =====  ====* 
     18*====  =  === = ===  ====* 
     19*======  =========  =====* 
     20*                        * 
    221*            ==          * 
    322*============  ==========* 
Note: See TracChangeset for help on using the changeset viewer.