Jump to content


Photo

User Defined Controls With Gamepads Example


  • Please log in to reply
4 replies to this topic

#1 Mgamerz

Mgamerz

    Lazy Developer

  • New Member
  • 1289 posts

Posted 24 April 2009 - 02:48 AM

This example shows you how to create a joypad and assign buttons with it (with a prompt for button interface) and then create an object. It uses kind of a dumb way to do it, but it makes it easier to know when to call for a button instead of using a list and memorizing the values.
  • Game Maker Version 7
  • Pro Version (Remove image_angle for Lite)
  • Play Now and Download
  • 1.2 MB ZIP File
Download from YoYoGames
*Awaiting Virus Scanning... Should be ready soon
Please Comment, and credit if used ;)
  • 0

[StarBord: the First Front]III[Open Source 360° Topdown Shooter]IIIOpen Source Scrolling MenuIIIOpen Source Joystick Controls
Have something you want to figure out how it works? Try a test bed. They are fast to load, and great for experiments. And they are FTW.

#2 ash47

ash47

    O_o

  • GMC Member
  • 1347 posts

Posted 24 April 2009 - 09:16 AM

First Reply ;)

I made user defined controlled game as well: KPWRS - Source

It says it is Joystick only, looks like i cant use it, please also add support for keyboards :D

Edited by ash47, 24 April 2009 - 09:21 AM.

  • 0
Posted Image

Rate this topic: 0 | 1 | 2 | 3 | 4 | 5

PRESS IT
\/


#3 Mgamerz

Mgamerz

    Lazy Developer

  • New Member
  • 1289 posts

Posted 24 April 2009 - 12:58 PM

It's an example on how to use joysticks as a input device. It's not a game.
  • 0

[StarBord: the First Front]III[Open Source 360° Topdown Shooter]IIIOpen Source Scrolling MenuIIIOpen Source Joystick Controls
Have something you want to figure out how it works? Try a test bed. They are fast to load, and great for experiments. And they are FTW.

#4 ash47

ash47

    O_o

  • GMC Member
  • 1347 posts

Posted 24 April 2009 - 02:27 PM

So i've noted ;), I miss read it and didnt notice the "joystick" :D
  • 0
Posted Image

Rate this topic: 0 | 1 | 2 | 3 | 4 | 5

PRESS IT
\/


#5 Mgamerz

Mgamerz

    Lazy Developer

  • New Member
  • 1289 posts

Posted 24 April 2009 - 02:59 PM

Joystick, Gamepad, it's about the same thing.
  • 0

[StarBord: the First Front]III[Open Source 360° Topdown Shooter]IIIOpen Source Scrolling MenuIIIOpen Source Joystick Controls
Have something you want to figure out how it works? Try a test bed. They are fast to load, and great for experiments. And they are FTW.