Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[changed] Boat movement speed changes #2166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Entities/Vehicles/Boats/Dinghy.as
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ void onInit(CBlob@ this)
AddIconToken("$store_inventory$", "InteractionIcons.png", Vec2f(32, 32), 28);

Vehicle_Setup(this,
250.0f, // move speed
240.0f, // move speed
0.31f, // turn speed
Vec2f(0.0f, -2.5f), // jump out velocity
true // inventory access
Expand Down
2 changes: 1 addition & 1 deletion Entities/Vehicles/Boats/LongBoat.as
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const int sail_index = 0;
void onInit(CBlob@ this)
{
Vehicle_Setup(this,
300.0f, // move speed
270.0f, // move speed
0.18f, // turn speed
Vec2f(0.0f, -2.5f), // jump out velocity
true // inventory access
Expand Down
2 changes: 1 addition & 1 deletion Entities/Vehicles/Boats/WarBoat/WarBoat.as
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
void onInit(CBlob@ this)
{
Vehicle_Setup(this,
307.0f, // move speed
320.0f, // move speed
0.47f, // turn speed
Vec2f(0.0f, -5.0f), // jump out velocity
true // inventory access
Expand Down
3 changes: 1 addition & 2 deletions Entities/Vehicles/Common/BoatCommon.as
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ void onTick(CBlob@ this)
}

// rear splash

if (this.isInWater() && this.getShape().vellen > 2.0f)
if (this.isInWater() && this.getShape().vellen > 2.2f)
{
Vec2f pos = this.getPosition();
f32 side = this.isFacingLeft() ? this.getWidth() : -this.getWidth();
Expand Down