Skip to content

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.

License

Notifications You must be signed in to change notification settings

ACB-prgm/Godot_GamePad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

  • D-Pad
  • Joystick
  • Action Buttons
  • Square Text Buttons (versatile buttons that are more customizable. Start/menu buttons and trivia buttons are examples)
  • X Text Input (enter names or trivia answers)
  • X Steering Wheel (Gyroscope)
  • X Aesthetics Editing (change background image and color)
  • X Multiple Layouts (save multiple controller layouts enabling different players to have different layouts)

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published