source: 2016/26/ViiviV/AlpacaJump/AlpacaJump/AlpacaJump/AlpacaJump.cs @ 7573

Revision 7573, 535 bytes checked in by vivivaur, 5 years ago (diff)

aloitin pelini

Line 
1using System;
2using System.Collections.Generic;
3using Jypeli;
4using Jypeli.Assets;
5using Jypeli.Controls;
6using Jypeli.Effects;
7using Jypeli.Widgets;
8
9public class AlpacaJump : PhysicsGame
10{
11    Image olionKuva = LoadImage("alpaca");
12
13    public override void Begin()
14    {
15
16        PlatformCharacter alpaca = new PlatformCharacter(50, 50);
17        alpaca.Shape = Shape.Rectangle;
18        Add(alpaca);
19        alpaca.Mass = 10.0;
20        alpaca.Image = olionKuva;
21        alpaca.Shape = Shape.Circle;
22
23    }
24}
Note: See TracBrowser for help on using the repository browser.