aarbear13 Posted December 31, 2014 Posted December 31, 2014 Hi, I just got this game engine and i've been playing with it a bit. I do not have any previous experience except using hammer editor a few years back. so I'm learning the ropes and using many of the online tutorials. My question is if it is possible to create a local multiplayer game? like a split screen or even shared screen for 2-4 people. Any help is appreciated! Thank you Quote
gamecreator Posted December 31, 2014 Posted December 31, 2014 You can definitely share the keyboard locally (but you can only press a certain number of keys before the keyboard jams up). There is also Steam controller support with commands here: http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/steamworks/ Quote
beo6 Posted January 1, 2015 Posted January 1, 2015 the blocking of key presses when too many keys are pressed is depending on the keyboard. some usb keyboards use workarounds for some most used keys in games. So for not super cheap and bad usb keyboards it should be ok for 2 players who use most used keys like arrow keys and WSAD + some special keys. More people on one keyboard would most likely be too uncomfortable anyway. I think only some PS2 keyboard types don't suffer from this. Quote
aarbear13 Posted January 6, 2015 Author Posted January 6, 2015 I have a wireless xbox receiver and four controllers i was hoping to use Quote
gamecreator Posted January 6, 2015 Posted January 6, 2015 If it's just about doing it on your own computer, the easiest solution may be keyboard / gamepad mapping software. The idea is that you run a software in the background and it can make your program think that when you pressed a gamepad button that a keyboard button was pressed. That said, I created a gamepad example for the pervious Leadwerks but it works with DirectInput so it will only work with Windows, I believe. If you can't download that, look here for the original code I reused. I think someone else created one for Xbox controllers only too. 1 Quote
YouGroove Posted January 6, 2015 Posted January 6, 2015 You can definitely share the keyboard locally (but you can only press a certain number of keys before the keyboard jams up). There is also Steam controller support with commands here:http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/steamworks/ That's weird, Xbox controller that is the more used in PC gaming that is not supported while Steam controller that is not popular is implemented in LE3 Quote Stop toying and make games
gamecreator Posted January 6, 2015 Posted January 6, 2015 There are times when Josh implements things mostly because they're easy to implement and they won't mess with the engine (risk introducing new bugs). Even if the usefulness is limited, what's the harm? I know we're an impatient bunch but in the end it's still his engine to do with as he feels. Quote
beo6 Posted January 7, 2015 Posted January 7, 2015 There are many xbox controller libraries out there. If you have the C++ version of leadwerks it should be as simple as setting up the library and using it. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.