Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Mazed |
I have built a small, very simple demo scene. Apart from a few tilemaps (3, small) and a single Character2D object, nothing is included. In the debugger monitor, however, the number of objects grows rapidly due to input activity (keyboard/gamepad). Within half a minute I have thousands of objects and it keeps growing.
I use normal input routines like:
public override void _Input(InputEvent @event)
{
if (@event.IsActionPressed("GameSelectMenu"))
ChangeScene(SceneID.MENU);
}
or
Vector2 direction = Input.GetVector("MoveLeft", "MoveRight", "MoveUp", "MoveDown");
Does anyone have an explanation for this?
Godot 4.0.3 C# / Win11