Managing extra player controls
reddit.com·1d·
Discuss: r/godot
🖼️Frame Allocation
Preview
Report Post

I’ve just hit my first major roadblock in my game development process: input contexts.

My goal is to have my first input context be for the “Player” (CharacterBody2D) to explore the level. This is WASD input for basic movement.

The second input context will be for the “Player” to pause movement after the ENTER key is toggled. This will disable WASD input for this node. This will also trigger a separate SELECT/MOVE controller instance (not “Player, but also a CharacterBody2D) where instead you play as a selection box that the WASD is now connected to. This controller can interact with “Entity” (CharacterBody2D) to pick them up and place them elsewhere, which is not a function of the “Player” class.

How would I achieve switching between...

Similar Posts

Loading similar posts...