How can I test local multiplayer

Godot Version

4.3

Question

hi my game uses controllers but I only have 1, does anybody know how I can test 2 controllers at the same time as my game has local multiplayer

If you don’t want to buy a second controller (which is probably the best answer; you probably ought to be able to get something like a Logitech F310 pretty cheap), my advice would be to allow keyboard controls.

If you want to get more complex, you could record input on one controller (by storing input in an array you can write out to file) and then “play back” the controller stack on player 2.

1 Like

I cannot use keyboard controls as I have to submit my game to something which is controller only

I was hoping Godot had some way to emulate a controller or multiple controllers

1 Like

Ah, then see:

Input.parse_input_event() looks like it can be used to feed synthetic input to the game.

2 Likes