Changeset 8770 for 2017


Ignore:
Timestamp:
2017-06-16 11:12:47 (2 years ago)
Author:
npo17_16
Message:
 
Location:
2017/24/IlariI
Files:
1 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • 2017/24/IlariI/piXgel GAmE/piXgel GAmE/piXgel GAmEContent/piXgel GAmEContent.contentproj

    r8763 r8770  
    123123    </Compile> 
    124124  </ItemGroup> 
     125  <ItemGroup> 
     126    <Compile Include="olioruumis.png"> 
     127      <Name>olioruumis</Name> 
     128      <Importer>TextureImporter</Importer> 
     129      <Processor>TextureProcessor</Processor> 
     130    </Compile> 
     131  </ItemGroup> 
    125132  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    126133  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2017/24/IlariI/piXgel GAmE/piXgel GAmE/piXgel_GAmE

    • Property svn:global-ignores set to
      bin
    • Property svn:ignore set to
      *.cachefile
  • 2017/24/IlariI/piXgel GAmE/piXgel GAmE/piXgel_GAmE/obj/x86

    • Property svn:global-ignores set to
      Debug
  • 2017/24/IlariI/piXgel GAmE/piXgel GAmE/piXgel_GAmE/piXgel_GAmE.cs

    r8769 r8770  
    1616    Image hahmonkuvaoikealle = LoadImage("hahmooikealle"); 
    1717    Image vihollinenkuva = LoadImage("vihollinen"); 
     18    Image olioruumis = LoadImage("olioruumis"); 
    1819 
    1920    Image[] hahmonKavely = LoadImages("hahmo", "hahmo2"); 
     
    180181        vihollinen3.Image = vihollinenkuva; 
    181182        FollowerBrain seuraajanAivot3 = new FollowerBrain(hahmo); 
     183 
    182184 
    183185 
     
    225227        //Level.CreateBorders(1.0, true); 
    226228 
    227         Level.Background.Color = Color.Aqua; 
     229        Level.Background.Color = Color.Gray; 
    228230        Camera.Follow(hahmo); 
    229         Camera.Zoom(2.0); 
     231        Camera.Zoom(1.5); 
     232        Image background = LoadImage ("areena"); 
     233        Level.Background.Image = background; 
     234        Level.Background.FitToLevel(); 
    230235 
    231236 
     
    237242        if (kohde.Tag.Equals("vihu")) 
    238243        { 
    239             kohde.Destroy(); 
     244            kohde.Image = olioruumis; 
     245            kohde.Brain.Active = false; 
     246            Timer.SingleShot(1.0, delegate 
     247            { 
     248                
     249                kohde.Destroy(); 
     250            }); 
     251             
    240252        } 
    241253         
Note: See TracChangeset for help on using the changeset viewer.