Changeset 2299 for 2011/26


Ignore:
Timestamp:
2011-06-29 14:45:06 (12 years ago)
Author:
vilmarju
Message:

Talletus.

Location:
2011/26/VilleK
Files:
3 added
21 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/VilleK/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1/Peli.cs

    r2232 r2299  
    1010{ 
    1111    const double nopeus = 200; 
    12     const double hyppyNopeus = 1000; 
    13     const int RUUDUN_KOKO = 40; 
     12    const double hyppyNopeus =900; 
     13    const int RUUDUN_KOKO = 50; 
    1414 
    1515    PlatformCharacter pelaaja1; 
    1616 
    17     Image pelaajanKuva = LoadImage("norsu"); 
    18     Image tahtiKuva = LoadImage("tahti"); 
    19  
     17    Image pelaajanKuva = LoadImage("juoppo"); 
     18    Image tollkinkuva = LoadImage("tolkki"); 
     19     
    2020    SoundEffect maaliAani = LoadSoundEffect("maali"); 
    21  
    2221    public override void Begin() 
    2322    { 
     
    5352    { 
    5453        PhysicsObject tahti = PhysicsObject.CreateStaticObject(RUUDUN_KOKO, RUUDUN_KOKO); 
    55         tahti.Image = tahtiKuva; 
    56         tahti.Tag = "tahti"; 
     54        tahti.Image = tollkinkuva; 
     55        tahti.Tag = "tolkki"; 
    5756        return tahti; 
    5857    } 
     
    6160    { 
    6261        pelaaja1 = new PlatformCharacter(40, 40); 
    63         pelaaja1.Mass = 4.0; 
    64         pelaaja1.Image = pelaajanKuva; 
     62        pelaaja1.Mass = 5.0; 
     63        //pelaaja1.Image = pelaajanKuva; 
     64        pelaaja1.RightIdleAnimation = new Animation(pelaajanKuva); 
     65        //juoppo2.image = pelaajankuva  
     66        pelaaja1.LeftIdleAnimation = new Animation(o); 
    6567        AddCollisionHandler(pelaaja1, osuTahteen); 
    6668        return pelaaja1; 
     
    9597    void osuTahteen(PhysicsObject hahmo, PhysicsObject kohde) 
    9698    { 
    97         if (kohde.Tag.ToString() == "tahti") 
     99        if (kohde.Tag.ToString() == "tolkki") 
    98100        { 
    99101            maaliAani.Play(); 
    100             MessageDisplay.Add("Keräsit tähden!"); 
     102            MessageDisplay.Add("Keräsit tölkin hurraa!"); 
    101103            kohde.Destroy(); 
    102104        } 
  • 2011/26/VilleK/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1.csproj.Debug.cachefile

    r2232 r2299  
    22Content\norsu.xnb 
    33Content\tahti.xnb 
     4Content\juoppo.xnb 
     5Content\tolkki.xnb 
     6Content\juoppo2.xnb 
    47kentta1.txt 
  • 2011/26/VilleK/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1/bin/x86/Debug/kentta1.txt

    r2232 r2299  
    1          * 
    2          ## 
    3  
    4        *    * 
    5        ##  ## 
    6  
    7      *        * 
    8      ##  ##  ## 
    9  
    10    *    *  *    *      
    11    ##  ##  ##  ## 
    12  
    13  *    *       *   * 
    14  ##  ##  ##  ##  ## 
    15  
    16         N 
    17 ###################### 
     1         *                                                                                                                 # 
     2         ##                   **                                                                                           # 
     3                            ######      #   #                                                                                      # 
     4       *    *                    ##                                                                                        # 
     5       ##  ##                       ##                                                                                     # 
     6                           #               ##                                                                                   # 
     7     *        *                                                                                                            # 
     8 #######  ###  ####   ###  ###  ###      #######                                                                           # 
     9                                                                                                                               # 
     10   *    *  *    *                                                                                                          # 
     11   ##  ##  ##  ############################################################################################################# 
     12                                                                                                                           # 
     13 *    *       *   *                                                                                                        # 
     14 ##  ##  ##  ##  ## ##################################################                                                     # 
     15                                                                                                                           # 
     16        N                                                                                                                  # 
     17############################################################################################################################ 
     18############################################################################################################################ 
     19############################################################################################################################ 
  • 2011/26/VilleK/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1/kentta1.txt

    r2232 r2299  
    1          * 
    2          ## 
    3  
    4        *    * 
    5        ##  ## 
    6  
    7      *        * 
    8      ##  ##  ## 
    9  
    10    *    *  *    *      
    11    ##  ##  ##  ## 
    12  
    13  *    *       *   * 
    14  ##  ##  ##  ##  ## 
    15  
    16         N 
    17 ###################### 
     1         *                                                                                                                 # 
     2         ##                   **                                                                                           # 
     3                            ######      #   #                                                                                      # 
     4       *    *                    ##                                                                                        # 
     5       ##  ##                       ##                                                                                     # 
     6                           #               ##                                                                                   # 
     7     *        *                                                                                                            # 
     8 #######  ###  ####   ###  ###  ###      #######                                                                           # 
     9                                                                                                                               # 
     10   *    *  *    *                                                                                                          # 
     11   ##  ##  ##  ############################################################################################################# 
     12                                                                                                                           # 
     13 *    *       *   *                                                                                                        # 
     14 ##  ##  ##  ##  ## ##################################################                                                     # 
     15                                                                                                                           # 
     16        N                                                                                                                  # 
     17############################################################################################################################ 
     18############################################################################################################################ 
     19############################################################################################################################ 
  • 2011/26/VilleK/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1/obj/x86/Debug/Tasohyppelypeli1.csproj.FileListAbsolute.txt

    r2232 r2299  
    1111C:\MyTemp\VilleK\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\obj\x86\Debug\Tasohyppelypeli1.exe 
    1212C:\MyTemp\VilleK\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\obj\x86\Debug\Tasohyppelypeli1.pdb 
     13C:\MyTemp\VilleK\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\juoppo.xnb 
     14C:\MyTemp\VilleK\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\tolkki.xnb 
     15C:\MyTemp\VilleK\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\juoppo2.xnb 
  • 2011/26/VilleK/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1/obj/x86/Debug/cachefile-{77DC94E7-E1E0-4BBE-B826-1240D8DA4352}-targetpath.txt

    r2232 r2299  
    22Content\norsu.xnb 
    33Content\tahti.xnb 
     4Content\juoppo.xnb 
     5Content\tolkki.xnb 
     6Content\juoppo2.xnb 
  • 2011/26/VilleK/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1Content/Tasohyppelypeli1Content.contentproj

    r2232 r2299  
    5959    </Compile> 
    6060  </ItemGroup> 
     61  <ItemGroup> 
     62    <Compile Include="juoppo.png"> 
     63      <Name>juoppo</Name> 
     64      <Importer>TextureImporter</Importer> 
     65      <Processor>TextureProcessor</Processor> 
     66    </Compile> 
     67  </ItemGroup> 
     68  <ItemGroup> 
     69    <Compile Include="tolkki.png"> 
     70      <Name>tolkki</Name> 
     71      <Importer>TextureImporter</Importer> 
     72      <Processor>TextureProcessor</Processor> 
     73    </Compile> 
     74  </ItemGroup> 
     75  <ItemGroup> 
     76    <Compile Include="juoppo2.png"> 
     77      <Name>juoppo2</Name> 
     78      <Importer>TextureImporter</Importer> 
     79      <Processor>TextureProcessor</Processor> 
     80    </Compile> 
     81  </ItemGroup> 
    6182  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    6283  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2011/26/VilleK/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1Content/obj/x86/Debug/ContentPipeline.xml

    r2232 r2299  
    99      <Options>None</Options> 
    1010      <Output>C:\MyTemp\VilleK\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\maali.xnb</Output> 
    11       <Time>2011-06-28T14:19:14.034763+03:00</Time> 
     11      <Time>2011-06-29T10:14:58.5354836+03:00</Time> 
    1212    </Item> 
    1313    <Item> 
     
    1818      <Options>None</Options> 
    1919      <Output>C:\MyTemp\VilleK\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\norsu.xnb</Output> 
    20       <Time>2011-06-28T14:19:14.034763+03:00</Time> 
     20      <Time>2011-06-29T10:14:58.5354836+03:00</Time> 
    2121    </Item> 
    2222    <Item> 
     
    2727      <Options>None</Options> 
    2828      <Output>C:\MyTemp\VilleK\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\tahti.xnb</Output> 
    29       <Time>2011-06-28T14:19:14.034763+03:00</Time> 
     29      <Time>2011-06-29T10:14:58.5511078+03:00</Time> 
     30    </Item> 
     31    <Item> 
     32      <Source>juoppo.png</Source> 
     33      <Name>juoppo</Name> 
     34      <Importer>TextureImporter</Importer> 
     35      <Processor>TextureProcessor</Processor> 
     36      <Options>None</Options> 
     37      <Output>C:\MyTemp\VilleK\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\juoppo.xnb</Output> 
     38      <Time>2011-06-29T12:23:15.141454+03:00</Time> 
     39    </Item> 
     40    <Item> 
     41      <Source>tolkki.png</Source> 
     42      <Name>tolkki</Name> 
     43      <Importer>TextureImporter</Importer> 
     44      <Processor>TextureProcessor</Processor> 
     45      <Options>None</Options> 
     46      <Output>C:\MyTemp\VilleK\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\tolkki.xnb</Output> 
     47      <Time>2011-06-29T13:31:24.3649924+03:00</Time> 
     48    </Item> 
     49    <Item> 
     50      <Source>juoppo2.png</Source> 
     51      <Name>juoppo2</Name> 
     52      <Importer>TextureImporter</Importer> 
     53      <Processor>TextureProcessor</Processor> 
     54      <Options>None</Options> 
     55      <Output>C:\MyTemp\VilleK\Tasohyppelypeli1\Tasohyppelypeli1\Tasohyppelypeli1\bin\x86\Debug\Content\juoppo2.xnb</Output> 
     56      <Time>2011-06-29T13:51:47.7482839+03:00</Time> 
    3057    </Item> 
    3158    <BuildSuccessful>true</BuildSuccessful> 
     
    4370      <Assembly> 
    4471        <Key>C:\Program Files\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.XImporter.dll</Key> 
    45         <Value>2010-08-23T12:41:18+03:00</Value> 
     72        <Value>2010-08-23T13:41:18+03:00</Value> 
    4673      </Assembly> 
    4774      <Assembly> 
    4875        <Key>C:\Program Files\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.VideoImporters.dll</Key> 
    49         <Value>2010-08-23T12:41:18+03:00</Value> 
     76        <Value>2010-08-23T13:41:18+03:00</Value> 
    5077      </Assembly> 
    5178      <Assembly> 
    5279        <Key>C:\Program Files\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.TextureImporter.dll</Key> 
    53         <Value>2010-08-23T12:41:18+03:00</Value> 
     80        <Value>2010-08-23T13:41:18+03:00</Value> 
    5481      </Assembly> 
    5582      <Assembly> 
    5683        <Key>C:\Program Files\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.FBXImporter.dll</Key> 
    57         <Value>2010-08-23T12:41:18+03:00</Value> 
     84        <Value>2010-08-23T13:41:18+03:00</Value> 
    5885      </Assembly> 
    5986      <Assembly> 
    6087        <Key>C:\Program Files\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.EffectImporter.dll</Key> 
    61         <Value>2010-08-23T12:41:18+03:00</Value> 
     88        <Value>2010-08-23T13:41:18+03:00</Value> 
    6289      </Assembly> 
    6390      <Assembly> 
    6491        <Key>C:\Program Files\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.AudioImporters.dll</Key> 
    65         <Value>2010-08-23T12:41:18+03:00</Value> 
     92        <Value>2010-08-23T13:41:18+03:00</Value> 
    6693      </Assembly> 
    6794      <Assembly> 
    6895        <Key>C:\WINNT\Microsoft.Net\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Content.Pipeline.dll</Key> 
    69         <Value>2011-06-13T15:57:02.10327+03:00</Value> 
     96        <Value>2010-12-30T13:14:59.7761957+02:00</Value> 
    7097      </Assembly> 
    7198    </Assemblies> 
  • 2011/26/VilleK/ponggi/ponggi/ponggiContent/obj/x86/Debug/ContentPipeline.xml

    r2193 r2299  
    1616      <Assembly> 
    1717        <Key>C:\WINNT\Microsoft.Net\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Content.Pipeline.dll</Key> 
    18         <Value>2011-06-13T15:57:02.10327+03:00</Value> 
     18        <Value>2010-12-30T13:14:59.7761957+02:00</Value> 
    1919      </Assembly> 
    2020    </Assemblies> 
Note: See TracChangeset for help on using the changeset viewer.