Home

Awesome

Godot GamePad (v1.1.0)

Thumbnail_Transparent

Introduction

The Godot GamePad is a two-part project that allows players to use their mobile devices as controllers with games made in Godot. The mobile app will be free to download on the Google Play and Apple App stores when it is finished. The aim of this project to make local multiplayer games more accessible to players and developers by replacing costly physical controllers with a device available to everyone.


For Developers

if you are going to try and build the GamePad Mobile app yourself, you must use Godot 3.2.4 or higher. Otherwise, there will be significant latency

As a developer, you can allow your game to work with the gamepad by downloading the GodotGamePad Plugin from this repository and integrating it into your project (how to install plugins). This plugin allows you to configure the layout of the controller as shown in the image below to be custom for your game. This plugin also creates an autoload called GamePad that serves as an API for receiving the controller inputs and connecting and managing GamePads. To understand how to use it, open the script and read the comments. (this will be improved in the future). There is also currently an Example Lobby scene in the Plugin directory that shows how you might go about setting up a scene to connect controllers.

Github_plugin_image


Planned Features:

(√ = added, X = not yet added)