- Timestamp:
- 2015-06-30 14:53:59 (6 years ago)
- Location:
- 2015/27/AnttiV
- Files:
-
- 40 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/27/AnttiV/Tasohyppelypeli2/Tasohyppelypeli2/Tasohyppelypeli2/Tasohyppelypeli2.csproj
r6574 r6601 111 111 </ItemGroup> 112 112 <ItemGroup> 113 <Compile Include="chase.cs" /> 113 114 <Compile Include="Ohjelma.cs" /> 114 <Compile Include="Tasohyppelypeli2.cs" />115 115 <Compile Include="Properties\AssemblyInfo.cs" /> 116 116 </ItemGroup> -
2015/27/AnttiV/Tasohyppelypeli2/Tasohyppelypeli2/Tasohyppelypeli2/chase.cs
r6574 r6601 22 22 SoundEffect maaliAani = LoadSoundEffect("maali"); 23 23 24 24 25 public override void Begin() 25 26 { 27 28 29 30 26 31 Image taustaKuva = LoadImage("background-city"); 27 32 … … 39 44 void LuoKentta() 40 45 { 46 41 47 TileMap kentta = TileMap.FromLevelAsset("kentta1"); 42 48 kentta.SetTileMethod('#', LisaaTaso); … … 48 54 } 49 55 56 void LuoKentta(string kentta1); 50 57 void LisaaPiikki(Vector paikka, double leveys, double korkeus) 51 58 { -
2015/27/AnttiV/Tasohyppelypeli2/Tasohyppelypeli2/Tasohyppelypeli2Content/kentta1.txt
r6574 r6601 3 3 4 4 5 N P * 5 6 7 8 9 10 11 12 13 14 15 16 N P * 6 17 ############################# 7 ############ 8 #################### #########################################################################18 ############ ######################################################################### 19 #################### -
2015/27/AnttiV/the chase down/the chase down/the chase down/the chase down.csproj
r6574 r6601 118 118 <Content Include="Game.ico" /> 119 119 <Content Include="GameThumbnail.png" /> 120 <Content Include="Untitled.png" /> 120 121 </ItemGroup> 121 122 <ItemGroup> -
2015/27/AnttiV/the chase down/the chase down/the chase down/the_chase_down.cs
r6574 r6601 11 11 public override void Begin() 12 12 { 13 // TODO: Kirjoita ohjelmakoodisi tähän13 PlatformCharacter auto1; 14 14 15 Image autonkuva = LoadImage("Untiled"); 15 16 PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); 16 17 Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli");
Note: See TracChangeset
for help on using the changeset viewer.