jsocol / jsocol/asteroids

Hitting the speed limit puts you in a kind of "Hyper-control" mode

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
17
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Because of my not-really-naïve-but-not-really-intelligent-either implementation of speed limits in the player.thrust() method, there are two interesting behaviors at full-speed:

  1. If you hold UP while at full-speed and then turn, you turn like a car, not like a space-ship.
  2. If you're going full-speed (not holding UP) turn (nearly-)90-degrees, and then hit UP, the turn is (near-)instant.

I'm almost tempted not to fix it because it's kind of an easter egg and not remotely helpful in terms of gameplay.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the player.thrust() method and reproducing both full-speed behaviors described in the issue: turning while holding UP, and turning nearly 90 degrees before pressing UP. Confirm with the project maintainer which turning behavior is intended, then verify that the chosen behavior no longer produces the reported hyper-control effects.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.