Changeset 6547 for 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/LevelCreation.cs
- Timestamp:
- 2015-06-29 23:43:37 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/LevelCreation.cs
r6546 r6547 4 4 using System.Text; 5 5 using Jypeli; 6 7 /* 8 *Klassisia muistutuksia 9 * 3 10 * 2 Pelaajan päällä näkyvät elementit 11 * 1 Pelaaja 12 * 0 Lisäkoriste 13 * -1 Perustiili 14 * -2 15 */ 16 6 17 7 18 public partial class TheLegendOfGabriel : PhysicsGame … … 29 40 { 30 41 player = new Creature(TILE_SIZE, TILE_SIZE); 42 player.CanRotate = false; 31 43 player.MovementSpeed = 2300; 32 44 player.Position = position; … … 35 47 player.MoveAnimations[Direction.Up] = playerWalkUp; 36 48 player.MoveAnimations[Direction.Down] = playerWalkDown; 37 player.Image = playerWalkDown.CurrentFrame; 49 player.Image = playerWalkDown.CurrentFrame; 38 50 Add(player, 1); 39 51
Note: See TracChangeset
for help on using the changeset viewer.