Changeset 7932 for 2016/27/PekkaP


Ignore:
Timestamp:
2016-07-07 11:06:22 (3 years ago)
Author:
pepihlaj
Message:
 
Location:
2016/27/PekkaP/FinnishTroops/FinnishTroops
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • 2016/27/PekkaP/FinnishTroops/FinnishTroops/FinnishTroops/FinnishTroops.cs

    r7894 r7932  
    3131 
    3232        Camera.Follow(pelaaja1); 
    33         Camera.ZoomFactor = 1.2; 
     33        Camera.ZoomFactor = 2.5; 
    3434        Camera.StayInLevel = true; 
    3535    } 
     
    7070        pahis.Weapon.ProjectileCollision = AmmusOsui; 
    7171        Timer ajastin = new Timer(); 
    72         ajastin.Interval = 1.5; 
     72        ajastin.Interval = 2.0; 
    7373        ajastin.Timeout += delegate { PahisAmmuAseella(pahis); }; 
    7474            ajastin.Start(); 
     
    7676 
    7777    } 
    78  
     78     
    7979    void LisaaTaso(Vector paikka, double leveys, double korkeus) 
    8080    { 
     
    223223 
    224224        } 
     225       if (kohde.Tag.Equals("PahisSotilas")) 
     226        { 
     227            (kohde as Vihu).ElamaLaskuri.Value -= 1; 
     228        } 
    225229 
    226230 
     
    258262    private IntMeter elamaLaskuri = new IntMeter(3, 0, 3); 
    259263    public IntMeter ElamaLaskuri { get { return elamaLaskuri; } } 
    260  
     264     
    261265    public Vihu(double leveys, double korkeus) 
    262266        : base(leveys, korkeus) 
    263267    { 
    264         elamaLaskuri.LowerLimit += delegate { this.Destroy(); }; 
    265          
    266     } 
     268        elamaLaskuri.LowerLimit += delegate { Destroy(); }; 
     269    }  
     270     
     271     
     272     
     273        
    267274} 
  • 2016/27/PekkaP/FinnishTroops/FinnishTroops/FinnishTroops/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r7894 r7932  
    4545      <Options>None</Options> 
    4646      <Output>C:\MyTemp\PekkaP\FinnishTroops\FinnishTroops\FinnishTroops\bin\x86\Debug\Content\kentta1.xnb</Output> 
    47       <Time>2016-07-06T14:49:02.3470913+03:00</Time> 
     47      <Time>2016-07-07T10:11:08.7943695+03:00</Time> 
    4848    </Item> 
    4949    <Item> 
  • 2016/27/PekkaP/FinnishTroops/FinnishTroops/FinnishTroopsContent/kentta1.txt

    r7894 r7932  
    11#.......................................................................# 
     2#N.........................#....................#M...........*..........# 
     3######################################################################..# 
    24#.......................................................................# 
    3 #.......................................................................# 
    4 #.......................................................................# 
    5 #.......................................................................# 
    6 #.......................................................................# 
    7 #.......................................................................# 
    8 #.......................................................................# 
    9 #.......................................................................# 
    10 #.......................................................................# 
    11 #.......................................................................# 
    12 #..........................................#.M...M#..........M....M..M..# 
    13 ##########......############..............####...###.........############ 
    14 #..............##.........M#...............#..M.#.#..........#..........# 
    15 #.............##..........##...............#..#...#..........#MMMM......# 
    16 #............##............................##.....#..........#####......# 
    17 #.N.........##.....M...M................................................# 
     5#.............#.....................#...........*........#..............# 
     6#............M#.......**...........M#...........#.......M#..............# 
     7#...##################################################################### 
     8#...#...................................................................# 
     9#...#...................................................................# 
     10#...#...................................................................# 
     11#...#...................................................................# 
     12#...#...M.#.......M............#.M.#.......#.M...M#.........#M....M..M..# 
     13#...#######....############....#####.....####...###...##....############# 
     14#..............##.........M#...#...#.......#..M.#.#..........#..........# 
     15###...........##..........##...#.M.#.......#..#...#..........#MMMM......# 
     16#............##................#.#.#.......##.....#..........#####......# 
     17#M........M.##.....M...M................................................# 
    1818######################################################################### 
Note: See TracChangeset for help on using the changeset viewer.