Coldest

General Category => Game Discussion => : kwadroke November 03, 2011, 08:42:13 AM



: Keyboard/Joystick controls
: kwadroke November 03, 2011, 08:42:13 AM
I've recently discovered Coldest and I am excited for the future of this game.

Are there any plans to allow users to use only a keyboard or joystick?
I'm considering building a controller for mech games. I have both a keyboard encoder and a joystick controller. I'd rather not have to use a mouse along side the controller in order to join games.

Thanks!


: Re: Keyboard/Joystick controls
: Cybertron November 06, 2011, 10:21:21 PM
Yeah, I figured that would probably come up at some point.  I don't have any specific plans to add joystick support, but it's something I'm open to.  Unfortunately, I think it's going to be a not-insignificant amount of work to make the game usable with a joystick instead of a mouse.  Right now the UI doesn't support keyboard navigation at all, and I'm unsure how well the game itself would play with a joystick.  Plus I don't have one so I don't currently have a way to test anything. :)

I'll keep it in mind though and see if I can make it happen at some point.


: Re: Keyboard/Joystick controls
: kwadroke November 06, 2011, 11:04:49 PM
If there's more in game keyboard support, joystick support isn't a big deal. I can use a joystick-to-keyboard program suck as joy-to-key or qjoypad to map movement to keypresses.


: Re: Keyboard/Joystick controls
: kwadroke November 09, 2011, 10:51:43 AM
I've started working on adding keyboard support for the mouse movements. I'm not really a C/C++ & SDL dev so it's taking me a little time to figure stuff out. I've got the view switching working and the beginnings of rotating and looking up & down.


: Re: Keyboard/Joystick controls
: Cybertron November 12, 2011, 04:24:13 PM
Sounds good.  Let me know what you come up with.

If you're going to work on this, it might be worth considering just adding direct joystick support.  I assume it works similarly to the other SDL input stuff, so it might be easier than using the keyboard  as an intermediary.  Just a thought.


: Re: Keyboard/Joystick controls
: kwadroke November 15, 2011, 02:30:44 PM
I've got initial joystick support in the latest git version. I don't have my joystick here, so I still need to test it. I'll add back in my keyboard controls into it sometime this week. The files are on 2 separate PCs.


Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is missing the copyright message for SMF so they can rectify the situation. Display of copyright is a legal requirement. For more information on this please visit the Simple Machines website.