Changeset 8515 for 2017/24


Ignore:
Timestamp:
2017-06-12 13:12:19 (2 years ago)
Author:
npo17_19
Message:

jotain

Location:
2017/24/VihantiK/Pong
Files:
3 added
7 edited

Legend:

Unmodified
Added
Removed
  • 2017/24/VihantiK/Pong/Pong/Pong/Pong.cs

    r8500 r8515  
    1111    public override void Begin() 
    1212    { 
     13        PhysicsObject pallo = new PhysicsObject(40.0, 40.0); 
     14        pallo.Shape = Shape.Circle; 
     15        pallo.X = -200.0; 
     16        pallo.Y = 0.0; 
     17        pallo.Restitution = 1.0; 
    1318 
    1419        Add(pallo); 
    15         PhysicsObject pallo = new PhysicsObject(40.0, 40.0); 
    16         pallo.X = -200.0; 
    17         pallo.Y = 0.0; 
     20 
     21        Level.CreateBorders(1.0, false); 
     22        Level.BackgroundColor = Color.Black; 
     23 
     24        Camera.ZoomToLevel(); 
     25 
    1826        Vector impulssi = new Vector(500.0, 0.0); 
    1927        pallo.Hit(impulssi); 
    20         Level.CreateBorders(1.0,  false); 
    21         pallo.Restitution = 1.0; 
    22         Level.Background.Color = Color.Black; 
    23         Camera.ZoomToLevel(); 
    2428 
    25  
    26  
    27  
    28         PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); 
    2929        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 
    3030    } 
    31  
    32  
    33  void LuoKentta() 
    34 { 
    35     } 
    3631} 
  • 2017/24/VihantiK/Pong/Pong/Pong/obj/x86/Debug/Pong.csproj.FileListAbsolute.txt

    r8500 r8515  
    66C:\MyTemp\VihantiK\Pong\Pong\Pong\obj\x86\Debug\Pong.exe 
    77C:\MyTemp\VihantiK\Pong\Pong\Pong\obj\x86\Debug\Pong.pdb 
     8C:\MyTemp\VihantiK\Pong\Pong\Pong\obj\x86\Debug\Pong.csprojResolveAssemblyReference.cache 
Note: See TracChangeset for help on using the changeset viewer.