Changeset 6018 for 2015/24


Ignore:
Timestamp:
2015-06-11 11:37:59 (4 years ago)
Author:
jujamann
Message:
 
Location:
2015/24/JuusoM/JuusonHyppelyPeli
Files:
11 added
8 deleted
15 edited

Legend:

Unmodified
Added
Removed
  • 2015/24/JuusoM/JuusonHyppelyPeli/JuusonHyppelyPeli/JuusonHyppelyPeli/JuusonHyppelyPeli.cs

    r5991 r6018  
    2424    Image maalikuva = LoadImage("maali1"); 
    2525    Image pahiskuva2 = LoadImage("vaahtokarkkiMlg"); 
     26    Image pahiskuva3 = LoadImage("SuperSoini"); 
    2627 
    2728    int kenttaNro = 1; 
     
    6667        kentta.SetTileMethod('m', Lisaamaali); 
    6768        kentta.SetTileMethod('1', LisaaPahis2); 
     69        kentta.SetTileMethod('2', LisaaPahis3); 
    6870         
    6971         
     
    109111        pahis2.Image = pahiskuva2; 
    110112        Add(pahis2); 
     113    } 
     114    void LisaaPahis3(Vector paikka, double leveys, double korkeus) 
     115    { 
     116        PlatformCharacter pahis3 = new PlatformCharacter(leveys * 1.5, korkeus * 2.5); 
     117        PlatformWandererBrain tasoAivot = new PlatformWandererBrain(); 
     118        tasoAivot.Speed = 100; 
     119 
     120        pahis3.Brain = tasoAivot; 
     121        pahis3.Position = paikka; 
     122        pahis3.Position += new Vector(0, korkeus); 
     123        pahis3.Color = Color.White; 
     124        pahis3.Tag = "pahis"; 
     125        pahis3.Image = pahiskuva3; 
     126        Add(pahis3); 
    111127    } 
    112128    void LisaaTahti(Vector paikka, double leveys, double korkeus) 
  • 2015/24/JuusoM/JuusonHyppelyPeli/JuusonHyppelyPeli/JuusonHyppelyPeli/JuusonHyppelyPeli.csproj.Debug.cachefile

    r5991 r6018  
    1212Content\kentta2.xnb 
    1313Content\vaahtokarkkiMlg.xnb 
     14Content\SuperSoini.xnb 
     15Content\kentta3.xnb 
    1416Content\piikki.png 
    1517Content\maali1.png 
  • 2015/24/JuusoM/JuusonHyppelyPeli/JuusonHyppelyPeli/JuusonHyppelyPeli/obj/x86/Debug/ContentPipeline-{E145AA3A-12A6-45D7-8DC9-BC55026B266F}.xml

    r5991 r6018  
    2727      <Options>None</Options> 
    2828      <Output>C:\MyTemp\JuusoM\JuusonHyppelyPeli\JuusonHyppelyPeli\JuusonHyppelyPeli\bin\x86\Debug\Content\kentta1.xnb</Output> 
    29       <Time>2015-06-10T13:36:52.0575508+03:00</Time> 
     29      <Time>2015-06-11T10:37:50.0302906+03:00</Time> 
    3030    </Item> 
    3131    <Item> 
     
    108108      <Options>None</Options> 
    109109      <Output>C:\MyTemp\JuusoM\JuusonHyppelyPeli\JuusonHyppelyPeli\JuusonHyppelyPeli\bin\x86\Debug\Content\kentta2.xnb</Output> 
    110       <Time>2015-06-10T13:36:52.0263508+03:00</Time> 
     110      <Time>2015-06-11T11:28:18.3920704+03:00</Time> 
    111111    </Item> 
    112112    <Item> 
     
    118118      <Output>C:\MyTemp\JuusoM\JuusonHyppelyPeli\JuusonHyppelyPeli\JuusonHyppelyPeli\bin\x86\Debug\Content\vaahtokarkkiMlg.xnb</Output> 
    119119      <Time>2015-06-10T13:24:09.1955508+03:00</Time> 
     120    </Item> 
     121    <Item> 
     122      <Source>SuperSoini.png</Source> 
     123      <Name>SuperSoini</Name> 
     124      <Importer>TextureImporter</Importer> 
     125      <Processor>TextureProcessor</Processor> 
     126      <Options>None</Options> 
     127      <Output>C:\MyTemp\JuusoM\JuusonHyppelyPeli\JuusonHyppelyPeli\JuusonHyppelyPeli\bin\x86\Debug\Content\SuperSoini.xnb</Output> 
     128      <Time>2015-06-11T09:46:14.5016002+03:00</Time> 
     129    </Item> 
     130    <Item> 
     131      <Source>kentta3.txt</Source> 
     132      <Name>kentta3</Name> 
     133      <Importer>TextFileImporter</Importer> 
     134      <Processor>TextFileContentProcessor</Processor> 
     135      <Options>None</Options> 
     136      <Output>C:\MyTemp\JuusoM\JuusonHyppelyPeli\JuusonHyppelyPeli\JuusonHyppelyPeli\bin\x86\Debug\Content\kentta3.xnb</Output> 
     137      <Time>2015-06-11T11:23:43.4180704+03:00</Time> 
    120138    </Item> 
    121139    <BuildSuccessful>true</BuildSuccessful> 
  • 2015/24/JuusoM/JuusonHyppelyPeli/JuusonHyppelyPeli/JuusonHyppelyPeli/obj/x86/Debug/JuusonHyppelyPeli.csproj.FileListAbsolute.txt

    r5991 r6018  
    2222C:\MyTemp\JuusoM\JuusonHyppelyPeli\JuusonHyppelyPeli\JuusonHyppelyPeli\bin\x86\Debug\Content\kentta2.xnb 
    2323C:\MyTemp\JuusoM\JuusonHyppelyPeli\JuusonHyppelyPeli\JuusonHyppelyPeli\bin\x86\Debug\Content\vaahtokarkkiMlg.xnb 
     24C:\MyTemp\JuusoM\JuusonHyppelyPeli\JuusonHyppelyPeli\JuusonHyppelyPeli\bin\x86\Debug\Content\SuperSoini.xnb 
     25C:\MyTemp\JuusoM\JuusonHyppelyPeli\JuusonHyppelyPeli\JuusonHyppelyPeli\bin\x86\Debug\Content\kentta3.xnb 
  • 2015/24/JuusoM/JuusonHyppelyPeli/JuusonHyppelyPeli/JuusonHyppelyPeli/obj/x86/Debug/cachefile-{E145AA3A-12A6-45D7-8DC9-BC55026B266F}-targetpath.txt

    r5991 r6018  
    1212Content\kentta2.xnb 
    1313Content\vaahtokarkkiMlg.xnb 
     14Content\SuperSoini.xnb 
     15Content\kentta3.xnb 
    1416Content\piikki.png 
    1517Content\maali1.png 
  • 2015/24/JuusoM/JuusonHyppelyPeli/JuusonHyppelyPeli/JuusonHyppelyPeliContent/JuusonHyppelyPeliContent.contentproj

    r5991 r6018  
    134134    </Compile> 
    135135  </ItemGroup> 
     136  <ItemGroup> 
     137    <Compile Include="SuperSoini.png"> 
     138      <Name>SuperSoini</Name> 
     139      <Importer>TextureImporter</Importer> 
     140      <Processor>TextureProcessor</Processor> 
     141    </Compile> 
     142  </ItemGroup> 
     143  <ItemGroup> 
     144    <Compile Include="kentta3.txt"> 
     145      <Name>kentta3</Name> 
     146      <Importer>TextFileImporter</Importer> 
     147      <Processor>TextFileContentProcessor</Processor> 
     148    </Compile> 
     149  </ItemGroup> 
    136150  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    137151  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2015/24/JuusoM/JuusonHyppelyPeli/JuusonHyppelyPeli/JuusonHyppelyPeliContent/kentta1.txt

    r5991 r6018  
    77........................##########................................# 
    88........................#................#.......................# 
    9 ......................##.........................................# 
    10 ........N.....p......#................#..........................#...................................................................................m..... 
     9......................##.........................................#...................................................................................# 
     10........N.....p......#................#..........................#...................................................................................m#.... 
    1111######################............#..............................#..............................................................................############## 
    1212...........................*...#..................................#..............................................................................############## 
  • 2015/24/JuusoM/JuusonHyppelyPeli/JuusonHyppelyPeli/JuusonHyppelyPeliContent/kentta2.txt

    r5991 r6018  
    44.................................................................................................#......................................................................................... 
    55............................................................................................*....#........................................................................................... 
    6 ..............N....................b.....1...............................................1.. ......#....................................................................................... 
    7 ############################################....#.....##.....##...################################################################ 
     6..............N....................b.....2.........................###...................1.. ....#....................................................................................... 
     7############################################....#.....##.....##......############################################################# 
     8.................................................................................................................................# 
    89.................................................................................................................................#. 
    910....*............................................................................................................................#. 
    10 .###########...#...####..#...####..##...###...######..#.....#.###.# .##...b..............v........................................# 
     11.###########...#...####..##..####..##...###...######..##....#.###.# .##...b..............v........................................# 
    1112pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp##############################################.....############################################ 
    1213###################################################################################################################.........########################################### 
    1314................................................................................................................................................................. 
    1415.............................................................................................................................................................. 
    15 .................................................................................................................................................................... 
     16............................................................................................##...................................................................... 
    1617...............*.................v...........v........1..........1........................................................................................................ 
    1718##########################################################################################......##....#################################################################### 
    1819pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp..pppppppppppppppppppppppppppppppppppppppppppppppppppp 
    1920#......................................................................................................................................... 
    20 #....................................................................................................................................................,0 
     21#.................................................................................................................................................... 
     220 
    2123#..............m.................1........*......................1.............................1.............................1............................ 
    2224###################################################################################################################################################### 
Note: See TracChangeset for help on using the changeset viewer.