Changeset 6460


Ignore:
Timestamp:
2015-06-26 12:13:52 (4 years ago)
Author:
frmaenpa
Message:
 
Location:
2015/26/FransM/Pixels
Files:
1 added
12 edited

Legend:

Unmodified
Added
Removed
  • 2015/26/FransM/Pixels/Pixels/Pixels/Pixels.cs

    r6448 r6460  
    2626    Image plutoniumkuva = LoadImage("plutonium"); 
    2727    Image kukkakuva = LoadImage("Kukka"); 
    28     Image seinakuva2 = LoadImage(""); 
     28    Image seinakuva2 = LoadImage("seinä2"); 
    2929 
    3030    Inventory inventory; 
    31   
     31 
    3232    public override void Begin() 
    3333    { 
    3434        LuoKentta(); 
    35       
     35 
    3636        SmoothTextures = false; 
    3737 
    3838        inventory = new Inventory(); 
    39         inventory.Left = Screen.Left+ 100; 
     39        inventory.Left = Screen.Left + 100; 
    4040        Add(inventory); 
    4141 
     
    7272        IsMouseVisible = true; 
    7373        Camera.StayInLevel = true; 
    74         Mouse.ListenMovement(0.0, delegate(AnalogState h) { 
     74        Mouse.ListenMovement(0.0, delegate(AnalogState h) 
     75        { 
    7576            if (Mouse.PositionOnScreen.Y > Screen.Top - 100) 
    7677            { 
     
    8283            } 
    8384        }, ""); 
    84          
     85 
    8586        IsFullScreen = true; 
    8687    } 
     
    9394            EsineLuoja(paikka, "TNT"); 
    9495        } 
    95         else if (arpa <= 70)  
     96        else if (arpa <= 70) 
    9697        { 
    9798            EsineLuoja(paikka, "plutonium"); 
     
    101102            EsineLuoja(paikka, "Kukka"); 
    102103        } 
    103         
     104 
    104105 
    105106    } 
     
    127128            } 
    128129 
    129       
     130 
    130131        } 
    131132 
     
    219220 
    220221    void LuoTaso6(Vector paikka, double leveys, double korkeus) 
    221  
    222222    { 
    223223        PhysicsObject taso6 = PhysicsObject.CreateStaticObject(leveys, korkeus); 
     
    252252    } 
    253253 
    254     void LuoTaso9(Vector paikka, double leveys, double korkeus)  
     254    void LuoTaso9(Vector paikka, double leveys, double korkeus) 
    255255    { 
    256256        PhysicsObject taso9 = PhysicsObject.CreateStaticObject(leveys, korkeus); 
     257        taso9.IgnoresExplosions = true; 
    257258        taso9.Position = paikka; 
    258         taso9.Image = kivi3kuva; 
     259        taso9.Image = seinakuva2; 
    259260        taso9.CollisionIgnoreGroup = 1; 
    260261        Add(taso9); 
    261     } 
    262  
     262 
     263 
     264    } 
    263265} 
    264266 
  • 2015/26/FransM/Pixels/Pixels/Pixels/Pixels.csproj.Debug.cachefile

    r6448 r6460  
    1515Content\Kivi3.xnb 
    1616Content\Kukka.xnb 
     17Content\seinÀ2.xnb 
    1718Content\CaveMusicX.wma 
  • 2015/26/FransM/Pixels/Pixels/Pixels/obj/x86/Debug/ContentPipeline-{23DE9823-17E1-4AFC-BB04-6AA018C329F7}.xml

    r6448 r6460  
    108108      <Options>None</Options> 
    109109      <Output>C:\MyTemp\FransM\Pixels\Pixels\Pixels\bin\x86\Debug\Content\Alin.xnb</Output> 
    110       <Time>2015-06-24T14:25:49.5664991+03:00</Time> 
     110      <Time>2015-06-26T12:06:21.3814332+03:00</Time> 
    111111    </Item> 
    112112    <Item> 
     
    146146      <Output>C:\MyTemp\FransM\Pixels\Pixels\Pixels\bin\x86\Debug\Content\Kukka.xnb</Output> 
    147147      <Time>2015-06-26T11:11:34.598157+03:00</Time> 
     148    </Item> 
     149    <Item> 
     150      <Source>seinä2.png</Source> 
     151      <Name>seinä2</Name> 
     152      <Importer>TextureImporter</Importer> 
     153      <Processor>TextureProcessor</Processor> 
     154      <Options>None</Options> 
     155      <Output>C:\MyTemp\FransM\Pixels\Pixels\Pixels\bin\x86\Debug\Content\seinä2.xnb</Output> 
     156      <Time>2015-06-26T12:04:56.3586193+03:00</Time> 
    148157    </Item> 
    149158    <BuildSuccessful>true</BuildSuccessful> 
  • 2015/26/FransM/Pixels/Pixels/Pixels/obj/x86/Debug/Pixels.csproj.FileListAbsolute.txt

    r6448 r6460  
    2424C:\MyTemp\FransM\Pixels\Pixels\Pixels\bin\x86\Debug\Content\Kivi3.xnb 
    2525C:\MyTemp\FransM\Pixels\Pixels\Pixels\bin\x86\Debug\Content\Kukka.xnb 
     26C:\MyTemp\FransM\Pixels\Pixels\Pixels\bin\x86\Debug\Content\seinÀ2.xnb 
  • 2015/26/FransM/Pixels/Pixels/Pixels/obj/x86/Debug/cachefile-{23DE9823-17E1-4AFC-BB04-6AA018C329F7}-targetpath.txt

    r6448 r6460  
    1616Content\Kivi3.xnb 
    1717Content\Kukka.xnb 
     18Content\seinÀ2.xnb 
  • 2015/26/FransM/Pixels/Pixels/PixelsContent/PixelsContent.contentproj

    r6448 r6460  
    157157    </Compile> 
    158158  </ItemGroup> 
     159  <ItemGroup> 
     160    <Compile Include="seinä2.png"> 
     161      <Name>seinä2</Name> 
     162      <Importer>TextureImporter</Importer> 
     163      <Processor>TextureProcessor</Processor> 
     164    </Compile> 
     165  </ItemGroup> 
    159166  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    160167  <!--  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.