Posted By
|
Message
|
Pyroklastic Possibly Insane
Registered 06/03/2010
Points 2209
|
1st September, 2010 at 08:22:29 -
So, I just finished this game. It runs pretty well and all that, but a lot of people are having trouble with the controls. Back when I started this project I was pretty lazy with it, I made the keybindings friendly towards my keyboard, I didn't use any Fire 1, Fire 2 type stuff, I just coded in conditions like "Upon pressing Slash key - fire weapon". Now that the application is finished, it would take quite a while to go back into it and re-edit all those actions concerning the key presses, especially since there's multiple levels.
I was wondering if there is any quick way of directing other keys to perform the Slash keys action, so users could customize the controls any way they would like. Or say an almost reverse effect of the presses Fire Button 1 response, for an example, " Upon User pressing fire button 1" = perform action " Simulate Slash key being pressed once ". Anyway it sounds crazy even as I'm typing it, but any response is appreciated. Even a simple, "No" would suffice just fine.
n/a
|
tetsuya_shino
Registered 12/08/2004
Points 491
|
1st September, 2010 at 10:43:33 -
Maybe you could bind the actions to new keys in a global folder. You don't have to change any of your old code, because the old keys would also still work... only people wouldn't be pressing them. After you've added the new commands, re-upload your game. People that only had a problem with the controls wouldn't have a issue re-downloading it. =]
n/a
|
OMC What a goofball
Registered 21/05/2007
Points 3516
|
1st September, 2010 at 12:23:08 -
Well, there are extensions that can simulate key presses, but it seems to me that there could be a bit of input lag involved. Perhaps not, but even so, there's the possibility that someone could map one action to a button that's already in use. So one button would do both actions!
May be stuck with running through the code, unfortunately.
|
Pyroklastic Possibly Insane
Registered 06/03/2010
Points 2209
|
2nd September, 2010 at 01:15:13 -
Hey guys, I've tried using the Control X extension, man that thing is really sketchy. I think I'm just going to have to suck it up and replace the conditions, thanks for the input.
n/a
|
tetsuya_shino
Registered 12/08/2004
Points 491
|
2nd September, 2010 at 10:44:27 -
...but my idea would have worked, and only taken 30 mins or less to do...
n/a
|
GamesterXIII
Registered 04/12/2008
Points 1110
|
2nd September, 2010 at 22:18:33 -
Originally Posted by tetsuya_shino Maybe you could bind the actions to new keys in a global folder. You don't have to change any of your old code, because the old keys would also still work... only people wouldn't be pressing them. After you've added the new commands, re-upload your game. People that only had a problem with the controls wouldn't have a issue re-downloading it. =]
There is a problem with this. for example
User presses Right Arrow - Set player X to X + 3
User Press Joystick Right - Set player X to X + 3
If the player pressed both buttons his/her movement speed would be doubled.
n/a
|
The Chris Street Administrator
Unspeakably Lazy Admin
Registered 14/05/2002
Points 48488
|
3rd September, 2010 at 00:25:51 -
I would just go back and edit the code to be honest and commit yourself to it. You've come this far with your game, a little bit more work on the controls would polish it up just that tiny bit more and make your recoding efforts worthwhile.
A way you could do it is, ensuring the players movements are in a group, duplicate the group, edit the controls in the duplicated group and delete the original group. Then copy and paste the duplicated group to those levels that have the "lazy controls".
n/a
|
tetsuya_shino
Registered 12/08/2004
Points 491
|
6th September, 2010 at 14:20:19 -
Originally Posted by GamesterXIII
Originally Posted by tetsuya_shino Maybe you could bind the actions to new keys in a global folder. You don't have to change any of your old code, because the old keys would also still work... only people wouldn't be pressing them. After you've added the new commands, re-upload your game. People that only had a problem with the controls wouldn't have a issue re-downloading it. =]
There is a problem with this. for example
User presses Right Arrow - Set player X to X + 3
User Press Joystick Right - Set player X to X + 3
If the player pressed both buttons his/her movement speed would be doubled.
That would be quite ture, if pressing the movement keys. But I think people were only complaining about the default action keys.
n/a
|
|
|