About 2,410,000 results
Open links in new tab
  1. Input examplesGodot Engine (stable) documentation in English

    In the first case, you can use the _input() function, which will be called whenever an input event occurs. In the second case, Godot provides the Input singleton, which you can use to query the state of an input. Examples: This gives you the flexibility to mix-and-match the type of input processing you do.

  2. Learning the basics of input actions (Godot 4/C#) - Medium

    Oct 9, 2023 · So, in this article, we’ll see why input actions are an interesting tool, how to create custom ones in a Godot project and how to use them in your C# code to trigger some specific actions...

  3. Implementation of the processing input via C# events in Godot ... - Reddit

    Apr 2, 2024 · Implementation of the processing input via C# events in Godot Engine. Hello everyone! Recently, I started to do my own game, but I faced the fact that the Godot can hadle input only via if/else statements. I read a lot about it on the forums and documentations and haven't found the solution.

  4. GitHub - godotmancer/SampleGodotCSharpProject: A work-in …

    Develop game mechanics and patterns for Godot 4 using C#. Try to make the development experience as satisfying and consistent as possible. This project will also serve as a 'light' benchmark of the current master branch of Godot 4.

  5. Input Cheatsheet | CheatSheets | GDQuest

    Godot calls input methods (_input (), _gui_input (), _unhandled_input (), ...) in a specific order: It first sends input events to _input (), then _gui_input (), _unhandled_input (), and finally _input_event (). This system lets you prioritize input handling …

  6. Using InputEvent — Godot Engine (3.5) documentation in English

    Managing input is usually complex, no matter the OS or platform. To ease this a little, a special built-in type is provided, InputEvent. This datatype can be configured to contain several types of input events.

  7. Class Input | Godot4 C# API - straydragon.github.io

    See Input examples in the documentation for more information. Note: During input handling (e.g. _Input(InputEvent)), use IsActionPressed(StringName, bool, bool) instead to query the action state of the current event.

  8. Using input actions (Basics) [Godot 4/C# Tutorial] - YouTube

    #godot #gamedev #inputLet's see how to create and use input actions in a Godot/C# project :)🗒 Text version on Medium: https://mina-pecheux.medium.com/learni...

  9. How do I create a blank InputEvent in C# and then assign a value …

    Mar 24, 2025 · public static void add_inputeventkey(string action, int keycode) { Godot.Collections.Array<InputEvent> actioninputs = InputMap.ActionGetEvents(action); foreach (InputEvent input in actioninputs) { if (input is InputEventKey inputKey && inputKey.GetPhysicalKeycodeWithModifiers() == (Key)keycode) { GD.Print("Key assignment redundancy: tried to ...

  10. Input examplesGodot Engine (4.x) documentation in English

    Úvod: In this tutorial, you'll learn how to use Godot's InputEvent system to capture player input. There are many different types of input your game may use - keyboard, gamepad, mouse, etc. - and m...

  11. Some results have been removed