- Timestamp:
- 2015-07-01 20:44:16 (8 years ago)
- Location:
- 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/LevelCreation.cs
r6705 r6706 55 55 void CreateBoss(Vector position, double width, double height, Angle angle, Shape shape, string name, Dictionary<string, string> properties) 56 56 { 57 BossHealth = new IntMeter( 2, 0, 10);57 BossHealth = new IntMeter(10, 0, 10); 58 58 59 59 var bar = new ProgressBar(Level.Width * 0.7, TILE_SIZE * 0.5); … … 249 249 void CreateBasicTile(Vector position, double width, double height, Image image, int layer, Dictionary<string, string> properties) 250 250 { 251 var tile = properties.ContainsKey("collide") ? PhysicsObject.CreateStaticObject(width, height) : new GameObject(width, height); 251 var tile = properties.ContainsKey("collide") ? PhysicsObject.CreateStaticObject(width, height) : new GameObject(width, height); //new PhysicsObject(width, height) PhysicsObject.CreateStaticObject(width, height) 252 252 tile.Image = image; 253 253 tile.Position = position; -
2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel.cs
r6705 r6706 305 305 viewing = true; 306 306 messagesviewed = new Queue<string>(item.Message); 307 Pause();307 308 308 309 309 Level.AmbientLight -= 0.75; 310 310 311 frame = new GameObject(LetterImage); 312 frame.Image = LetterImage; 311 frame = new GameObject(item.InventoryImage); 313 312 frame.Width = Window.Width * 0.25; 314 313 frame.Height = Window.Height * 0.25; 315 frame.Width = Level.Width * 0.25; 316 frame.Height = Level.Height * 0.25; 317 Add(frame); 314 frame.Position = player.Position; 315 Add(frame, 2); 318 316 319 317 midpoint = 26 * item.Message.Count() * 0.5; 318 Pause(); 320 319 321 320 } … … 333 332 ClearAll(); 334 333 CreatePlayer(new Vector(0, -300), TILE_SIZE, TILE_SIZE, Angle.Zero, Shape.Rectangle, "", null); 335 CreateLevel(" level1");334 CreateLevel("bossroom"); 336 335 //CreatePlayer(new Vector(-Level.Width/3, Level.Bottom + TILE_SIZE * 2)); 337 336 SetControls(); -
2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabrielContent/LegendOfGabrielTileset.tsx
r6632 r6706 12 12 </properties> 13 13 </tile> 14 <tile id="22"> 15 <properties> 16 <property name="collide" value="true"/> 17 </properties> 18 </tile> 19 <tile id="23"> 20 <properties> 21 <property name="collide" value="true"/> 22 </properties> 23 </tile> 24 <tile id="24"> 25 <properties> 26 <property name="collide" value="true"/> 27 </properties> 28 </tile> 14 29 </tileset> -
2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabrielContent/hobocave.tmx
r6698 r6706 5 5 <data encoding="base64" compression="zlib"> 6 6 eJwTZGBgEKQiZsOBydVHSD8hfbj0E6sPm35y9RISI1UvseFNSBydTUo845IHAApQBqg= 7 </data> 8 </layer> 9 <layer name="decoration" width="15" height="10"> 10 <data encoding="base64" compression="zlib"> 11 eJwTZGBgEKQiZsOBSdUnCaUloJhYfRI4+MS6E5d5uPSKE2EGNn243IFuHj69xIY3IXEYm5+MeMYlDwDXpAdA 7 12 </data> 8 13 </layer> -
2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabrielContent/level1.tmx
r6705 r6706 4 4 <layer name="base" width="25" height="40"> 5 5 <data encoding="base64" compression="zlib"> 6 eJztk 7sOgDAIRYlDnRz4/591cSAEaVO5mBCGMxU44VEmIhacAgahHUOwkm/FDcUl0G+e6y3WYsXxlQxH0zR1OB7Q9VEOdP1qPaDq/7WPjJ2g51bB0f9wfkOIm7JqZjgiZ77rmMVHzN7Li9qtlx81+8wbzHZk9BDhQjtuzvQXiQ==6 eJztkzEOgDAIRYlDnRy4mvc/TGPiQBqkjfIxIQxvEv5LAZmIWLALGMSVfQpHE6z0a3Vt4BCM3yzXU63GiuMrEY6iKPKw3aDzUQ50frY3oPL/2kfETtBzy+Co/3B+Q4ib0jIjHJ4zf+uY1XvM3urz2q3V7zX7yBuMdkS8wcOFdnQ/9xfU 7 7 </data> 8 8 </layer> 9 9 <layer name="decoration" width="25" height="40"> 10 10 <data encoding="base64" compression="zlib"> 11 eJzt1zEKgDAMBdA sXfVYulpHwfsfQwoGQih2+T8Y6AcXhTxSmkpF/pH1fZApHQMdb6Bi16O494yw+ogw7Jpk7mMa00BlIxutfiUaWp9l2Pos4zD1T5JxCb8P72gY56461uj9BxGODdK4B99RfXw5mc6rNos72dBZzG74+UAbuqf8fCCNUaKNJcBgJfqOM+8fscYDiTINLw==11 eJzt1zEKgDAMBdAudXVz9ja6qqPg/Y8hhQZCLHb5PxDoBwcr5JFiKqb0zdJYQ2c193O9kMkNAx1roKL3I5t1Rlh9eBh6TyL3MYxhoLKRjVL/JBpSn2Xo+izjUPUvknEnfh/WkTDOXXG00foOIhwdpPF0nqP6+HMinVdlFneyIbMY3bDzgTbknbLzgTR68TYmB4MV73+c8f/ha7yvhw1d 12 12 </data> 13 13 </layer>
Note: See TracChangeset
for help on using the changeset viewer.