Changeset 5880 for 2015


Ignore:
Timestamp:
2015-06-05 11:06:29 (5 years ago)
Author:
toolala
Message:
 
Location:
2015/23/ToukoA/HotlineVihti/FatalShot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 2015/23/ToukoA/HotlineVihti/FatalShot/FatalShot/FatalShot.cs

    r5876 r5880  
    1313 
    1414    IntMeter haulit; 
     15 
     16    //SoundEffect kalashnikovsound = LoadSoundEffect("kalashnikovsound"); 
    1517 
    1618    Image pelaajanKuva = LoadImage ("pelaajav1"); 
     
    181183            { 
    182184                //Camera.FollowOffset = Vector.FromLengthAndAngle(50.0, -pelaajan1Ase2.Angle); 
    183                 Camera.Position = pelaaja1.Position + Vector.FromLengthAndAngle(20.0, -pelaajan1Ase2.Angle); 
     185                Camera.Position = pelaaja1.Position + Vector.FromLengthAndAngle(60.0, -pelaajan1Ase2.Angle); 
    184186                rekyyliOn = false; 
    185187 
     
    189191                { 
    190192                    //Camera.FollowOffset = Vector.FromLengthAndAngle(25.0, pelaajan1Ase2.Angle); 
    191                     Camera.Position = pelaaja1.Position + Vector.FromLengthAndAngle(15.0, pelaajan1Ase2.Angle); 
     193                    Camera.Position = pelaaja1.Position + Vector.FromLengthAndAngle(25.0, pelaajan1Ase2.Angle); 
    192194                    rekyyliOn = true; 
    193195                    haulikkorekyyli = false; 
     
    304306    { 
    305307        PhysicsObject ammus = ase2.Shoot(); 
    306         
     308        //kalashnikovsound.Play(); 
    307309        //for (int i = 0; i < 10; i++) 
    308310        //{ 
     
    401403    { 
    402404        pelaaja1.Remove(pelaajan1Ase); 
    403         pelaaja1.Remove(pelaajan1Ase3); 
     405        pelaaja1.Remove(pelaajan1Ase3);  
    404406        pelaaja1.Remove(pelaajan1Ase2); 
    405407 
     
    594596            //verilantti.IgnoresCollisionResponse = true; 
    595597 
    596             (kohde as Pahis).ElamaLaskuri.Value -= 1; 
     598            (kohde as Pahis).ElamaLaskuri.Value -= 2; 
    597599        } 
    598600 
  • 2015/23/ToukoA/HotlineVihti/FatalShot/FatalShotContent/kentta.txt

    r5876 r5880  
    22#........................##../...#....#...&........# 
    33#.# .&...............#...##......#....#.........&..# 
    4 #%#......&...........#...##......#.........&.......# 
    5 #H#...&..............#...##......#....#............# 
     4#%#......&...........#..H##......#.........&.......# 
     5#.#...&..............#...##......#....#............# 
    66#....................#...##......#....#........&...# 
    77#....................#...##..&...#....#............# 
    88#..................#.....##......#.........&.......# 
    9 #..................#.....H.......#....############## 
     9#..................#.............#....############## 
    1010#........................##......#..&..............# 
    1111#................&.......##......#....#............# 
Note: See TracChangeset for help on using the changeset viewer.