Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ACB-prgm/Godot_GamePad

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.
https://github.com/ACB-prgm/Godot_GamePad

Last synced: 6 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# Godot GamePad (v1.1.0)
![Thumbnail_Transparent](https://user-images.githubusercontent.com/63984796/122614542-d982f280-d054-11eb-95aa-2936c55d3293.png)
### 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](https://github.com/ACB-prgm/Godot_GamePad/tree/main/Plugin) from this repository and integrating it into your project ([how to install plugins](https://docs.godotengine.org/en/stable/tutorials/plugins/editor/installing_plugins.html)). 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](https://github.com/ACB-prgm/Godot_GamePad/blob/main/PluginTest/addons/GodotGamePad/Networking/GamePad.gd) 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](https://github.com/ACB-prgm/Godot_GamePad/tree/main/Plugin/ExampleLobby) scene in the **Plugin** directory that shows how you might go about setting up a scene to connect controllers.

![Github_plugin_image](https://user-images.githubusercontent.com/63984796/107985163-68d0aa00-6f7e-11eb-9354-33b23a0c3f0b.png)

___

### 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)