The Daily Click ::. Forums ::. Klik Coding Help ::. Is there a way to simulate joystick or gamepad in control x extension?
 

Post Reply  Post Oekaki 
 

Posted By Message

Danilo Dias



Registered
  29/06/2010
Points
  5
30th June, 2010 at 18:33:42 -

Please guys i cant configure joypad controls since my game controls are set like FIRE1, FIRE2 and multimedia fusion can only set keys for keyboard inputs...

Is there a way to do this with a gamepad?

ps. sorry for my bad english im from Brazil...

 
n/a

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
4th July, 2010 at 00:21:03 -

Yes, get a scripting program with a nice community behind it.
You're sure to find several scripts that others have already made to look at.
Then either use those as they are to make your gamepads buttons act as keyboard keys, or tailor it to suit your needs.

Edit: sorry I don't have a better answer, but I'm not very good with extensions ... scripting is easier ...


Edited by MBK

 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

Danilo Dias



Registered
  29/06/2010
Points
  5
4th July, 2010 at 04:05:45 -

Humm.. i see what i can do, thanks dude!

 
n/a

OMC

What a goofball

Registered
  21/05/2007
Points
  3539

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
4th July, 2010 at 14:20:18 -

It would be better to stick with an integrated solution... Having a separate script that runs outside of MMF would be cumbersome to the player.

What issues are you having with Joypad controls? Is it the analog sticks? Does it have to be the Control X extension? There are joypad extensions for MMF.

 

  		
  		

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
4th July, 2010 at 18:45:03 -

How would that be cumbersome to the player OMC? ... Have you ever used scripts? ...
A script can work just like an ini file, but better. There's only 2 downsides that I know of ... an extra file that needs to be kept in the same folder as the game file, and the fact that it's probably not going to be Flash compatible ...

... and even Flash might be possible if you can make it download the script to the players temporary internet folder and link code to it from that location ... the temporary folder is the same path on most computers right?

Seal the script in a .rar or .zip file, or into an installer file that installs it automatically and most people won't even know it uses a script. And if you're that worried of the negative connotations associated with scripts (usually because of MMORPG games) you can change the little graphical icon used for the script, and maybe add a false file name ending on it for one of the file types commonly used with normally programmed computer games. ... Think about it though dude, one extra file makes no difference as people buy and download professionally made games that sometimes use hundreds of seperate files all communicating with eachother. The end user (most anyway) has no clue what those files do ... all they know is, click on the main .exe and it runs.

<Rant>
It's actually way less cumbersome than the extensions if you're keeping it open source too, because extensions have to be hunted for and downloaded before you can even view the thing ... and alot of times it's old extensions that don't even work with MMF2! ... so ya end up screwed unless you go and get MMF1 just so you can play with the code and see what does what ... with a script that's not a problem, as you'll not need the extensions. Why doesn't MMF2 just have a Scripting System of its own to add functionality? Then you could just look at the script code added instead of hunting for extensions before you get to take a look .. I HATE extensions! They are so time-consuming.
</Rant>

There's an idea for MMF3, put all the current extensions and functionality there is now into it (even the 3rd party extensions), and then
ADD a Scripting System and be rid of all this search for the right extension nonsense!


 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

Danilo Dias



Registered
  29/06/2010
Points
  5
6th July, 2010 at 13:16:36 -

Thanks for the help guys, im trying a extension called joystick object, i hope it works. =
Ive already tryied joystick object but it was an old version of the extension, a friend of mine yesterday send-me a new version.

Later ill post a beta of my game here, in what section of the forum i can post the game?

Thanks!

 
n/a

OMC

What a goofball

Registered
  21/05/2007
Points
  3539

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
6th July, 2010 at 14:43:59 -

There are three ways you can post it. You can post it as a demo in the downloads, or you can post a project page about your game, or you can put it in the digital works forum!

 

  		
  		
   

Post Reply



 



Advertisement

Worth A Click