Changeset 4326 for 2013/26


Ignore:
Timestamp:
2013-06-28 12:44:13 (6 years ago)
Author:
mitaivas
Message:

Talletus.

Location:
2013/26/MaxL/Keulaa2
Files:
1 added
11 edited

Legend:

Unmodified
Added
Removed
  • 2013/26/MaxL/Keulaa2/Keulaa/Keulaa/Keulaa.cs

    r4300 r4326  
    2323    Image maanKuva = LoadImage("Maa"); 
    2424    Image maanAllaKuva = LoadImage("Maanalla"); 
     25    SoundEffect rpmAani = LoadSoundEffect("rm125_rpm2"); 
     26    SoundEffect rev = LoadSoundEffect("rm125_rev"); 
     27    SoundEffect idle = LoadSoundEffect("rm125_idle"); 
     28    SoundEffect start = LoadSoundEffect("rm125_start"); 
     29    SoundEffect down = LoadSoundEffect("rm125_downshift"); 
     30     
     31 
    2532 
    2633    PhysicsObject mopo = new PhysicsObject(250, 160); 
     
    4653    { 
    4754 
    48  
    49         MultiSelectWindow alkuValikko = new MultiSelectWindow("Mopo peli", "Aloita", "Lopeta"); 
    50  
     55        //LoadSoundEffect starrt sldwq op 
     56        //MultiSelectWindow alkuValikko = new MultiSelectWindow("Mopo peli", "Aloita", "Lopeta"); 
     57 
     58        //Aanet(); 
    5159        LuoPistelaskuri(); 
    5260        LuoOhjaimet(); 
     
    5462        LuoTausta(); 
    5563        AddCollisionHandler(Eturengas, "taso", NollaaPisteet); 
     64        AddCollisionHandler(mopo, "taso", NollaaPisteet); 
    5665 
    5766        oikeaReuna = new Vector(Level.Right, -560); 
     
    7786    } 
    7887 
     88    void Aanet(SoundEffect aani) 
     89    { 
     90        Sound rpm = rpmAani.CreateSound(); 
     91        rpm.Pitch = -1; 
     92        §   aani.Play(); 
     93            
     94     
     95    } 
     96     
     97     
    7998    void TarkistaNopeus() 
    8099    {  
     
    93112        pisteLaskuri = new IntMeter(0); 
    94113        pisteLaskuri.AddOverTime(1000, 1000); 
     114        //pisteLaskuri. 
    95115 
    96116        Label pisteNaytto = new Label(); 
     
    256276        //Keyboard.Listen(Key.Up, ButtonState.Down, Kaasu, "Braapp!", mopo, kaasu); 
    257277        Keyboard.Listen(Key.Up, ButtonState.Down, Kiihdyta, "Kaasu!", kaasu2); 
     278        Keyboard.Listen(Key.Up, ButtonState.Down, Aanet, null, rpmAani); 
     279        Keyboard.Listen(Key.Up, ButtonState.Pressed, Aanet, null, rev); 
     280        //Keyboard.Listen(Key.Up, ButtonState.Up, Aanet, null, idle); 
    258281        Keyboard.Listen(Key.Right, ButtonState.Down, Nojaus, "Nojaa eteen", Vartalo, eteen); 
    259282        Keyboard.Listen(Key.Right, ButtonState.Down, Nojaus, null , Palikka2, taakse); 
     
    261284        Keyboard.Listen(Key.Left, ButtonState.Down, Nojaus, null , Palikka2, eteen); 
    262285 
     286        Keyboard.Listen(Key.Down, ButtonState.Pressed, Aanet, null, down); 
    263287        Keyboard.Listen(Key.Down, ButtonState.Pressed, Jarru, "Jarru!", Eturengas, 0.2); 
    264288        Keyboard.Listen(Key.Down, ButtonState.Released, JarruPois, null, Eturengas, 1.0); 
  • 2013/26/MaxL/Keulaa2/Keulaa/Keulaa/Keulaa.csproj.Debug.cachefile

    r4266 r4326  
    1212Content\Maa.xnb 
    1313Content\Maanalla.xnb 
     14Content\Idle.xnb 
     15Content\rm125_idle.xnb 
     16Content\rm125_rev.xnb 
     17Content\rm125_rpm.xnb 
     18Content\rm125_start.xnb 
     19Content\rm125_rpm2.xnb 
  • 2013/26/MaxL/Keulaa2/Keulaa/Keulaa/obj/x86/Debug/Keulaa.csproj.FileListAbsolute.txt

    r4266 r4326  
    3737C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\Maa.xnb 
    3838C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\Maanalla.xnb 
     39C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\Idle.xnb 
     40C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\rm125_idle.xnb 
     41C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\rm125_rev.xnb 
     42C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\rm125_rpm.xnb 
     43C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\rm125_start.xnb 
     44C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\rm125_rpm2.xnb 
  • 2013/26/MaxL/Keulaa2/Keulaa/Keulaa/obj/x86/Debug/cachefile-{716DCBB6-30E1-436E-8D82-85A469FEA5A5}-targetpath.txt

    r4266 r4326  
    1212Content\Maa.xnb 
    1313Content\Maanalla.xnb 
     14Content\Idle.xnb 
     15Content\rm125_idle.xnb 
     16Content\rm125_rev.xnb 
     17Content\rm125_rpm.xnb 
     18Content\rm125_start.xnb 
     19Content\rm125_rpm2.xnb 
  • 2013/26/MaxL/Keulaa2/Keulaa/KeulaaContent/KeulaaContent.contentproj

    r4266 r4326  
    134134    </Compile> 
    135135  </ItemGroup> 
     136  <ItemGroup> 
     137    <Compile Include="Idle.wav"> 
     138      <Name>Idle</Name> 
     139      <Importer>WavImporter</Importer> 
     140      <Processor>SoundEffectProcessor</Processor> 
     141    </Compile> 
     142    <Compile Include="rm125_idle.wav"> 
     143      <Name>rm125_idle</Name> 
     144      <Importer>WavImporter</Importer> 
     145      <Processor>SoundEffectProcessor</Processor> 
     146    </Compile> 
     147    <Compile Include="rm125_rev.wav"> 
     148      <Name>rm125_rev</Name> 
     149      <Importer>WavImporter</Importer> 
     150      <Processor>SoundEffectProcessor</Processor> 
     151    </Compile> 
     152    <Compile Include="rm125_rpm.wav"> 
     153      <Name>rm125_rpm</Name> 
     154      <Importer>WavImporter</Importer> 
     155      <Processor>SoundEffectProcessor</Processor> 
     156    </Compile> 
     157    <Compile Include="rm125_start.wav"> 
     158      <Name>rm125_start</Name> 
     159      <Importer>WavImporter</Importer> 
     160      <Processor>SoundEffectProcessor</Processor> 
     161    </Compile> 
     162  </ItemGroup> 
     163  <ItemGroup> 
     164    <Compile Include="rm125_rpm2.wav"> 
     165      <Name>rm125_rpm2</Name> 
     166      <Importer>WavImporter</Importer> 
     167      <Processor>SoundEffectProcessor</Processor> 
     168    </Compile> 
     169  </ItemGroup> 
    136170  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    137171  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2013/26/MaxL/Keulaa2/Keulaa/KeulaaContent/obj/x86/Debug/ContentPipeline.xml

    r4300 r4326  
    118118      <Output>C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\Maanalla.xnb</Output> 
    119119      <Time>2013-06-28T09:32:22.55945+03:00</Time> 
     120    </Item> 
     121    <Item> 
     122      <Source>Idle.wav</Source> 
     123      <Name>Idle</Name> 
     124      <Importer>WavImporter</Importer> 
     125      <Processor>SoundEffectProcessor</Processor> 
     126      <Options>None</Options> 
     127      <Output>C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\Idle.xnb</Output> 
     128      <Time>2013-06-28T09:32:22.6530452+03:00</Time> 
     129    </Item> 
     130    <Item> 
     131      <Source>rm125_idle.wav</Source> 
     132      <Name>rm125_idle</Name> 
     133      <Importer>WavImporter</Importer> 
     134      <Processor>SoundEffectProcessor</Processor> 
     135      <Options>None</Options> 
     136      <Output>C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\rm125_idle.xnb</Output> 
     137      <Time>2013-06-28T09:32:22.6062476+03:00</Time> 
     138    </Item> 
     139    <Item> 
     140      <Source>rm125_rev.wav</Source> 
     141      <Name>rm125_rev</Name> 
     142      <Importer>WavImporter</Importer> 
     143      <Processor>SoundEffectProcessor</Processor> 
     144      <Options>None</Options> 
     145      <Output>C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\rm125_rev.xnb</Output> 
     146      <Time>2013-06-28T09:32:22.715442+03:00</Time> 
     147    </Item> 
     148    <Item> 
     149      <Source>rm125_rpm.wav</Source> 
     150      <Name>rm125_rpm</Name> 
     151      <Importer>WavImporter</Importer> 
     152      <Processor>SoundEffectProcessor</Processor> 
     153      <Options>None</Options> 
     154      <Output>C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\rm125_rpm.xnb</Output> 
     155      <Time>2013-06-28T09:32:22.7310412+03:00</Time> 
     156    </Item> 
     157    <Item> 
     158      <Source>rm125_start.wav</Source> 
     159      <Name>rm125_start</Name> 
     160      <Importer>WavImporter</Importer> 
     161      <Processor>SoundEffectProcessor</Processor> 
     162      <Options>None</Options> 
     163      <Output>C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\rm125_start.xnb</Output> 
     164      <Time>2013-06-28T09:32:22.715442+03:00</Time> 
     165    </Item> 
     166    <Item> 
     167      <Source>rm125_rpm2.wav</Source> 
     168      <Name>rm125_rpm2</Name> 
     169      <Importer>WavImporter</Importer> 
     170      <Processor>SoundEffectProcessor</Processor> 
     171      <Options>None</Options> 
     172      <Output>C:\MyTemp\MaxL\Keulaa2\Keulaa\Keulaa\bin\x86\Debug\Content\rm125_rpm2.xnb</Output> 
     173      <Time>2013-06-28T12:17:48.1122228+03:00</Time> 
    120174    </Item> 
    121175    <BuildSuccessful>true</BuildSuccessful> 
Note: See TracChangeset for help on using the changeset viewer.