Joystick via PyJoy?

This forum is currently in read-only mode.
From the Asset Store
Forget about default textbox restrictions, you can create sprites atop of the textbox
  • Okay so... I've noticed a lot of work in the Python side, and it seems now you could build your exe and have Construct copy the correct .py files.

    Does this mean we can reliably use PyJoy to add PC Joystick support to our games?

    (please say yes.... and how )

  • I didn't think PyJoy supported windows? If it does, it should be pretty easy to export the library following the guide in the Tutorials section.

    Actually, ever since .99.84 Construct supported external libraries so it's been possible for awhile to have Joystick support using PyGame. It's just that this recent version fixes ALOT of Python bugs, especially the Path bug that was affecting Tulamide, alee, and probably countless others.

    So, .99.93 is pretty much mandatory now if you want good Python support... I don't have a Joystick handy, but when I get it in I'll work up a quick airplane shooter, an post .cap, with it using Pygame.

  • Sweet. I've been waiting for an example of this for a while.

  • I don't have a Joystick handy, but when I get it in I'll work up a quick airplane shooter, an post .cap, with it using Pygame.

    You'll be my hero.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • scidave is right, PyJoy seems only to be Linux. But I think a Plugin could be easyly built using DirectX.

  • By the way, I'm looking into building a Joystick plugin with OIS and it seems that it will work, theoretically but technically don't know yet . I'll post on the forum the first alpha version when it's ready.

  • I got pygame directx controls to work on an older version a while ago.

    if no one's posted a working solution by this weekend, I'll find that cap and post it

  • Why not just use lucid's Xbox 360 controller? I know that it is different than a full fledged joystick but may make the game more universally accepted and may be more stable in the future.

  • here goes directinput controls through pygame:

    http://www.scirra.com/forum/viewtopic.php?f=16&t=7196

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)