Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Game Development (https://python-forum.io/forum-11.html) +--- Thread: Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with (/thread-20874.html) |
Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with - lsepolis123 - Sep-04-2019 Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with joystick device...? https://www.pygame.org/docs/ref/joystick.html the Docs here ^^ simple joysticks and flight simulators joysticks are the same... operant commands in this Docs? RE: Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with - metulburr - Sep-04-2019 Do you have a question? RE: Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with - lsepolis123 - Sep-04-2019 I HAVE MODIFIED a Python Tetris game [pygame] controlled by keyboard arrows ... is it controllable with joystick device... or needed use joystick library of pygame? https://www.pygame.org/docs/ref/joystick.html the Docs here ^^ is for simple joysticks including flight simulators joysticks the same...? I just wanted TEST python games With Joystick --- but I do not have any... and needed to buy one ... what joystick to buy... any idea for Python3/Pygame games???? RE: Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with - metulburr - Sep-04-2019 You would need pygame for joystick control. I am not aware of any joystick that does not work with pygame. RE: Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with - lsepolis123 - Sep-04-2019 https://www.pygame.org/docs/ref/joystick.html the Docs here ^^ for the joystick is for simple joysticks including/(as well as) flight simulators joysticks the same...? Should work for most Joystick hardware --- that is for PC/Mac/Linux...? Not Xbox, nor Playstation but must be for PC/Computer...correct? RE: Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with - nilamo - Sep-04-2019 It should work with any device attached to your computer. Including xbox controllers. RE: Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with - metulburr - Sep-05-2019 A corded USB xbox 360 controller is probably the most common controller. And yes it does work with that as that is the controller i use. RE: Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with - lsepolis123 - Sep-06-2019 can you send a purchase link on amazon.co.uk or ebay.co.uk of "corded USB xbox 360 controller" is it this https://www.ebay.co.uk/p/Wired-Xbox-360-Controller-USB-Game-Pad-for-Microsoft-Windows-Laptop-PC-UK/1055888841 ??? RE: Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with - nilamo - Sep-10-2019 As long as it's usb, yes. I like xbox one controllers, because they're bluetooth and I don't like cables, but they both work fine. RE: Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with - metulburr - Sep-10-2019 The one you linked looks similar, but is off brand. The one i have has the only difference of a breakaway cable....so if you pull hard enough the cable separates instead of breaking your USB port. Like this but it is built in to the controller cord of the one i have. Not sure if you can even buy these anymore as i have had been using this since the xbox 360 has been the newest console. The xbox one controller also has a USB charging cable. I havent used it yet for computer use, but i would assume that you could just use that to connect the controller to sync it. You can use any USB controller. But i have found over the years the off brand ones suck and break easily or have driver issues in the future. Its best to just get a name brand one as you only have to buy it once and your done. This is mine except black. If i needed a second controller, or broke mine... This would be the one i would order as it is 1) name brand and 2) listed as never used (new). I would not buy an off brandm as i have done that before and ended up buying numerous ones every year to replace them. Ive owned this one for probably ~10 years and it has endured drops, pulls, spills, and works as if it is brand new. https://www.ebay.com/itm/Microsoft-Xbox-360-Wired-Controller-White-PC-Authentic-OEM-NEVER-USED-DG/293216680441?_trkparms=aid%3D555018%26algo%3DPL.SIM%26ao%3D1%26asc%3D20131003132420%26meid%3D276bce3bf1494ecda99ba4275b390c24%26pid%3D100005%26rk%3D1%26rkt%3D12%26sd%3D283606684906%26itm%3D293216680441%26pmt%3D1%26noa%3D0%26pg%3D2047675&_trksid=p2047675.c100005.m1851 |