Changeset 3318


Ignore:
Timestamp:
2012-06-28 14:53:37 (11 years ago)
Author:
elalylon
Message:

Talletus.

Location:
2012/26/EliasY/test1
Files:
3 added
12 edited

Legend:

Unmodified
Added
Removed
  • 2012/26/EliasY/test1/test1/test1/bin/x86/Debug/kentta.txt

    r3311 r3318  
    2323=                           = 
    2424=                           = 
     25=                        g  = 
     26=                   zamk    = 
    2527=                           = 
    26 =                   zamk g  = 
    27 =                           = 
    28 =                    s    p  = 
     28=                    s    p = 
    2929============================= 
  • 2012/26/EliasY/test1/test1/test1/kentta.txt

    r3311 r3318  
    2323=                           = 
    2424=                           = 
     25=                        g  = 
     26=                   zamk    = 
    2527=                           = 
    26 =                   zamk g  = 
    27 =                           = 
    28 =                    s    p  = 
     28=                    s    p = 
    2929============================= 
  • 2012/26/EliasY/test1/test1/test1/obj/x86/Debug/ContentPipeline-{BFB255A8-81A7-4A34-AF08-16AEFBF6C543}.xml

    r3314 r3318  
    119119      <Time>2012-06-28T13:57:11.4263831+03:00</Time> 
    120120    </Item> 
     121    <Item> 
     122      <Source>smgsound.mp3</Source> 
     123      <Name>smgsound</Name> 
     124      <Importer>Mp3Importer</Importer> 
     125      <Processor>SoundEffectProcessor</Processor> 
     126      <Options>None</Options> 
     127      <Output>C:\MyTemp\EliasY\test1\test1\test1\bin\x86\Debug\Content\smgsound.xnb</Output> 
     128      <Time>2012-06-28T14:24:58.6290867+03:00</Time> 
     129    </Item> 
     130    <Item> 
     131      <Source>zombie_damage_1.wav</Source> 
     132      <Name>zombie_damage_1</Name> 
     133      <Importer>WavImporter</Importer> 
     134      <Processor>SoundEffectProcessor</Processor> 
     135      <Options>None</Options> 
     136      <Output>C:\MyTemp\EliasY\test1\test1\test1\bin\x86\Debug\Content\zombie_damage_1.xnb</Output> 
     137      <Time>2012-06-28T14:43:22.1034231+03:00</Time> 
     138    </Item> 
     139    <Item> 
     140      <Source>zombie_damage_2.wav</Source> 
     141      <Name>zombie_damage_2</Name> 
     142      <Importer>WavImporter</Importer> 
     143      <Processor>SoundEffectProcessor</Processor> 
     144      <Options>None</Options> 
     145      <Output>C:\MyTemp\EliasY\test1\test1\test1\bin\x86\Debug\Content\zombie_damage_2.xnb</Output> 
     146      <Time>2012-06-28T14:44:46.0398159+03:00</Time> 
     147    </Item> 
    121148    <BuildSuccessful>true</BuildSuccessful> 
    122149    <Settings> 
  • 2012/26/EliasY/test1/test1/test1/obj/x86/Debug/test1.csproj.FileListAbsolute.txt

    r3314 r3318  
    2121C:\MyTemp\EliasY\test1\test1\test1\bin\x86\Debug\Content\portti.xnb 
    2222C:\MyTemp\EliasY\test1\test1\test1\bin\x86\Debug\Content\konepistooli.xnb 
     23C:\MyTemp\EliasY\test1\test1\test1\bin\x86\Debug\Content\smgsound.xnb 
     24C:\MyTemp\EliasY\test1\test1\test1\bin\x86\Debug\Content\zombie_damage_1.xnb 
     25C:\MyTemp\EliasY\test1\test1\test1\bin\x86\Debug\Content\zombie_damage_2.xnb 
  • 2012/26/EliasY/test1/test1/test1/test1.cs

    r3314 r3318  
    2929        Camera.ZoomFactor = 1.7; 
    3030        /*todo: 
    31          * luotien katoaminen 
    3231         * mapin parantelu 
    3332         * vihujen AI:n debuggaus 
     
    6968    { 
    7069        PhysicsObject ammus = kivaari.Shoot(); 
    71  
    7270        if (ammus != null) 
    7371        { 
     
    138136        kivaari.TimeBetweenUse = TimeSpan.FromMilliseconds(1000); 
    139137        kivaari.Ammo.Value = 30; 
     138        kivaari.AttackSound = LoadSoundEffect("smgsound"); 
    140139 
    141140        pelaajanterveys = new IntMeter(5, 0, 5); 
     
    275274        : base(leveys, korkeus) 
    276275    { 
     276        elamaLaskuri.Changed += delegate { 
     277            int asd = RandomGen.NextInt(2); 
     278            switch (asd){ 
     279                case 0: 
     280                    Game.PlaySound("zombie_damage_1"); 
     281                    break; 
     282                case 1: 
     283                    Game.PlaySound("zombie_damage_2"); 
     284                    break; 
     285            } 
     286 
     287        }; 
    277288        elamaLaskuri.LowerLimit += delegate { this.Destroy(); }; 
    278289    } 
  • 2012/26/EliasY/test1/test1/test1/test1.csproj.Debug.cachefile

    r3314 r3318  
    1212Content\portti.xnb 
    1313Content\konepistooli.xnb 
     14Content\smgsound.xnb 
     15Content\zombie_damage_1.xnb 
     16Content\zombie_damage_2.xnb 
    1417kentta.txt 
  • 2012/26/EliasY/test1/test1/test1Content/test1Content.contentproj

    r3314 r3318  
    129129    </Compile> 
    130130  </ItemGroup> 
     131  <ItemGroup> 
     132    <Compile Include="smgsound.mp3"> 
     133      <Name>smgsound</Name> 
     134      <Importer>Mp3Importer</Importer> 
     135      <Processor>SoundEffectProcessor</Processor> 
     136    </Compile> 
     137  </ItemGroup> 
     138  <ItemGroup> 
     139    <Compile Include="zombie_damage_1.wav"> 
     140      <Name>zombie_damage_1</Name> 
     141      <Importer>WavImporter</Importer> 
     142      <Processor>SoundEffectProcessor</Processor> 
     143    </Compile> 
     144    <Compile Include="zombie_damage_2.wav"> 
     145      <Name>zombie_damage_2</Name> 
     146      <Importer>WavImporter</Importer> 
     147      <Processor>SoundEffectProcessor</Processor> 
     148    </Compile> 
     149  </ItemGroup> 
    131150  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    132151  <!--  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.