godotengine / godotengine/godot-docs

"Dodge the Creeps" still uses old Input vector configuration

Open
#6,687 4 comments 2 reactions 0 assignees View on GitHub
area:getting started enhancement
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
v4.0.beta16.official [518b9e580]

**Issue description:**
I'm currently working my way through the **Getting Started** section of the docs, and I noticed that although the *2D movement overview* correctly outlines how to use the more straightforward `Input.get_vector("left", "right", "up", "down")` for player movement, the beginner tutorials still use the antiquated _pre-3.5_ technique of using four separate calls of `Input.is_action_pressed()`, which was honestly always a lot more confusing than the newer `get_vector()` method.

I think the beginner tutorials should be updated so as to teach new users the more efficient and straightforward way of handling player input, so they're not unnecessarily confused early on – and so they don't have to *un*learn the old way later.

EDIT: _Dodge the Creeps 3D_ also still has the outdated code. (see below)

**URL to the documentation page (if already existing):**
[https://docs.godotengine.org/en/latest/getting_started/first_2d_game/03.coding_the_player.html](https://docs.godotengine.org/en/latest/getting_started/first_2d_game/03.coding_the_player.html)

https://docs.godotengine.org/en/latest/getting_started/first_3d_game/03.player_movement_code.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.