Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Conversation

@ghost
Copy link

@ghost ghost commented Jul 5, 2021

General Documentation

Intent of your Pull Request

Ports this PR. My private server lagged, but I don't think it was because of smooth diagonal movement.

Why is this change good for the game?

The movement delay for going diagonally was set to an arbitrary 2x multiplier. The actual multiplier should be sqrt(2), which is ~1.4

Wiki Documentation

Briefly describe your PR and the impacts of it, in layman's terms.

Faster diagonal movement.

What should players be aware of when it comes to the changes your PR is implementing?

As much as I hate repeating the same thing for every part of this template, faster diagonal movement.

What general grouping does this PR fall under?

Movement tweaks.

If there are any numerical values involved in your PR that will be relevant to a player, please note them here.

The movement delay uses 1.414214 now. What does this mean? I don't really know.

Changelog

Edit this changelog for changes that are noticeable by the players. Remove it if this isn't the case. If you add a name after the ':cl', that name will be used in the changelog. Leave it empty to use your GitHub name. Prefix the PR title with [admin] if it's something admin related. Prefix the PR title with [s] if you are fixing an exploit so it is not announced on discord and the server.

🆑
tweak: diagonal movement is faster now
/:cl:

@Yogbot-13 Yogbot-13 added the Tweak This PR contains changes to the game. label Jul 5, 2021
@JamieD1 JamieD1 added the TESTMERGED This PR is currently live in a test merge. label Jul 18, 2021
@Darkstick
Copy link
Contributor

Darkstick commented Jul 19, 2021

This makes all movement significantly faster. I don't like that... Besides, diagonal movement is supposed to be slower since it's traveling two tiles at once

@Cartlord
Copy link
Contributor

Please do not do this

@adamsong
Copy link
Contributor

This makes all movement significantly faster.

It does not

Please do not do this

Why? All it does it make it so the delay is appropriate for the actual distance you travel

@ghost
Copy link
Author

ghost commented Jul 20, 2021

The delay should be exactly equivalent to walking in a cardinal direction.

@JamieD1 JamieD1 merged commit 6da3602 into yogstation13:master Jul 24, 2021
Yogbot-13 added a commit that referenced this pull request Jul 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

TESTMERGED This PR is currently live in a test merge. Tweak This PR contains changes to the game.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants