Changeset 3954 for 2012


Ignore:
Timestamp:
2013-04-27 16:05:38 (6 years ago)
Author:
jotapoti
Message:
 
Location:
2012/09-22/JariK/Jimmy The Survivor!/Jimmy The Survivor!
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • 2012/09-22/JariK/Jimmy The Survivor!/Jimmy The Survivor!/Jimmy The Survivor!/Jimmy_The_Survivor_.cs

    r3925 r3954  
    2525        IsMouseVisible = true; 
    2626        MultiSelectWindow alkuValikko = new MultiSelectWindow 
    27      ("Jimmy The Survivor 0.6", "General: Lt Jimmy! Your task is to destroy the enemy forces from their factory. Go and try not to get killed! Click here to start", "Exit"); 
     27     ("Jimmy The Survivor 0.7", "General: Lt Jimmy! Your task is to destroy the enemy forces from their factory. Go and try not to get killed! Click here to start", "Exit"); 
    2828                    
    2929        alkuValikko.AddItemHandler(0, AloitaPeli);                 
     
    5555         
    5656        //Ohjain 
    57         ControllerOne.Listen(Button.DPadRight, ButtonState.Down, LiikutaJimmya, null, new Vector(-4600, 0)); 
    58         ControllerOne.Listen(Button.DPadLeft, ButtonState.Down, LiikutaJimmya, null, new Vector(4600, 0)); 
    59         ControllerOne.Listen(Button.DPadUp, ButtonState.Down, LiikutaJimmya, null, new Vector(0, 9999999)); 
    60         ControllerOne.Listen(Button.A, ButtonState.Down, AmmuAseella, "Ammu", Jimmyase); 
    61         ControllerOne.ListenAnalog(AnalogControl.LeftStick, 0.1, Tahtaa, "Tähtää aseella");     
     57        ControllerOne.Listen(Button.DPadRight, ButtonState.Down, LiikutaJimmya, null, new Vector(4600, 0)); 
     58        ControllerOne.Listen(Button.DPadLeft, ButtonState.Down, LiikutaJimmya, null, new Vector(-4600, 0)); 
     59        ControllerOne.Listen(Button.A, ButtonState.Down, LiikutaJimmya, null, new Vector(0, 99999)); 
     60        ControllerOne.Listen(Button.RightTrigger, ButtonState.Down, AmmuAseella, "Ammu", Jimmyase); 
     61        ControllerOne.ListenAnalog(AnalogControl.LeftStick, 0.7, Tahtaaminen, "Tähtää aseella");     
    6262        
    6363        //Reunat 
     
    102102    } 
    103103 
    104     void Tahtaa(AnalogState hiirenLiike) 
    105     { 
    106  
     104    void Tahtaa(AnalogState analogiliike) 
     105    { 
     106          
    107107        Vector suunta = (Mouse.PositionOnWorld - Jimmyase.AbsolutePosition).Normalize(); 
    108108        Jimmyase.Angle = suunta.Angle; 
     
    116116    { 
    117117        ajastin = new Timer(); 
    118         ajastin.Interval = 0.4; 
     118        ajastin.Interval = 0.6; 
    119119        ajastin.Timeout += LisaaVihollinen; 
    120120        ajastin.Start(); 
  • 2012/09-22/JariK/Jimmy The Survivor!/Jimmy The Survivor!/Jimmy The Survivor!/bin/x86/Debug/Jypeli.xml

    r3925 r3954  
    768768            </summary> 
    769769        </member> 
     770        <member name="M:Jypeli.PhysicsObject.MakeOneWay"> 
     771            <summary> 
     772            Tekee oliosta lÀpimentÀvÀn alhaalta ylöspÀin (tasohyppelytaso). 
     773            Huom. ei toimi yhdessÀ CollisionIgnoreGroupien kanssa! 
     774            </summary> 
     775        </member> 
     776        <member name="M:Jypeli.PhysicsObject.MakeOneWay(Jypeli.Vector)"> 
     777            <summary> 
     778            Tekee oliosta lÀpimentÀvÀn vektorin suuntaan. 
     779            Huom. ei toimi yhdessÀ CollisionIgnoreGroupien kanssa! 
     780            </summary> 
     781        </member> 
    770782        <member name="M:Jypeli.PhysicsObject.CreatePhysicsShape(Jypeli.Shape,Jypeli.Vector,Jypeli.CollisionShapeParameters)"> 
    771783            <summary> 
     
    21112123            </summary> 
    21122124            <param name="action"></param> 
     2125        </member> 
     2126        <member name="M:Jypeli.Game.DoNextUpdate``1(System.Action{``0},``0)"> 
     2127            <summary> 
     2128            Suorittaa aliohjelman seuraavalla pÀivityksellÀ. 
     2129            </summary> 
     2130            <typeparam name="T1"></typeparam> 
     2131            <param name="action"></param> 
     2132            <param name="p1"></param> 
     2133        </member> 
     2134        <member name="M:Jypeli.Game.DoNextUpdate``2(System.Action{``0,``1},``0,``1)"> 
     2135            <summary> 
     2136            Suorittaa aliohjelman seuraavalla pÀivityksellÀ. 
     2137            </summary> 
     2138            <typeparam name="T1"></typeparam> 
     2139            <typeparam name="T2"></typeparam> 
     2140            <param name="action"></param> 
     2141            <param name="p1"></param> 
     2142            <param name="p2"></param> 
    21132143        </member> 
    21142144        <member name="M:Jypeli.Game.AssertInitialized``1(System.Action{``0},``0)"> 
     
    25332563            <summary> 
    25342564            VÀri, jolla kentÀn reunat piirretÀÀn. 
     2565            </summary> 
     2566        </member> 
     2567        <member name="P:Jypeli.Game.SmoothTextures"> 
     2568            <summary> 
     2569            Tekstuurien (kuvien) reunanpehmennys skaalattaessa (oletus pÀÀllÀ). 
    25352570            </summary> 
    25362571        </member> 
     
    57665801            <param name="songName">Kappaleen nimi.</param> 
    57675802        </member> 
     5803        <member name="M:Jypeli.MediaPlayer.PlayFromFile(System.String)"> 
     5804            <summary> 
     5805            Soittaa kappaleen tiedostosta. 
     5806            </summary> 
     5807            <param name="fileName">Tiedoston nimi.</param> 
     5808        </member> 
     5809        <member name="M:Jypeli.MediaPlayer.PlayFromURL(System.String)"> 
     5810            <summary> 
     5811            Soittaa kappaleen nettiosoitteesta. 
     5812            </summary> 
     5813            <param name="url">Nettiosoite (URL).</param> 
     5814        </member> 
    57685815        <member name="M:Jypeli.MediaPlayer.Pause"> 
    57695816            <summary> 
     
    57935840        <member name="P:Jypeli.MediaPlayer.IsRepeating"> 
    57945841            <summary> 
    5795             Toistetaanko kappaleita. 
     5842            Toistetaanko kappaleita alusta. 
     5843            </summary> 
     5844        </member> 
     5845        <member name="P:Jypeli.MediaPlayer.IsPlaying"> 
     5846            <summary> 
     5847            Soitetaanko tÀllÀ hetkellÀ mitÀÀn. 
    57965848            </summary> 
    57975849        </member> 
     
    1201312065            <param name="method">Aliohjelma, jota kutsutaan.</param> 
    1201412066        </member> 
     12067        <member name="M:Jypeli.Meter`1.AddTrigger(`0,Jypeli.TriggerDirection,System.Action{`0})"> 
     12068            <summary> 
     12069            LisÀÀ mittarille rajan, jonka yli mentÀessÀ laukaistaan aliohjelma. 
     12070            </summary> 
     12071            <param name="value">Mittarin arvo</param> 
     12072            <param name="direction">Suunta (TriggerDirection.Irrelevant, TriggerDirection.Up tai TriggerDirection.Down)</param> 
     12073            <param name="method">Aliohjelma, jota kutsutaan (parametrina mittarin arvo).</param> 
     12074        </member> 
    1201512075        <member name="M:Jypeli.Meter`1.RemoveTriggers(`0)"> 
    1201612076            <summary> 
  • 2012/09-22/JariK/Jimmy The Survivor!/Jimmy The Survivor!/Jimmy The Survivor!/obj/x86/Debug/ContentPipeline-{89D249B7-FE4D-4D91-84AE-19FA1CF8C26A}.xml

    r3925 r3954  
    88      <Processor>SoundEffectProcessor</Processor> 
    99      <Options>None</Options> 
    10       <Output>C:\MyTemp\JariK\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\maali.xnb</Output> 
    11       <Time>2013-01-26T11:13:55.7245949+02:00</Time> 
     10      <Output>C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\maali.xnb</Output> 
     11      <Time>2013-04-27T10:38:38.1780676+03:00</Time> 
    1212    </Item> 
    1313    <Item> 
     
    1717      <Processor>TextureProcessor</Processor> 
    1818      <Options>None</Options> 
    19       <Output>C:\MyTemp\JariK\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\norsu.xnb</Output> 
    20       <Time>2013-01-26T11:13:55.7675992+02:00</Time> 
     19      <Output>C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\norsu.xnb</Output> 
     20      <Time>2013-04-27T10:38:38.2410676+03:00</Time> 
    2121    </Item> 
    2222    <Item> 
     
    2626      <Processor>TextureProcessor</Processor> 
    2727      <Options>None</Options> 
    28       <Output>C:\MyTemp\JariK\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\tahti.xnb</Output> 
    29       <Time>2013-01-26T11:13:55.8016026+02:00</Time> 
     28      <Output>C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\tahti.xnb</Output> 
     29      <Time>2013-04-27T10:38:38.3120676+03:00</Time> 
    3030    </Item> 
    3131    <Item> 
     
    3535      <Processor>TextureProcessor</Processor> 
    3636      <Options>None</Options> 
    37       <Output>C:\MyTemp\JariK\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\Jimmy.xnb</Output> 
    38       <Time>2013-01-26T11:13:55.7345959+02:00</Time> 
     37      <Output>C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\Jimmy.xnb</Output> 
     38      <Time>2013-04-27T10:38:38.1890676+03:00</Time> 
    3939    </Item> 
    4040    <Item> 
     
    4444      <Processor>TextureProcessor</Processor> 
    4545      <Options>None</Options> 
    46       <Output>C:\MyTemp\JariK\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\Vihollinen.xnb</Output> 
    47       <Time>2013-01-26T11:13:55.7705995+02:00</Time> 
     46      <Output>C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\Vihollinen.xnb</Output> 
     47      <Time>2013-04-27T10:38:38.2630676+03:00</Time> 
    4848    </Item> 
    4949    <Item> 
     
    5353      <Processor>TextFileContentProcessor</Processor> 
    5454      <Options>None</Options> 
    55       <Output>C:\MyTemp\JariK\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\kentta1.xnb</Output> 
    56       <Time>2013-01-26T11:13:55.7275952+02:00</Time> 
     55      <Output>C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\kentta1.xnb</Output> 
     56      <Time>2013-04-27T10:38:38.1820676+03:00</Time> 
    5757    </Item> 
    5858    <BuildSuccessful>true</BuildSuccessful> 
     
    6363      <BuildConfiguration>Debug</BuildConfiguration> 
    6464      <CompressContent>false</CompressContent> 
    65       <RootDirectory>C:\MyTemp\JariK\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!Content\</RootDirectory> 
    66       <LoggerRootDirectory>C:\MyTemp\JariK\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\</LoggerRootDirectory> 
    67       <IntermediateDirectory>C:\MyTemp\JariK\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\obj\x86\Debug\</IntermediateDirectory> 
    68       <OutputDirectory>C:\MyTemp\JariK\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\</OutputDirectory> 
     65      <RootDirectory>C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!Content\</RootDirectory> 
     66      <LoggerRootDirectory>C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\</LoggerRootDirectory> 
     67      <IntermediateDirectory>C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\obj\x86\Debug\</IntermediateDirectory> 
     68      <OutputDirectory>C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\</OutputDirectory> 
    6969    </Settings> 
    7070    <Assemblies> 
    7171      <Assembly> 
    7272        <Key>C:\Program Files (x86)\Jypeli\lib\ContentExtensions\TextFileContentExtension.dll</Key> 
    73         <Value>2013-01-25T08:50:48+02:00</Value> 
     73        <Value>2013-02-25T12:40:34+02:00</Value> 
    7474      </Assembly> 
    7575      <Assembly> 
     
    9999      <Assembly> 
    100100        <Key>C:\Windows\Microsoft.Net\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Content.Pipeline.dll</Key> 
    101         <Value>2012-03-16T14:32:39.4303118+02:00</Value> 
     101        <Value>2012-03-16T14:33:25.4069086+02:00</Value> 
    102102      </Assembly> 
    103103    </Assemblies> 
  • 2012/09-22/JariK/Jimmy The Survivor!/Jimmy The Survivor!/Jimmy The Survivor!/obj/x86/Debug/Jimmy The Survivor!.csproj.FileListAbsolute.txt

    r3925 r3954  
    3535C:\MyTemp\JariK\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\Vihollinen.xnb 
    3636C:\MyTemp\JariK\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\kentta1.xnb 
     37C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\maali.xnb 
     38C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\norsu.xnb 
     39C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\tahti.xnb 
     40C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\Jimmy.xnb 
     41C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\Vihollinen.xnb 
     42C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!\bin\x86\Debug\Content\kentta1.xnb 
  • 2012/09-22/JariK/Jimmy The Survivor!/Jimmy The Survivor!/Jimmy The Survivor!Content/obj/x86/Debug/Jimmy The Survivor!Content.contentproj.FileListAbsolute.txt

    r3925 r3954  
    11C:\MyTemp\JariK\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!Content\obj\x86\Debug\ResolveAssemblyReference.cache 
     2C:\MyTemp\ohjelmointikerho\Jimmy The Survivor!\Jimmy The Survivor!\Jimmy The Survivor!Content\obj\x86\Debug\ResolveAssemblyReference.cache 
Note: See TracChangeset for help on using the changeset viewer.