Changeset 8893 for 2017/27


Ignore:
Timestamp:
2017-07-04 14:59:19 (2 years ago)
Author:
npo17_49
Message:
 
Location:
2017/27/PinjaV/RunAwayFromYourFear
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • 2017/27/PinjaV/RunAwayFromYourFear/RunAwayFromYourFear/RunAwayFromYourFear/RunAwayFromYourFear.cs

    r8849 r8893  
    2222 
    2323    Image[] rubiiniKuvat = LoadImages("timanttipunainen", "timanttilime", "timanttioranssi", "timanttisininen", "timanttivaalee"); 
    24  
     24    Image[] eyeless_jackKuvat = LoadImages("eyeless_jack1", "eyeless_jack2", "eyeless_jack3", "eyeless_jack4"); 
    2525    SoundEffect maaliAani = LoadSoundEffect("maali"); 
    2626 
     
    7676        Ben.Mass = 4.0; 
    7777        Ben.Image = pelaajanKuva; 
     78        if (kenttaNro == 2) 
     79        { 
     80            Ben.AnimWalk = new Animation(eyeless_jackKuvat); 
     81            Ben.AnimWalk.FPS = 10; 
     82            Ben.AnimIdle = new Animation(eyeless_jackKuvat[0]); 
     83        } 
    7884        AddCollisionHandler(Ben, "Link", Ded); 
    7985        Ben.Tag = "Ben"; 
     
    156162        if (rubiiniLaskuri.Value == 5) 
    157163        { 
    158  
     164            kenttaNro++; 
     165            SeuraavaKentta(); 
    159166        } 
    160167    } 
    161168    void SeuraavaKentta() 
    162169    { 
    163  
     170        ClearAll(); 
    164171        if (kenttaNro == 1) LuoKentta("Labyrint1"); 
    165172        else if (kenttaNro == 2) LuoKentta("Labyrint2"); 
     173        LisaaNappaimet(); 
     174        LuoPisteLaskuri(); 
     175        Gravity = new Vector(0, -1000); 
     176        Camera.Follow(Ben, Link); 
     177        Camera.ZoomFactor = 1.2; 
     178        // Camera.StayInLevel = true; 
    166179    } 
    167180} 
  • 2017/27/PinjaV/RunAwayFromYourFear/RunAwayFromYourFear/RunAwayFromYourFear/RunAwayFromYourFear.csproj.Debug.cachefile

    r8849 r8893  
    1111Content\timanttivaalee.xnb 
    1212Content\kentta1.xnb 
     13Content\Labyrint2.xnb 
     14Content\eyeless_jack1.xnb 
     15Content\eyeless_jack2.xnb 
     16Content\eyeless_jack3.xnb 
     17Content\eyeless_jack4.xnb 
  • 2017/27/PinjaV/RunAwayFromYourFear/RunAwayFromYourFear/RunAwayFromYourFear/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r8849 r8893  
    109109      <Output>C:\MyTemp\PinjaV\RunAwayFromYourFear\RunAwayFromYourFear\RunAwayFromYourFear\bin\x86\Debug\Content\kentta1.xnb</Output> 
    110110      <Time>2017-07-03T10:43:49.0223266+03:00</Time> 
     111    </Item> 
     112    <Item> 
     113      <Source>Labyrint2.png</Source> 
     114      <Name>Labyrint2</Name> 
     115      <Importer>TextureImporter</Importer> 
     116      <Processor>TextureProcessor</Processor> 
     117      <Options>None</Options> 
     118      <Output>C:\MyTemp\PinjaV\RunAwayFromYourFear\RunAwayFromYourFear\RunAwayFromYourFear\bin\x86\Debug\Content\Labyrint2.xnb</Output> 
     119      <Time>2017-07-04T11:27:36.8206116+03:00</Time> 
     120    </Item> 
     121    <Item> 
     122      <Source>eyeless_jack1.png</Source> 
     123      <Name>eyeless_jack1</Name> 
     124      <Importer>TextureImporter</Importer> 
     125      <Processor>TextureProcessor</Processor> 
     126      <Options>None</Options> 
     127      <Output>C:\MyTemp\PinjaV\RunAwayFromYourFear\RunAwayFromYourFear\RunAwayFromYourFear\bin\x86\Debug\Content\eyeless_jack1.xnb</Output> 
     128      <Time>2017-07-04T14:39:01.1843317+03:00</Time> 
     129    </Item> 
     130    <Item> 
     131      <Source>eyeless_jack2.png</Source> 
     132      <Name>eyeless_jack2</Name> 
     133      <Importer>TextureImporter</Importer> 
     134      <Processor>TextureProcessor</Processor> 
     135      <Options>None</Options> 
     136      <Output>C:\MyTemp\PinjaV\RunAwayFromYourFear\RunAwayFromYourFear\RunAwayFromYourFear\bin\x86\Debug\Content\eyeless_jack2.xnb</Output> 
     137      <Time>2017-07-04T14:39:01.1843317+03:00</Time> 
     138    </Item> 
     139    <Item> 
     140      <Source>eyeless_jack3.png</Source> 
     141      <Name>eyeless_jack3</Name> 
     142      <Importer>TextureImporter</Importer> 
     143      <Processor>TextureProcessor</Processor> 
     144      <Options>None</Options> 
     145      <Output>C:\MyTemp\PinjaV\RunAwayFromYourFear\RunAwayFromYourFear\RunAwayFromYourFear\bin\x86\Debug\Content\eyeless_jack3.xnb</Output> 
     146      <Time>2017-07-04T14:39:01.1843317+03:00</Time> 
     147    </Item> 
     148    <Item> 
     149      <Source>eyeless_jack4.png</Source> 
     150      <Name>eyeless_jack4</Name> 
     151      <Importer>TextureImporter</Importer> 
     152      <Processor>TextureProcessor</Processor> 
     153      <Options>None</Options> 
     154      <Output>C:\MyTemp\PinjaV\RunAwayFromYourFear\RunAwayFromYourFear\RunAwayFromYourFear\bin\x86\Debug\Content\eyeless_jack4.xnb</Output> 
     155      <Time>2017-07-04T14:39:01.1843317+03:00</Time> 
    111156    </Item> 
    112157    <BuildSuccessful>true</BuildSuccessful> 
  • 2017/27/PinjaV/RunAwayFromYourFear/RunAwayFromYourFear/RunAwayFromYourFear/obj/x86/Debug/RunAwayFromYourFear.csproj.FileListAbsolute.txt

    r8849 r8893  
    1919C:\MyTemp\PinjaV\RunAwayFromYourFear\RunAwayFromYourFear\RunAwayFromYourFear\bin\x86\Debug\Content\timanttisininen.xnb 
    2020C:\MyTemp\PinjaV\RunAwayFromYourFear\RunAwayFromYourFear\RunAwayFromYourFear\bin\x86\Debug\Content\timanttivaalee.xnb 
     21C:\MyTemp\PinjaV\RunAwayFromYourFear\RunAwayFromYourFear\RunAwayFromYourFear\bin\x86\Debug\Content\Labyrint2.xnb 
     22C:\MyTemp\PinjaV\RunAwayFromYourFear\RunAwayFromYourFear\RunAwayFromYourFear\bin\x86\Debug\Content\eyeless_jack1.xnb 
     23C:\MyTemp\PinjaV\RunAwayFromYourFear\RunAwayFromYourFear\RunAwayFromYourFear\bin\x86\Debug\Content\eyeless_jack2.xnb 
     24C:\MyTemp\PinjaV\RunAwayFromYourFear\RunAwayFromYourFear\RunAwayFromYourFear\bin\x86\Debug\Content\eyeless_jack3.xnb 
     25C:\MyTemp\PinjaV\RunAwayFromYourFear\RunAwayFromYourFear\RunAwayFromYourFear\bin\x86\Debug\Content\eyeless_jack4.xnb 
  • 2017/27/PinjaV/RunAwayFromYourFear/RunAwayFromYourFear/RunAwayFromYourFear/obj/x86/Debug/cachefile-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}-targetpath.txt

    r8849 r8893  
    1111Content\timanttivaalee.xnb 
    1212Content\kentta1.xnb 
     13Content\Labyrint2.xnb 
     14Content\eyeless_jack1.xnb 
     15Content\eyeless_jack2.xnb 
     16Content\eyeless_jack3.xnb 
     17Content\eyeless_jack4.xnb 
  • 2017/27/PinjaV/RunAwayFromYourFear/RunAwayFromYourFear/RunAwayFromYourFearContent/RunAwayFromYourFearContent.contentproj

    r8849 r8893  
    115115    </Compile> 
    116116  </ItemGroup> 
     117  <ItemGroup> 
     118    <Compile Include="Labyrint2.png"> 
     119      <Name>Labyrint2</Name> 
     120      <Importer>TextureImporter</Importer> 
     121      <Processor>TextureProcessor</Processor> 
     122    </Compile> 
     123  </ItemGroup> 
     124  <ItemGroup> 
     125    <Compile Include="eyeless_jack1.png"> 
     126      <Name>eyeless_jack1</Name> 
     127      <Importer>TextureImporter</Importer> 
     128      <Processor>TextureProcessor</Processor> 
     129    </Compile> 
     130    <Compile Include="eyeless_jack2.png"> 
     131      <Name>eyeless_jack2</Name> 
     132      <Importer>TextureImporter</Importer> 
     133      <Processor>TextureProcessor</Processor> 
     134    </Compile> 
     135    <Compile Include="eyeless_jack3.png"> 
     136      <Name>eyeless_jack3</Name> 
     137      <Importer>TextureImporter</Importer> 
     138      <Processor>TextureProcessor</Processor> 
     139    </Compile> 
     140    <Compile Include="eyeless_jack4.png"> 
     141      <Name>eyeless_jack4</Name> 
     142      <Importer>TextureImporter</Importer> 
     143      <Processor>TextureProcessor</Processor> 
     144    </Compile> 
     145  </ItemGroup> 
    117146  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    118147  <!--  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.