gamepad

  1. 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...
  2. V

    How do I get rid of the gamepad stats in the top corner?

    I have tried the code in a new project and it doesn't show up. No matter how I alter the code in the current project it just doesn't go away. Is there a setting or something to turn this off?
  3. V

    Jump not working right and run speed gets progressively faster

    The controls respond but the output is not right. You can see that it tries to jump but never leaves the platform. When I run, the speed does not cap, so it gets increasingly faster. Any ways to go about this? Create Event /// @description Init Vars // Global array to store gamepad info in...
  4. zendraw

    GMS 2 any_key for gamepad

    is there a way to check if any button on the gamepad has been pressed? like how you wuld do keyboard_check_pressed(vk_anykey); ? i checked the inbuild vars but culdnt see a way.
  5. KyleRansford

    SOLVED Controller Input Using Object Variables Issue

    Can anyone tell me why this isn't working properly? I have made a Player Controller Input object o_input, o_inputP2, o_inputP3 & o_inputP4 with a menu Switch statement so each player can actually choose what slot their controller will be in. I have different modes the menus work in, but this...
  6. KyleRansford

    GMS 2 Vertical Menu with Gamepad

    I have a fully working vertical menu that gets input from the keyboard and the gamepad D-Pad, but when I try to add the joystick/analog the choice just move all at once in one direction. How can I make it to where it just goes down one, like the arrow keys and the D-Pad. Here is the current...
  7. CrackedGamer§

    GMS 2 How to use a GamePad?

    I know that is a very vague question, but if we just assume that I have a completely empty project and I want to see if a specific controller is pressing the right trigger. I know that there is a way to make a 1D array of the controllers that are currently plugged in, is there a way to select...
  8. Qlak

    GML [SOLVED] Efficient Angle Check - 359 and 0 degrees

    Hey guys! I'm having hard time when it comes to checking angles. I managed to achieve what I wanted, but I'm sure that there must be a better way, because my code is not clean for sure. Maybe you could help me out :): -For instance, imagine that you have traditional top-up 2d shooter, left...
  9. M

    360* Joystick Rotation

    Just wanted to share some SIMPLE code I worked up to get full 360 degree rotation for GamePads (joysticks for GM8) LEFT Joystick - full 360 movement & image rotation End Step Event: hspeed = gamepad_axis_value(0,gp_axislh) // hspeed = left joystick horizontal movement vspeed =...
  10. A

    Windows Gamepad detected but inputs not working

    A weird issue has popped up with my gamepad implementation: Gamepad is being detected but none of the inputs are responding at all. This was with an implementation that I had previously had working (And works for Mac just fine). I've paired it down in a separate project to try and debug but...
  11. thom

    Linux Gamepads are not working on Linux (Ubuntu)

    It appears that gamepads aren't working properly on Linux (Ubuntu). After some tests I have noticed the following: -The gamepad slot used is not in the 0-11 range, but will start at 12. -The buttons of XInput (Xbox) gamepads are also assigned wrong on Linux, for example if you press the "LT"...
  12. WimpyLlama

    Not reconizing any gamepads

    I'm trying to get gamepad support working for my game but GMS2 won't recognize any of my controllers. I've tried my NS Pro Controller and PS4 Controller, both wired and not wired, but nothing is working. They both get recognized by Windows and both work in all the games I tested (Hyperlight...
  13. JEMcG

    Windows Xbox pad being picked up but not working, PS4 pad not being picked up but working anyway?

    Hi, I'm trying to make the beginnings of a controller system. I want the game to sense for all controllers and then the player can just use whichever they feel like. I want this to be interchangeable with keyboard input too. Currently I have the following code searching for controllers...
  14. Dwighty4000

    GMS 2 Gamepad control - how can i implement it?

    I watched 3 different tutorials but I still not... And I still don't know how it works with the value's correctly. In addition, I do not know how to call that no key is pressed on the controller, as it is on the keyboard: "vk_nokey". Because I have a running animation in a sprite when a key is...
  15. Appletreeman

    Mac OSX Gamepad not detected

    Hi all, I'm trying to add gamepad support to my project but cannot seem to get GMS:2 to detect it. The gamepad is a PS Dualshock 4 and is detected fine and works in games that I've downloaded from the mac app store/steam etc. If I run the following code in my game initialisation (runs right...
  16. bluetrack

    Android Select active Gamepad

    MACOS IDE: v.2.2.5.481 Runtime: v.2.2.5.378 Hi, is there a way to select automatically one gamepad of the ones GM:S detects and set it as default? For instance on Android and specificlly on AndroidTV there are various inputs detected and put on different slots. (eg. SONY input service...
  17. P

    Check joystick/gamepad slot no.

    Hi. Problem: I'm having problems using 2 gamepads on a Windows machine, as Windows keeps switching their slot numbers. Is there a way to control this in GM2 rather than Windows? Background: I've made an arcade machine and added a laptop running Windows 10, where I have installed a game I've...
  18. Didjynn

    [SOLVED] gamepads Xinput of Dinput

    Hello everyone, I made a game playable up to 6 players but it seems some people complain about the impossibility to use more than 4 pads (xbox one officials ireless) at the same time. They say the 5th pad has no reaction at all, it's not just bad input mapping or anything and as far as I know...
  19. S

    GMS 2 How to have right stick override left stick?

    Hey everyone, I'm currently working on a small project in the GMS 2 trial version and I've run into a problem. I am trying to make my player aim an object around him while he's moving with the left stick on the controller, but you can also switch to the left stick for precise aiming. The thing...
  20. H

    GMS 2 Need help understanding GMS' deadzone when third-party deadzone is also configured

    Hi, pleasure to meet you all. Had a couple of questions regarding deadzone configuration that I couldn't find searching the forums or in the docs, if info is already there I'm happy for a re-direct and thread closure, apologies if that is the case. I wanted to know if configuring the deadzone...
Top