Jump to content


Photo
- - - - -

Custom Gamepad And Keyboard Controls For Gm8 & Gms


  • Please log in to reply
7 replies to this topic

#1 KurtBlissZ

KurtBlissZ

    GMC noob

  • GMC Member
  • 652 posts
  • Version:GM:Studio

Posted 28 July 2012 - 07:49 PM

  • Title: Custom Controls v7-4
  • Description: Let player change controls, using either keyboard or controller.
  • GM Version: :GM8_new:, GMS
  • Registered: No
  • Required Extensions: None
  • Required DLLs: None
  • Tags: Custom controls, Change buttons, lite
  • Credit?: No. use it however you like. This is just a example.

    Game Maker 8 Version
  • Game Maker 8 lite
  • File Type: .zip
  • GM8 File Size: 15.4 KB
  • File Link: http://www.mediafire..._abs_analog.gmk
  • Game Maker Studio Version
  • Tutorial 
    Spoiler


    Game Maker Studio Standard (Too many scripts for the free version.)
  • File Type: .gmz
  • GM8 File Size: 2.2 MB
  • File Link: Google Drive Download
  • Tutorial
    Spoiler

 

New Update for GMS version.

Now have ability to switch between old joystick and new gamepad functions. Also you can give out analog values, pressed, and relapsed for controllers, and keyboards.


Edited by KurtBlissZ, 25 March 2014 - 01:13 AM.

  • 3

#2 KurtBlissZ

KurtBlissZ

    GMC noob

  • GMC Member
  • 652 posts
  • Version:GM:Studio

Posted 29 September 2012 - 12:55 AM

Just updated all the scripts for version 5. Hope everyone likes them, and please give any feedback!

Edit: New Update v6, with custom saving and loading controls.
Kept v5 with download that has auto saving and loading, no multiple control saves. And that's the only difference.

Edited by KurtBlissZ, 20 October 2012 - 07:07 PM.

  • 0

#3 KurtBlissZ

KurtBlissZ

    GMC noob

  • GMC Member
  • 652 posts
  • Version:GM:Studio

Posted 01 May 2013 - 03:49 AM

Version 7-4 is now out, The example may be easier to use and understand now, though v5 and v6 is till included if you want to take a look.

 

Version 7-4 updates.

  • Example of taking advantage of analog controls
  • Checks if you can you analog and will take advantage of it in the example
  • Checks if a key is pressed or released unlike previous versions.

  • 0

#4 KurtBlissZ

KurtBlissZ

    GMC noob

  • GMC Member
  • 652 posts
  • Version:GM:Studio

Posted 02 June 2013 - 01:06 PM

Added a Game Maker Studio version :D.


  • 1

#5 beeproductions

beeproductions

    Helping gmc users

  • GMC Member
  • 1308 posts
  • Version:GM:Studio

Posted 15 January 2014 - 10:54 PM

Trying to open the GMS version:

gmsv.png


  • 0

#6 KurtBlissZ

KurtBlissZ

    GMC noob

  • GMC Member
  • 652 posts
  • Version:GM:Studio

Posted 25 March 2014 - 01:02 AM

Oh sorry here's a fix, I been busy and a little slow. A GMS update caused the older one not to work right.

https://drive.google...dit?usp=sharing

 

So I'll say this is an Intermediate/Advanced example. Here's a little tutorial how to use this.

  •  When you want to let the play change controls set the obj_controls visible 1(to show it) or 0(to not show it). 
  •  This works by the obj_controls objects giving values to other objects, see the step event, give controls to do this..

  • 0

#7 Centipede

Centipede

    GMC Member

  • GMC Member
  • 23 posts
  • Version:GM:Studio

Posted 15 July 2014 - 07:57 AM

Does this support all the controllers, including for android & ios?


  • 0

#8 KurtBlissZ

KurtBlissZ

    GMC noob

  • GMC Member
  • 652 posts
  • Version:GM:Studio

Posted 15 July 2014 - 01:11 PM

Does this support all the controllers, including for android & ios?

 

http://docs.yoyogame...nput/index.html

 

It should work reading the manual, since it use the gamepad commands, I can't test it though.


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users