Changeset 8991 for 2017


Ignore:
Timestamp:
2017-07-07 11:35:29 (2 years ago)
Author:
npo17_42
Message:

Peli valmis, taas.

Location:
2017/27/OskariK/OK
Files:
4 added
3 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • 2017/27/OskariK/OK/OK/OK/OK.cs

    r8990 r8991  
    1111    GameObject command; //UI-ruutu, jossa pelikomennot 
    1212    GameObject feed; //UI-ruutu, johon tulee combat log 
     13    GameObject tappio; //ruutu, joka ilmaantuu pelaajan hävitessä 
     14 
    1315    GameObject portrait; //ruutu, jossa pelihahmon HP ja kauniit kasvot 
    14     GameObject tappio; //ruutu, joka ilmaantuu pelaajan hävitessä 
     16    GameObject portrait2; //ruutu, jossa pelihahmon HP ja kärsineet kasvot 
     17    GameObject portrait3; //ruutu, jossa pelihahmon vähäinen HP ja erittäin kärsineet kasvot 
    1518 
    1619    GameObject foe1; //ruutu, jossa pahis 1 
     
    102105        Add(portrait); 
    103106 
     107        portrait2 = new GameObject(250.00, 300.00); 
     108        portrait2.Shape = Shape.Rectangle; 
     109        portrait2.Color = Color.Black; 
     110        portrait2.X = 750.00; 
     111        portrait2.Y = -330.00; 
     112        portrait2.Image = LoadImage("Portrettisaiturpiin"); 
     113 
     114        portrait3 = new GameObject(250.00, 300.00); 
     115        portrait3.Shape = Shape.Rectangle; 
     116        portrait3.Color = Color.Black; 
     117        portrait3.X = 750.00; 
     118        portrait3.Y = -330.00; 
     119        portrait3.Image = LoadImage("Portrettisaipahastiturpiin"); 
     120 
    104121        foe1 = new GameObject(1800.00, 700.00); 
    105122        foe1.Shape = Shape.Rectangle; 
     
    113130    PhysicsObject luopelaaja() 
    114131    { 
     132 
    115133        Pointer = new PhysicsObject(5.0, 5.0); 
    116134        Pointer.Color = Color.White; 
     
    120138        Pointer.IgnoresExplosions = true; 
    121139        return Pointer; 
     140 
    122141    } 
    123142 
     
    151170        skeleHP = new IntMeter(40); 
    152171 
    153  
     172        if (HP.Value < 35) Add(portrait2, 1); 
     173        if (HP.Value < 11) Add(portrait3, 2); 
    154174 
    155175 
  • 2017/27/OskariK/OK/OK/OK/OK.csproj.Debug.cachefile

    r8990 r8991  
    1515Content\potion.xnb 
    1616Content\eipysty.xnb 
     17Content\portrettisaiturpiin.xnb 
     18Content\portrettisaipahastiturpiin.xnb 
  • 2017/27/OskariK/OK/OK/OK/obj/x86/Debug/ContentPipeline-{FF5F8A32-FAE3-40A4-9505-35D2B1C5DB01}.xml

    r8990 r8991  
    145145      <Output>C:\MyTemp\OskariK\OK\OK\OK\bin\x86\Debug\Content\eipysty.xnb</Output> 
    146146      <Time>2017-07-07T11:11:19.75973+03:00</Time> 
     147    </Item> 
     148    <Item> 
     149      <Source>portrettisaiturpiin.png</Source> 
     150      <Name>portrettisaiturpiin</Name> 
     151      <Importer>TextureImporter</Importer> 
     152      <Processor>TextureProcessor</Processor> 
     153      <Options>None</Options> 
     154      <Output>C:\MyTemp\OskariK\OK\OK\OK\bin\x86\Debug\Content\portrettisaiturpiin.xnb</Output> 
     155      <Time>2017-07-07T11:17:02.7827561+03:00</Time> 
     156    </Item> 
     157    <Item> 
     158      <Source>portrettisaipahastiturpiin.png</Source> 
     159      <Name>portrettisaipahastiturpiin</Name> 
     160      <Importer>TextureImporter</Importer> 
     161      <Processor>TextureProcessor</Processor> 
     162      <Options>None</Options> 
     163      <Output>C:\MyTemp\OskariK\OK\OK\OK\bin\x86\Debug\Content\portrettisaipahastiturpiin.xnb</Output> 
     164      <Time>2017-07-07T11:20:30.4516586+03:00</Time> 
    147165    </Item> 
    148166    <BuildSuccessful>true</BuildSuccessful> 
  • 2017/27/OskariK/OK/OK/OK/obj/x86/Debug/OK.csproj.FileListAbsolute.txt

    r8990 r8991  
    2323C:\MyTemp\OskariK\OK\OK\OK\bin\x86\Debug\Content\potion.xnb 
    2424C:\MyTemp\OskariK\OK\OK\OK\bin\x86\Debug\Content\eipysty.xnb 
     25C:\MyTemp\OskariK\OK\OK\OK\bin\x86\Debug\Content\portrettisaiturpiin.xnb 
     26C:\MyTemp\OskariK\OK\OK\OK\bin\x86\Debug\Content\portrettisaipahastiturpiin.xnb 
  • 2017/27/OskariK/OK/OK/OK/obj/x86/Debug/cachefile-{FF5F8A32-FAE3-40A4-9505-35D2B1C5DB01}-targetpath.txt

    r8990 r8991  
    1515Content\potion.xnb 
    1616Content\eipysty.xnb 
     17Content\portrettisaiturpiin.xnb 
     18Content\portrettisaipahastiturpiin.xnb 
  • 2017/27/OskariK/OK/OK/OKContent/OKContent.contentproj

    r8990 r8991  
    158158    </Compile> 
    159159  </ItemGroup> 
     160  <ItemGroup> 
     161    <Compile Include="portrettisaiturpiin.png"> 
     162      <Name>portrettisaiturpiin</Name> 
     163      <Importer>TextureImporter</Importer> 
     164      <Processor>TextureProcessor</Processor> 
     165    </Compile> 
     166  </ItemGroup> 
     167  <ItemGroup> 
     168    <Compile Include="portrettisaipahastiturpiin.png"> 
     169      <Name>portrettisaipahastiturpiin</Name> 
     170      <Importer>TextureImporter</Importer> 
     171      <Processor>TextureProcessor</Processor> 
     172    </Compile> 
     173  </ItemGroup> 
    160174  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    161175  <!--  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.