source: 2017/24/TuukkaP/Mopo trials/Mopo trials/Mopo_trials/Mopo_trials.cs @ 8670

Revision 8670, 715 bytes checked in by npo17_29, 6 years ago (diff)
Line 
1using System;
2using System.Collections.Generic;
3using Jypeli;
4using Jypeli.Assets;
5using Jypeli.Controls;
6using Jypeli.Effects;
7using Jypeli.Widgets;
8
9public class Mopo_trials : PhysicsGame
10{
11    public override void Begin()
12    {
13        Image moponkuva = LoadImage("mopedi");
14        PhysicsObject olio = new PhysicsObject(100, 50);
15        Level.CreateBorders();
16        //Level.BackgroundColor = Color.Red;
17        Camera.ZoomToLevel();
18        Add(olio);
19        olio.Image = moponkuva;
20
21       
22   
23       
24
25
26       
27
28        PhoneBackButton.Listen(ConfirmExit, "Lopeta peli");
29        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli");
30    }
31}
Note: See TracBrowser for help on using the repository browser.