This commit is contained in:
Regalis
2015-11-20 17:44:38 +02:00
parent cddf4f1bde
commit 91fa25ecd2
7 changed files with 35 additions and 18 deletions

View File

@@ -48,18 +48,6 @@
<topwall sprite="Content/Map/testroom.png" sourcerect="144,464,496,32" depth ="0.06" castshadow="true"
width = "64" height ="32" resizehorizontal="true" body="true" health="500"/>
<CornerUpperLeft sprite="Content/Map/testroom.png" sourcerect="192,512,224,160" depth ="0.03"
width = "224" height ="160"/>
<CornerUpperRight sprite="Content/Map/testroom.png" sourcerect="416,512,224,160" depth ="0.03"
width = "224" height ="160"/>
<CornerBottomLeft sprite="Content/Map/testroom.png" sourcerect="192,512,224,160" depth ="0.03"
width = "224" height ="160" flipvertical="true"/>
<CornerBottomRight sprite="Content/Map/testroom.png" sourcerect="416,512,224,160" depth ="0.03"
width = "224" height ="160" flipvertical="true"/>
<topwindow sprite="Content/Map/testroom.png" sourcerect="208,352,128,80" depth ="0.05"
width = "128" height ="80" body="true" health="100"/>

View File

@@ -9,6 +9,7 @@
lifetime="2"
growtime ="0.2"
collideswithwalls="true"
collisionradius="30.0"
velocitychange="0.0, -9.8">
<sprite texture="Content/Particles/spatter.png" sourcerect="0,0,128,128"/>
<sprite texture="Content/Particles/spatter.png" sourcerect="128,0,128,128"/>

View File

@@ -196,9 +196,7 @@ namespace Barotrauma
Limb rightLeg = GetLimb(LimbType.RightLeg);
if (character.SelectedCharacter != null) DragCharacter(character.SelectedCharacter);
float getUpSpeed = 0.3f;
float walkCycleSpeed = head.LinearVelocity.X * walkAnimSpeed;
if (stairs != null)
@@ -261,7 +259,7 @@ namespace Barotrauma
if (!onGround || (LowestLimb.SimPosition.Y - floorY > 0.5f && stairs == null)) return;
getUpSpeed = getUpSpeed * (head.SimPosition.Y - colliderPos.Y);
getUpSpeed = getUpSpeed * Math.Max(head.SimPosition.Y - colliderPos.Y, 0.1f);
if (stairs != null)
{

View File

@@ -53,7 +53,7 @@ namespace Barotrauma
frame.Color = Color.White * 0.4f;
frame.Padding = new Vector4(5.0f, 5.0f, 5.0f, 5.0f);
listBox = new GUIListBox(new Rectangle(0,0,0, frame.Rect.Height-40), Color.Black*0.8f, null, frame);
listBox = new GUIListBox(new Rectangle(0,0,0, frame.Rect.Height-40), Color.Black*0.9f, null, frame);
textBox = new GUITextBox(new Rectangle(0,0,0,20), Color.Black*0.6f, Color.White, Alignment.BottomLeft, Alignment.Left, null, frame);
NewMessage("Press F3 to open/close the debug console", Color.Cyan);

View File

@@ -197,7 +197,7 @@ namespace Barotrauma
//how fast the sub is moving, scaled to 0.0 -> 1.0
float movementFactor = 0.0f;
if (Submarine.Loaded!=null)
if (Submarine.Loaded != null)
{
movementFactor = (Submarine.Loaded.Speed == Vector2.Zero) ? 0.0f : Submarine.Loaded.Speed.Length() / 500.0f;

View File

@@ -1,4 +1,34 @@
---------------------------------------------------------------------------------------------------------
v0.2.6
---------------------------------------------------------------------------------------------------------
Multiplayer:
- major changes to the networking code: better lag compensation, more reliable item/character
syncing, lower bandwidth consumption
- spectator mode
Submarine:
- overloading the electrical grid or the reactor may cause fires
Characters:
- blood texture drawn on damaged limbs
- fixed limbs clipping through walls
- some new head sprites
Items:
- underwater scooters
- water detector
- jumpsuits for engineers and mechanics
- new artifact with an effect that makes retrieving it much harder
- less obtrusive ''fow effect'' when wearing a diving suit or a mask
- fire extinguishers
- some new sprites
Misc:
- fixed placing ladders and labels in sub editor
- fixed a couple of game-crashing bugs in submarine saving
---------------------------------------------------------------------------------------------------------
v0.2.5
---------------------------------------------------------------------------------------------------------

Binary file not shown.