A downloadable asset pack for Windows

Buy Now$4.99 USD or more

Project for GameMaker v2024+
by Bulletech Studios

Shows how to implement gamepad (eg. Xbox/PlayStation controllers) local multiplayer into your game.

Preview: Click here or see below to download Windows preview
- Esc (keyboard) or Start (controller) to pause. Left Click (mouse) or Right Trigger (controller) to shoot.

Features:

  • The example is for up to 4 players but the code supports reducing or expanding for more players or to change to a singleplayer game
  • Supports Player 1 using keyboard+mouse or a gamepad
  • Managing menus and menu options (connection screen, pause menu, gamepad disconnected popup)
  • Use left thumbstick for menu selection
  • Automatically recognize connection and disconnection of gamepads
  • Add players with their own properties (e.g. score, colour...)
  • Remove players with or without disconnecting their gamepad
  • Move and rotate players with left and right thumbsticks
  • Shoot with the trigger. Gamepad vibration on damage
  • Check for gamepad type (Xbox/PlayStation)
  • Clear, concise commenting to help understand how everything works

Note: only tested on Windows and Mac with Xbox and PlayStation controllers. GameMaker doesn't support vibration for PlayStation controllers.

Purchase

Buy Now$4.99 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $4.99 USD. You will get access to the following files:

Gamepad Local Multiplayer.yyz 333 kB

Download demo

Download
Gamepad Local Multiplayer.zip 4.4 MB

Leave a comment

Log in with itch.io to leave a comment.