Changeset 6871 for 2015


Ignore:
Timestamp:
2015-07-21 14:57:41 (8 years ago)
Author:
ellihutt
Message:

omapeli tehty pelihahmo ja kenttää sekä säädetty koodia

Location:
2015/30/EllenH/OmaPeli
Files:
2 added
13 edited

Legend:

Unmodified
Added
Removed
  • 2015/30/EllenH/OmaPeli/OmaPeli/OmaPeli/OmaPeli.cs

    r6853 r6871  
    1515    PlatformCharacter pelaaja1; 
    1616 
    17     Image pelaajanKuva = LoadImage("norsu"); 
     17    Image pelaajanKuva = LoadImage("herkko"); 
    1818    Image tahtiKuva = LoadImage("tahti"); 
    1919 
     
    4141        kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 
    4242        Level.CreateBorders(); 
    43         Level.Background.CreateGradient(Color.White, Color.SkyBlue); 
     43        Level.Background.CreateGradient(Color.Beige, Color.Black); 
    4444    } 
    4545 
     
    4848        PhysicsObject taso = PhysicsObject.CreateStaticObject(leveys, korkeus); 
    4949        taso.Position = paikka; 
    50         taso.Color = Color.Beige; 
     50        taso.Color = Color.HotPink; 
    5151        taso.Tag = "taso"; 
    5252        Add(taso); 
     
    109109    } 
    110110 
    111     void TormaaTasoon(PhysicsObject taso, PhysicsObject hahmo) 
     111    void TormaaTasoon(PhysicsObject hahmo, PhysicsObject taso) 
    112112   { 
    113113       maaliAani.Play(); 
  • 2015/30/EllenH/OmaPeli/OmaPeli/OmaPeli/OmaPeli.csproj.Debug.cachefile

    r6840 r6871  
    33Content\tahti.xnb 
    44Content\kentta1.xnb 
     5Content\herkko.xnb 
  • 2015/30/EllenH/OmaPeli/OmaPeli/OmaPeli/obj/x86/Debug/OmaPeli.csproj.FileListAbsolute.txt

    r6840 r6871  
    1111C:\MyTemp\EllenH\OmaPeli\OmaPeli\OmaPeli\obj\x86\Debug\OmaPeli.exe 
    1212C:\MyTemp\EllenH\OmaPeli\OmaPeli\OmaPeli\obj\x86\Debug\OmaPeli.pdb 
     13C:\MyTemp\EllenH\OmaPeli\OmaPeli\OmaPeli\bin\x86\Debug\Content\herkko.xnb 
  • 2015/30/EllenH/OmaPeli/OmaPeli/OmaPeli/obj/x86/Debug/cachefile-{128CCA7D-2017-4F3A-B4A1-A70BDF9EB76C}-targetpath.txt

    r6840 r6871  
    33Content\tahti.xnb 
    44Content\kentta1.xnb 
     5Content\herkko.xnb 
  • 2015/30/EllenH/OmaPeli/OmaPeli/OmaPeliContent/OmaPeliContent.contentproj

    r6840 r6871  
    6767    </Compile> 
    6868  </ItemGroup> 
     69  <ItemGroup> 
     70    <Compile Include="herkko.png"> 
     71      <Name>herkko</Name> 
     72      <Importer>TextureImporter</Importer> 
     73      <Processor>TextureProcessor</Processor> 
     74    </Compile> 
     75  </ItemGroup> 
    6976  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    7077  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2015/30/EllenH/OmaPeli/OmaPeli/OmaPeliContent/kentta1.txt

    r6853 r6871  
    11 
    22 
    3      N 
    4    
    5  
    6  
    7  
    8   * 
    9   * 
    10    * 
    11  #  * 
    12       *     
    13  
    14  
    15  
    16  
    17       ##  *  #### 
    18           * 
    19           * 
    20           * 
    21  
    22    
    23   #  #  #  #  #  #  # 
    24    *  *  *  *  *  * 
    25     *  *  *  *  * 
    26       *  *  *  * 
    27        *  *  * 
    28         *  * 
    29           * 
    30  
    31  
    32  
    33           * 
    34          * * 
    35         *   *  
    36        *     * 
    37       *       * 
    38      *         * 
    39       *       *  
    40        *     * 
    41  
    42  
    43  
    44     ############# 
    45  
    46  
    47  
    48           * 
    49          * 
    50         * 
    51         * 
    52          * 
    53            * 
    54              * 
    55               * 
    56               *         
    57              * 
    58            * 
    59          *       
    60         * 
    61         * 
    62  
    63  
    64  
    65 ##  ##  ##  ##  ##  ##  ## 
    66  
    67  
    68  
    69  
    70  
    71              
     3......N..................... 
     4............................ 
     5............................ 
     6..*......................... 
     7..*......................... 
     8...*........................ 
     9....*....................... 
     10......*..................... 
     11............................ 
     12............................ 
     13............................ 
     14............................ 
     15....####..*..####........... 
     16..........*................. 
     17..........*................. 
     18..........*................. 
     19............................ 
     20............................ 
     21..#..#..#..#..#..#..#....... 
     22...*..*..*..*..*..*......... 
     23....*..*..*..*..*........... 
     24......*..*..*..*............ 
     25.......*..*..*.............. 
     26........*...*............... 
     27..........*................. 
     28............................ 
     29............................ 
     30............................ 
     31..........*................. 
     32.........*.*................ 
     33........*...*............... 
     34.......*.....*.............. 
     35......*.......*............. 
     36.....*.........*............ 
     37......*.......*............. 
     38.......*.....*.............. 
     39............................ 
     40............................ 
     41............................ 
     42......#############......... 
     43............................ 
     44............................ 
     45............................ 
     46..........*................. 
     47.........*.................. 
     48........*................... 
     49........*................... 
     50.........*.................. 
     51...........*................ 
     52.............*.............. 
     53..............*............. 
     54..............*............. 
     55.............*.............. 
     56...........*................ 
     57.........*.................. 
     58........*................... 
     59........*................... 
     60............................ 
     61............................ 
     62............................ 
     63.##..##..##..##..##..##..##. 
     64............................ 
     65............................ 
     66............................ 
     67............................ 
     68............................ 
     69####...###...###...###...### 
     70............................ 
     71............................ 
     72....###...###...###...###... 
     73............................ 
     74............................ 
     75####...###...###...###...### 
     76**************************** 
     77............................ 
     78...######################... 
     79............................ 
     80............................ 
     81########...........######### 
     82............................ 
     83............................ 
     84............................ 
     85.........*.................. 
     86.........*.................. 
     87..........*................. 
     88...........*................ 
     89............*............... 
     90..............*............. 
     91...............*............ 
     92................*........... 
     93................*........... 
     94...............*............ 
     95..............*............. 
     96.............*.............. 
     97..........##.*.##........... 
     98............................ 
     99............................ 
     100............................ 
     101............................ 
     102............................ 
     103............................ 
     104............................ 
     105............................ 
     106............................ 
    72107############################ 
  • 2015/30/EllenH/OmaPeli/OmaPeli/OmaPeliContent/obj/x86/Debug/ContentPipeline.xml

    r6853 r6871  
    3636      <Options>None</Options> 
    3737      <Output>C:\MyTemp\EllenH\OmaPeli\OmaPeli\OmaPeli\bin\x86\Debug\Content\kentta1.xnb</Output> 
    38       <Time>2015-07-21T12:45:06.0122386+03:00</Time> 
     38      <Time>2015-07-21T14:33:34.0407125+03:00</Time> 
     39    </Item> 
     40    <Item> 
     41      <Source>herkko.png</Source> 
     42      <Name>herkko</Name> 
     43      <Importer>TextureImporter</Importer> 
     44      <Processor>TextureProcessor</Processor> 
     45      <Options>None</Options> 
     46      <Output>C:\MyTemp\EllenH\OmaPeli\OmaPeli\OmaPeli\bin\x86\Debug\Content\herkko.xnb</Output> 
     47      <Time>2015-07-21T13:48:56.3649717+03:00</Time> 
    3948    </Item> 
    4049    <BuildSuccessful>true</BuildSuccessful> 
Note: See TracChangeset for help on using the changeset viewer.