• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

gamepad

  1. M

    GameMaker Xbox One Controller detected but buttons do not work on M1 Mac Monterey

    The Xbox Controller is detected by OS and working perfectly outside gamemaker. Somehow the analog sticks are working but the buttons do not on gamemaker. Confirmed I am using the right controller ID. the controller is connected by bluetooth. How does this get solved?
  2. Nathan Laing

    Legacy GM Gamepad D-PADS not responding correctly

    Greetings, Gamemaker 1.4.9999 I have two different gamepads, both will not respond to any D-PAD code. (the other buttons do respond) One of the controller's D-PADS will respond if I switch it to analogue mode, but it will not respond correctly; the directions are all mixed up. I am using this...
  3. Yethwhinger

    Windows Prototype of a 2-Player Tactical RPG

    I am developing a prototype of a 2-player tactical RPG. Development goals include allowing 1) two-player exploration, 2) the starting and extinguishing of fires (which can spread on their own), 3) units that can escape combat individually in a way that affects future scenarios, 4) exploration...
  4. Adriano_ppaula

    SOLVED Help with 2-player gamepad sync

    Hello everyone!!! Folks, I'm having problems writing a feature for a cooperative project I'm doing. I was recently in need of a way to synchronize gamepad and found a tutorial showing how to do this, it was perfect because if you put this code in an Async it identifies the controller in real...
  5. K

    GMS2 not detecting gamepad?

    Hello. When using gamepad input code such as gp_axislh or gp_face1, I get no response from GM. key_left = keyboard_check( ord("A") ) || (gamepad_axis_value(0,gp_axislh) < 0) key_right = keyboard_check( ord("D") ) || (gamepad_axis_value(0,gp_axislh) > 0) var move = key_right - key_left; hsp...
  6. Pelican Police

    SOLVED Runner immediately closing with no error

    After an update, I was having a rather scary problem that I couldn't trace, where my game would just randomly close - no error. Assuming the worst, I thought it could be that GM1.4 had finally met its final day. After some digging, I have discovered that it was because I was trying to call a...
  7. E

    Gamepad not working

    Hello! I have been trying to implement gamepad controls to my game, however, It seems like GameMaker cant detect any input on the controller to demonstrate I'm using this code: show_debug_message(gamepad_button_check(0, gp_face1)) (don't know if this counts but I'm using a ps4 controller)
  8. 2

    Legacy GM Joystick Functions: Still Work on New Controller, but Why and How Common?

    I have some pre-Studio game projects which use joystick_check_button() functions instead of the Studio only gamepad_button_check() functions. The older functions would presumably only work for direct input controllers, but a pretty new third party Switch controller works fine with the old...
  9. C

    Discussion PS5 Duelsense support

    Hey everyone, Does anyone know if or when Gamemaker studio 2 will support PS5 Duelsense features such as Haptic triggers, rumble and the controller speaker. I've also noticed that the d-pad is not mapped?
  10. D

    String with a gamepad input image in it?

    Hi there, I noticed in a lot of games, including GameMaker ones, developers use an Image of things like Xbox Controller buttons or Thumbsticks interspersed with a printed string to communicate input instructions. How exactly are they accomplishing this? Are they using a draw_text function for...
  11. L

    Idle animation in 4 directions with no gamepad axes involved

    Hi, i'm deep newbie in game making stuff, and i need help in solving my issue: I need to change my walk sprite animation, when releasing gamepad stick, to idle animation, but in right direction (top down view) For now, it's works fine with keyboard control, but when releasing any axis in...
  12. D

    SOLVED "chr" but for gamepads?

    Hi there, I have a function in my game that is meant to tell the player which button inputs are used for what, and because in my game I'm allowing the player to be able to remap controls, i need to figure out a way to get whatever is the current mapping of any particular button. Button mappings...
  13. KyleRansford

    How to Use Custom Mapping for Direct Input Controllers? Like Nintendo Switch Pro Controller?

    Hello, now that I have a system that can detect which controller is connected and assign it to the correct player, I've noticed that when I connected a Nintendo Switch Pro Controller, the D-Pad doesn't work. Also, on a different project, the Left Analog Stick on the Nintendo Switch Pro...
  14. BlackCoatDalov

    Legacy GM Leg spikes when connecting/disconnecting Xbox One wireless controller with GMS 1.4.9999

    Hey all, I've been running into a similar problem as what happened here. Every time I turn my bluetooth Xbox One controller on or off, I'm getting massive lag spikes in the debugger from RoomSpeedSync. I'm guessing that's because, even though my FPS counter is showing 45, the game is outright...
  15. WestAndersun

    Alterante to keyboard_check_released for gamepad_axis_value?

    I'm posting this here because I've scoured threads on this board and Reddit, as well as the manual, and I can't seem to work things out. I'm working on a project that uses a movement system similar to what's found in Asteroids. You hit left, you turn left; you hit right, you turn right, and so...
  16. inami

    Controller not detected; defying all logic

    ***Edit*** Steam It was steam. I had to go into options, and enable "Use Alternative launcher for steam application" Assumidly it's only reading the device as bound in steam? Probibly would be fine with a PnP controller e.g. XBox controller. I figured this out by one by one over-writing each...
  17. KyleRansford

    Help with Multiplayer Gamepad Input Connections

    Hello, everyone. I wanted to ask if anyone could help out with a gamepad issue I'm trying to figure out. I have a simple gamepad set up, but I would like it to be more efficient and take other gamepad types than just Xinput gamepads. I've tried searching online but none of the tutorials I've...
  18. O

    Gamepad on Raspberry Pi won't register A and B buttons.

    I'm trying to get one of the generic USB gamepads (Buffalo, Kiwitata, etc) to work on the Raspberry Pi. The DPad works if you treat it as an analog stick and the X and Y buttons register along with the shoulder buttons. The problem is the A and B buttons don't register at all. They work fine...
  19. S

    Linux Raspberry Gamepad (detecting too many)

    Hi! I'm doing some test-compilation on a Raspberry Pi 4 and Gamemaker. Everything works fine except that when I run my game it detects all devices that are attached through USB on the Pi as gamepads. I am adding a player object for every "gamepad detected" in Async-System as described here...
  20. B

    Mac OSX Can someone point me to the right direction for using motion controls from a gamepad controller in Game Maker?

    I am currently trying to prototype a game that uses motion controls from a game pad. I have seen and read through what the manual said on motion controls, but they seem to be limited to smart phones. Is game maker able to use motion controls of a game controller? Do I need to purchase some kind...
Top