Changeset 5981 for 2015/24/LeeviK


Ignore:
Timestamp:
2015-06-10 11:34:09 (4 years ago)
Author:
lesejuku
Message:
 
Location:
2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • 2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience.csproj

    r5943 r5981  
    118118  </ItemGroup> 
    119119  <ItemGroup> 
     120    <Content Include="bandit Radio.mp3" /> 
     121    <Content Include="Cheeki Breeki.mp3" /> 
    120122    <Content Include="Game.ico" /> 
    121123    <Content Include="GameThumbnail.png" /> 
  • 2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience.csproj.Debug.cachefile

    r5943 r5981  
    55Content\lonerNASSE.xnb 
    66Content\vodka.xnb 
     7Content\UzickoKolo.xnb 
     8Content\maaBLYAT.xnb 
     9Content\CheekiBreeki.xnb 
     10Content\UzickoKolo.wma 
  • 2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/AS_Bandit_Experience.cs

    r5943 r5981  
    2020    public override void Begin() 
    2121    { 
    22         Level.Background.Color = Color.HotPink; 
     22        Level.Background.Color = Color.BrownGreen; 
     23 
    2324        //IsFullScreen = true; 
    2425        Mouse.IsCursorVisible = true; 
    25         //MediaPlayer.Play(""); //CHEEKI BREEKI ATMOSFEARIC MUSIC 
    26         Camera.Zoom(4.0); 
     26        MediaPlayer.Play("UzickoKolo"); //CHEEKI BREEKI ATMOSFEARIC MUSIC 
     27        Camera.Zoom(3.0); 
    2728 
    2829        Layers[-1].RelativeTransition = new Vector(1.0, 1.0); 
     
    3031        bandit = new PhysicsObject(HAHMOJEN_LEVEYS, HAHMOJEN_KORKEUS); 
    3132        Image PelaajanKuva = LoadImage("banditNASSE"); 
    32        bandit.Shape = Shape.FromImage(PelaajanKuva); 
     33        bandit.Shape = Shape.FromImage(PelaajanKuva); 
    3334        bandit.Mass = 8.0; 
    3435        bandit.LinearDamping = 0.75; 
     
    4344 
    4445 
    45         banditAse = new Ase(HAHMOJEN_LEVEYS, HAHMOJEN_KORKEUS, 30, int.MaxValue, 4.0); //koko, lipaskoko, reserviluodit, latausnopeus 
     46        banditAse = new Ase(HAHMOJEN_LEVEYS, HAHMOJEN_KORKEUS, 30, int.MaxValue, 3.0); //koko, lipaskoko, reserviluodit, latausnopeus 
    4647        banditAse.FireRate = 11.6; //metriä sekunnissa 
    4748        banditAse.Power.Value = 720; //ensimmäisen luodin lähtönopeus 
    4849        banditAse.Power.DefaultValue = 720; //muiden luotien lähtönopeus 
    49         banditAse.AttackSound = null; //väliaikainen 
     50        //SoundEffect AKSaani = LoadSoundEffect("CheekiBreeki"); 
     51        //banditAse.AttackSound = AKSaani; //väliaikainen 
    5052        banditAse.X = -22.0; 
    5153        banditAse.Y = -6.5; 
     
    6365 
    6466        AddCollisionHandler(bandit, Vodka, ViinaRalli); 
    65         // Camera.Follow(bandit); 
     67        //Camera.Follow(bandit); 
    6668 
    6769        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 
     
    7072        Keyboard.Listen(Key.W, ButtonState.Down, LiikutaBandit, null, new Vector(0, 1000), bandit); 
    7173        Keyboard.Listen(Key.S, ButtonState.Down, LiikutaBandit, null, new Vector(0, -1000), bandit); 
    72         Keyboard.Listen(Key.Space, ButtonState.Pressed, bandit.Destroy, null); //Tuhoaa Pelaajan testinä 
     74        Keyboard.Listen(Key.Space, ButtonState.Pressed, TuhoaBandit,null); //Tuhoaa Pelaajan 
    7375        Keyboard.Listen(Key.R, ButtonState.Pressed, LataaAse, null, banditAse); 
    7476        Mouse.Listen(MouseButton.Left, ButtonState.Down, AmmuAseella, "Ammu", banditAse); 
     
    100102        if (ammus != null) 
    101103        { 
    102             ammus.Size *= 0.2; 
     104            ammus.Size *= 10.2; 
    103105        } 
    104106    } 
     
    143145    } 
    144146 
     147    void TuhoaBandit() 
     148    { 
     149        bandit.Destroy(); 
     150        banditAse.Destroy(); 
     151        banditKadet.Destroy(); 
     152 
     153    
     154 
     155    } 
    145156 
    146157} 
  • 2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/obj/x86/Debug/AS Bandit Experience.csproj.FileListAbsolute.txt

    r5943 r5981  
    1313C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\lonerNASSE.xnb 
    1414C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\vodka.xnb 
     15C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\UzickoKolo.xnb 
     16C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\UzickoKolo.wma 
     17C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\maaBLYAT.xnb 
     18C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\CheekiBreeki.xnb 
  • 2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/obj/x86/Debug/ContentPipeline-{CF2287A8-9A13-468B-8E64-AE02CEDFA772}.xml

    r5943 r5981  
    5656      <Time>2015-06-09T14:18:32.2063339+03:00</Time> 
    5757    </Item> 
     58    <Item> 
     59      <Source>UzickoKolo.mp3</Source> 
     60      <Name>UzickoKolo</Name> 
     61      <Importer>Mp3Importer</Importer> 
     62      <Processor>SongProcessor</Processor> 
     63      <Options>None</Options> 
     64      <Output>C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\UzickoKolo.xnb</Output> 
     65      <Extra>C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\UzickoKolo.wma</Extra> 
     66      <Time>2015-06-10T09:48:41.5927949+03:00</Time> 
     67    </Item> 
     68    <Item> 
     69      <Source>maaBLYAT.png</Source> 
     70      <Name>maaBLYAT</Name> 
     71      <Importer>TextureImporter</Importer> 
     72      <Processor>TextureProcessor</Processor> 
     73      <Options>None</Options> 
     74      <Output>C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\maaBLYAT.xnb</Output> 
     75      <Time>2015-06-10T10:58:16.7561136+03:00</Time> 
     76    </Item> 
     77    <Item> 
     78      <Source>CheekiBreeki.wav</Source> 
     79      <Name>CheekiBreeki</Name> 
     80      <Importer>WavImporter</Importer> 
     81      <Processor>SoundEffectProcessor</Processor> 
     82      <Options>None</Options> 
     83      <Output>C:\MyTemp\LeeviK\AS Bandit Experience\AS Bandit Experience\AS Bandit Experience\bin\x86\Debug\Content\CheekiBreeki.xnb</Output> 
     84      <Time>2015-06-10T11:17:45.3125965+03:00</Time> 
     85    </Item> 
    5886    <BuildSuccessful>true</BuildSuccessful> 
    5987    <Settings> 
  • 2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/obj/x86/Debug/cachefile-{CF2287A8-9A13-468B-8E64-AE02CEDFA772}-targetpath.txt

    r5943 r5981  
    55Content\lonerNASSE.xnb 
    66Content\vodka.xnb 
     7Content\UzickoKolo.xnb 
     8Content\UzickoKolo.wma 
     9Content\maaBLYAT.xnb 
     10Content\CheekiBreeki.xnb 
  • 2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit ExperienceContent/AS Bandit ExperienceContent.contentproj

    r5943 r5981  
    8585    </Compile> 
    8686  </ItemGroup> 
     87  <ItemGroup> 
     88    <Compile Include="UzickoKolo.mp3"> 
     89      <Name>UzickoKolo</Name> 
     90      <Importer>Mp3Importer</Importer> 
     91      <Processor>SongProcessor</Processor> 
     92    </Compile> 
     93  </ItemGroup> 
     94  <ItemGroup> 
     95    <Compile Include="maaBLYAT.png"> 
     96      <Name>maaBLYAT</Name> 
     97      <Importer>TextureImporter</Importer> 
     98      <Processor>TextureProcessor</Processor> 
     99    </Compile> 
     100  </ItemGroup> 
     101  <ItemGroup> 
     102    <Compile Include="CheekiBreeki.wav"> 
     103      <Name>CheekiBreeki</Name> 
     104      <Importer>WavImporter</Importer> 
     105      <Processor>SoundEffectProcessor</Processor> 
     106    </Compile> 
     107  </ItemGroup> 
    87108  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    88109  <!--  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.