Changeset 6060


Ignore:
Timestamp:
2015-06-12 11:40:27 (4 years ago)
Author:
otoskinn
Message:
 
Location:
2015/24/OttoK
Files:
2 added
13 edited

Legend:

Unmodified
Added
Removed
  • 2015/24/OttoK/Grand Theft Norsu II/Grand Theft Norsu II/Grand Theft Norsu II/Grand_Theft_Norsu_II.cs

    r6015 r6060  
    6363        kentta.SetTileMethod('N', LisaaPelaaja); 
    6464        kentta.SetTileMethod('A', LuoAuto); 
    65         kentta.SetTileMethod('T', LuoTyyppi); 
     65        kentta.SetTileMethod('T', LuoTyyppi, 2.0, 2.0); 
    6666        kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 
    6767        Level.CreateBorders(); 
     
    377377 
    378378    } 
    379     void LuoTyyppi(Vector paikka, double leveys, double korkeus) 
    380     { 
    381         PhysicsObject tyyppi = new PhysicsObject(leveys, korkeus); 
     379    void LuoTyyppi(Vector paikka, double leveys, double korkeus, double leveysKerroin, double korkeusKerroin) 
     380    { 
     381        PhysicsObject tyyppi = new PhysicsObject(leveys * leveysKerroin, korkeus * korkeusKerroin); 
    382382        tyyppi.Position = paikka; 
    383383        tyyppi.Mass = 50; 
     
    390390    { 
    391391         
    392         Timer.SingleShot(10, delegate { LuoTyyppi(tyyppi.Position, tyyppi.Width, tyyppi.Height); }); 
     392        Timer.SingleShot(10, delegate {  LuoTyyppi(tyyppi.Position, tyyppi.Width, tyyppi.Height, 1, 1); }); 
    393393        tyyppi.Destroy(); 
    394394    } 
  • 2015/24/OttoK/Grand Theft Norsu II/Grand Theft Norsu II/Grand Theft Norsu II/bin/x86/Debug/Content/kentta1.txt

    r6015 r6060  
    11............................................................................................................................ 
    22#..........................................................................................................................# 
     3#..........T......................................................T........................................................# 
    34#..........................................................................................................................# 
    4 #.........T.......................................................T........................................................# 
    55#.......########..................###.........................########.....................................................# 
    66#..........................................................................................................................# 
    77#..........................................................................................................................# 
    88#.....................................##########...............................#######.....................................# 
    9 #.................##########.........................................................................#######...............# 
    10 #.....................................................###......N.............................T.............................# 
     9#......T..........##########.................................................................T.......#######...............# 
     10#.....................................................###......N...........................................................# 
    1111#.##############..........................................#######........................#########.........................# 
    1212#.....................................###########..........................................................................# 
     
    1414#..................................................................#####...................................................# 
    1515#..........................................................####...................................####..######.............# 
    16 #.............................########..............................................................T......................# 
    17 #...................T.......................................##############......................#######....................# 
     16#...................T.........########.....................................................................................# 
     17#...........................................................##############......................#######....................# 
    1818#................#######...................########...........................##########...................................# 
    1919#.......###................................................................................................................# 
     20#.......................................T.............................T...................................T................# 
    2021#..........................................................................................................................# 
    21 #.......................................T................................................................T.................# 
    2222############################################################################################################################ 
  • 2015/24/OttoK/Grand Theft Norsu II/Grand Theft Norsu II/Grand Theft Norsu II/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r6029 r6060  
    99      <Options>None</Options> 
    1010      <Output>C:\MyTemp\OttoK\Grand Theft Norsu II\Grand Theft Norsu II\Grand Theft Norsu II\bin\x86\Debug\Content\kentta1.xnb</Output> 
    11       <Time>2015-06-11T10:30:29.0854056+03:00</Time> 
     11      <Time>2015-06-12T11:32:05.1111622+03:00</Time> 
    1212    </Item> 
    1313    <Item> 
     
    1818      <Options>None</Options> 
    1919      <Output>C:\MyTemp\OttoK\Grand Theft Norsu II\Grand Theft Norsu II\Grand Theft Norsu II\bin\x86\Debug\Content\maali.xnb</Output> 
    20       <Time>2015-06-11T09:08:41.7062305+03:00</Time> 
     20      <Time>2015-06-12T10:39:22.2784697+03:00</Time> 
    2121    </Item> 
    2222    <Item> 
     
    2727      <Options>None</Options> 
    2828      <Output>C:\MyTemp\OttoK\Grand Theft Norsu II\Grand Theft Norsu II\Grand Theft Norsu II\bin\x86\Debug\Content\norsu.xnb</Output> 
    29       <Time>2015-06-11T13:08:18.0637389+03:00</Time> 
     29      <Time>2015-06-12T10:39:22.2940698+03:00</Time> 
    3030    </Item> 
    3131    <Item> 
     
    3636      <Options>None</Options> 
    3737      <Output>C:\MyTemp\OttoK\Grand Theft Norsu II\Grand Theft Norsu II\Grand Theft Norsu II\bin\x86\Debug\Content\tahti.xnb</Output> 
    38       <Time>2015-06-11T09:08:41.8310305+03:00</Time> 
     38      <Time>2015-06-12T10:39:22.3096699+03:00</Time> 
    3939    </Item> 
    4040    <Item> 
     
    4545      <Options>None</Options> 
    4646      <Output>C:\MyTemp\OttoK\Grand Theft Norsu II\Grand Theft Norsu II\Grand Theft Norsu II\bin\x86\Debug\Content\kaupunkitausta.xnb</Output> 
    47       <Time>2015-06-11T09:08:41.9402305+03:00</Time> 
     47      <Time>2015-06-12T10:39:22.3096699+03:00</Time> 
    4848    </Item> 
    4949    <Item> 
     
    5454      <Options>None</Options> 
    5555      <Output>C:\MyTemp\OttoK\Grand Theft Norsu II\Grand Theft Norsu II\Grand Theft Norsu II\bin\x86\Debug\Content\panos.xnb</Output> 
    56       <Time>2015-06-11T11:12:25.85705+03:00</Time> 
     56      <Time>2015-06-12T10:39:22.32527+03:00</Time> 
    5757    </Item> 
    5858    <Item> 
     
    6363      <Options>None</Options> 
    6464      <Output>C:\MyTemp\OttoK\Grand Theft Norsu II\Grand Theft Norsu II\Grand Theft Norsu II\bin\x86\Debug\Content\liekki.xnb</Output> 
    65       <Time>2015-06-11T09:42:57.8290974+03:00</Time> 
     65      <Time>2015-06-12T10:39:22.3096699+03:00</Time> 
    6666    </Item> 
    6767    <Item> 
     
    7272      <Options>None</Options> 
    7373      <Output>C:\MyTemp\OttoK\Grand Theft Norsu II\Grand Theft Norsu II\Grand Theft Norsu II\bin\x86\Debug\Content\rajahdys_kuva.xnb</Output> 
    74       <Time>2015-06-11T09:41:07.4100566+03:00</Time> 
     74      <Time>2015-06-12T10:39:22.4344707+03:00</Time> 
    7575    </Item> 
    7676    <Item> 
     
    8181      <Options>None</Options> 
    8282      <Output>C:\MyTemp\OttoK\Grand Theft Norsu II\Grand Theft Norsu II\Grand Theft Norsu II\bin\x86\Debug\Content\auto1.xnb</Output> 
    83       <Time>2015-06-11T10:07:34.5537551+03:00</Time> 
     83      <Time>2015-06-12T10:39:22.4188706+03:00</Time> 
    8484    </Item> 
    8585    <Item> 
     
    9090      <Options>None</Options> 
    9191      <Output>C:\MyTemp\OttoK\Grand Theft Norsu II\Grand Theft Norsu II\Grand Theft Norsu II\bin\x86\Debug\Content\tyyppi.xnb</Output> 
    92       <Time>2015-06-11T10:59:36.75505+03:00</Time> 
     92      <Time>2015-06-12T11:35:27.8515802+03:00</Time> 
    9393    </Item> 
    9494    <BuildSuccessful>true</BuildSuccessful> 
     
    139139      <Assembly> 
    140140        <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> 
    141         <Value>2012-03-12T12:54:10.70805+02:00</Value> 
     141        <Value>2012-03-16T14:34:47.0906126+02:00</Value> 
    142142      </Assembly> 
    143143    </Assemblies> 
  • 2015/24/OttoK/Grand Theft Norsu II/Grand Theft Norsu II/Grand Theft Norsu IIContent/kentta1.txt

    r6015 r6060  
    11............................................................................................................................ 
    22#..........................................................................................................................# 
     3#..........T......................................................T........................................................# 
    34#..........................................................................................................................# 
    4 #.........T.......................................................T........................................................# 
    55#.......########..................###.........................########.....................................................# 
    66#..........................................................................................................................# 
    77#..........................................................................................................................# 
    88#.....................................##########...............................#######.....................................# 
    9 #.................##########.........................................................................#######...............# 
    10 #.....................................................###......N.............................T.............................# 
     9#......T..........##########.................................................................T.......#######...............# 
     10#.....................................................###......N...........................................................# 
    1111#.##############..........................................#######........................#########.........................# 
    1212#.....................................###########..........................................................................# 
     
    1414#..................................................................#####...................................................# 
    1515#..........................................................####...................................####..######.............# 
    16 #.............................########..............................................................T......................# 
    17 #...................T.......................................##############......................#######....................# 
     16#...................T.........########.....................................................................................# 
     17#...........................................................##############......................#######....................# 
    1818#................#######...................########...........................##########...................................# 
    1919#.......###................................................................................................................# 
     20#.......................................T.............................T...................................T................# 
    2021#..........................................................................................................................# 
    21 #.......................................T................................................................T.................# 
    2222############################################################################################################################ 
Note: See TracChangeset for help on using the changeset viewer.