Changeset 5984 for 2015/24


Ignore:
Timestamp:
2015-06-10 11:35:27 (8 years ago)
Author:
aajualal
Message:
 
Location:
2015/24/AarniAR/BitPup
Files:
6 added
14 edited

Legend:

Unmodified
Added
Removed
  • 2015/24/AarniAR/BitPup/BitPup/BitPup/BitPup.cs

    r5959 r5984  
    4949        }; 
    5050 
    51         kenttaNro = 1; 
     51        kenttaNro = 4; 
    5252        pisteLaskuri = new IntMeter(0); 
    5353        SmoothTextures = false; 
     
    9999        PlatformCharacter crab = new PlatformCharacter(leveys - 4, korkeus - 4); 
    100100        crab.IgnoresCollisionResponse = false; 
    101  
     101         
    102102        crab.AnimWalk = new Animation(Crab); 
    103         crab.AnimWalk.FPS = 3; 
     103        crab.AnimWalk.FPS = 5; 
    104104 
    105105        crab.Position = paikka; 
     
    109109 
    110110        PlatformWandererBrain tasoAivot = new PlatformWandererBrain(); 
    111         tasoAivot.Speed = 100; 
     111        tasoAivot.Speed = 150; 
    112112        tasoAivot.TriesToJump = false; 
    113113        crab.Brain = tasoAivot; 
     
    378378            MessageDisplay.Add("Kentta 3"); 
    379379        } 
    380         else if (kenttaNro > 3) 
     380        else if (kenttaNro == 4) 
     381        { 
     382            LuoKentta("kentta4"); 
     383 
     384            MessageDisplay.Add("Kenttä 4"); 
     385        } 
     386        else if (kenttaNro == 5) 
     387        { 
     388            LuoKentta("kentta5"); 
     389 
     390            MessageDisplay.Add("Kenttä 5"); 
     391        } 
     392        else if (kenttaNro == 6) 
     393        { 
     394            LuoKentta("kentta6"); 
     395 
     396            MessageDisplay.Add("Erikoiskenttä"); 
     397        } 
     398 
     399        else if (kenttaNro > 6) 
    381400        { 
    382401            topLista.EnterAndShow(pisteLaskuri.Value); 
     
    474493        BlasterWeapon.Power.MaxValue = 3500; 
    475494        Timer AseAjastin = new Timer(); 
    476         AseAjastin.Interval = 3.0; 
     495        AseAjastin.Interval = 2.0; 
    477496        AseAjastin.Timeout += delegate {             
    478497            PhysicsObject ammus = BlasterWeapon.Shoot(); 
     
    506525        PhysicsObject Arkku = PhysicsObject.CreateStaticObject(leveys, korkeus); 
    507526        Arkku.IgnoresCollisionResponse = true; 
     527        Arkku.CollisionIgnoreGroup = 3; 
    508528        Arkku.Position = paikka; 
    509529        Arkku.Image = Chest[0]; 
  • 2015/24/AarniAR/BitPup/BitPup/BitPup/BitPup.csproj.Debug.cachefile

    r5959 r5984  
    2828Content\CobbleStone.xnb 
    2929Content\Grass.xnb 
     30Content\kentta4.xnb 
     31Content\kentta5.xnb 
     32Content\kentta6.xnb 
    3033Content\Cannon.png 
    3134Content\OpenedChest.png 
  • 2015/24/AarniAR/BitPup/BitPup/BitPup/obj/x86/Debug/BitPup.csproj.FileListAbsolute.txt

    r5959 r5984  
    7575C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\CobbleStone.xnb 
    7676C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\Grass.xnb 
     77C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\kentta4.xnb 
     78C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\kentta5.xnb 
     79C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\kentta6.xnb 
  • 2015/24/AarniAR/BitPup/BitPup/BitPup/obj/x86/Debug/ContentPipeline-{68353A22-4E3F-46ED-A607-F2A620962927}.xml

    r5959 r5984  
    204204      <Options>None</Options> 
    205205      <Output>C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\kentta1.xnb</Output> 
    206       <Time>2015-06-09T15:03:23.2774278+03:00</Time> 
     206      <Time>2015-06-10T10:47:07.4834953+03:00</Time> 
    207207    </Item> 
    208208    <Item> 
     
    259259      <Output>C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\Grass.xnb</Output> 
    260260      <Time>2015-06-09T14:51:42.1469278+03:00</Time> 
     261    </Item> 
     262    <Item> 
     263      <Source>kentta4.txt</Source> 
     264      <Name>kentta4</Name> 
     265      <Importer>TextFileImporter</Importer> 
     266      <Processor>TextFileContentProcessor</Processor> 
     267      <Options>None</Options> 
     268      <Output>C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\kentta4.xnb</Output> 
     269      <Time>2015-06-10T10:51:35.7213723+03:00</Time> 
     270    </Item> 
     271    <Item> 
     272      <Source>kentta5.txt</Source> 
     273      <Name>kentta5</Name> 
     274      <Importer>TextFileImporter</Importer> 
     275      <Processor>TextFileContentProcessor</Processor> 
     276      <Options>None</Options> 
     277      <Output>C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\kentta5.xnb</Output> 
     278      <Time>2015-06-09T14:03:33.8023278+03:00</Time> 
     279    </Item> 
     280    <Item> 
     281      <Source>kentta6.txt</Source> 
     282      <Name>kentta6</Name> 
     283      <Importer>TextFileImporter</Importer> 
     284      <Processor>TextFileContentProcessor</Processor> 
     285      <Options>None</Options> 
     286      <Output>C:\MyTemp\AarniAR\BitPup\BitPup\BitPup\bin\x86\Debug\Content\kentta6.xnb</Output> 
     287      <Time>2015-06-09T14:03:33.8023278+03:00</Time> 
    261288    </Item> 
    262289    <BuildSuccessful>true</BuildSuccessful> 
  • 2015/24/AarniAR/BitPup/BitPup/BitPup/obj/x86/Debug/cachefile-{68353A22-4E3F-46ED-A607-F2A620962927}-targetpath.txt

    r5959 r5984  
    2828Content\CobbleStone.xnb 
    2929Content\Grass.xnb 
     30Content\kentta4.xnb 
     31Content\kentta5.xnb 
     32Content\kentta6.xnb 
    3033Content\Cannon.png 
    3134Content\OpenedChest.png 
  • 2015/24/AarniAR/BitPup/BitPup/BitPupContent/BitPupContent.contentproj

    r5959 r5984  
    233233    </Compile> 
    234234  </ItemGroup> 
     235  <ItemGroup> 
     236    <Compile Include="kentta4.txt"> 
     237      <Name>kentta4</Name> 
     238      <Importer>TextFileImporter</Importer> 
     239      <Processor>TextFileContentProcessor</Processor> 
     240    </Compile> 
     241  </ItemGroup> 
     242  <ItemGroup> 
     243    <Compile Include="kentta5.txt"> 
     244      <Name>kentta5</Name> 
     245      <Importer>TextFileImporter</Importer> 
     246      <Processor>TextFileContentProcessor</Processor> 
     247    </Compile> 
     248  </ItemGroup> 
     249  <ItemGroup> 
     250    <Compile Include="kentta6.txt"> 
     251      <Name>kentta6</Name> 
     252      <Importer>TextFileImporter</Importer> 
     253      <Processor>TextFileContentProcessor</Processor> 
     254    </Compile> 
     255  </ItemGroup> 
    235256  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    236257  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2015/24/AarniAR/BitPup/BitPup/BitPupContent/kentta1.txt

    r5959 r5984  
    1            
    2          ##### 
    3           ######  
    4  N         ###### 
    5 gggggggg    #######ggggggggggggggggg 
    6 ########    ######################## 
     1 
     2gggggggg    gggggggggggggggggggggggg 
     3######## N  ######################## 
    74########    ######################## 
    85########    ######################## 
  • 2015/24/AarniAR/BitPup/BitPup/BitPupContent/kentta3.txt

    r5959 r5984  
    1010##                                               # 
    1111##                                               C 
    12 ##                           F F                 #  
     12##                           F F                 # 
    1313##  E#       F         F  F                # E   # 
    1414##########        FF              F   ###FF####### 
Note: See TracChangeset for help on using the changeset viewer.