sglorz's Forum Posts

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello all,

    What it does:

    Manages Keyboard, Mouse and Joystick through DirectX using the Win32 part of OIS (http://sourceforge.net/projects/wgois/).

    I've merged "Keyboard & Mouse" plugin actions/conditions/expressions and I've added an "Arm" feature like in the "Custom Controls" plugin by Lucid

    There are also many other things to discover

    Force Feedback has been added in v0.92b but it's not fully tested and may not work properly.

    ToDo:

    • Create a ForceFeedback testing tool with CGUI
    • Intregrate OIS 1.3: adds XInput (XBox 360 controller)

    How to use it:

    See the included examples, everything is in here. If more is needed, I will publish some howtos.

    Installation:

    Download the zip file and put the Plugin directory with the csx files into Construct's plugins directory.

    Download:

    https://sourceforge.net/projects/sglorzscplugs/files/Input%20System/

    Release note

    v0.96b

    ------

    • Update: when presetting nonexistent button, Slider or POV, an empty value will be set when a joystick is selected.

    v0.95b

    ------

    • Change license to LGPL

    v0.94b

    ------

    • Update:

    . New Mouse condition: "On any mouse button down" called on any mouse button pressed.

    . New Mouse condition: "On any mouse button release" called on any mouse button released.

    . New Keyboard condition: "On any key down" call on any key down.

    . New Keyboard condition: "On any key release" called on any key down.

    . New Mouse expression: "Get last mouse button down", 0 is left, 1 is right, 2 is middle and 8 is unknown.

    . New Mouse expression: "Get last mouse button release", 0 is left, 1 is right, 2 is middle and 8 is unknown.

    . New Keyboard expression: "Get last key down", 0 is unknown.

    . New Keyboard expression: "Get last key release", 0 is unknown.

    • Note: see example 4 (Input System4.cap) for more details.

    v0.93b

    ------

    • Bug: crash when presetting nonexistent button, Slider or POV. Now last valid value will be used.

    v0.92b

    ------

    • Update:

    . New joystick action: "Set POV number of directions" with one parameter directions (4 or . In 4 directions mode, joysticks' POV diagonal events (NE, SE, NW, SW) trigger 3 events (e.g. NW will trigger N, W and NW).

    . New controls action: "Set control enabled" allows to enable/disable a control for a player.

    . New controls condition: "Control is enabled?" checks if a control is enabled for a player.

    • Added ForceFeeback (not fully tested, use at your own risk ^_^)

    v0.91b

    ------

    • Bug: relative X and Relative Y were the same.
    • Bug: SetControlConfigData, previous controls were not deleted
    • Update:

    . "Set control default component" renamed to "Set control preset", to init control directly and if it's a joystick, it'll take the first one available.

    . "Init control default component device" renamed to "Set presets joystick", to set preset's joystick to use and to change the used joystick of previous presets.

    . New controls action: "Reload contols preset" to reset controls with already defined presets.

    . New controls action: "Clear presets" to delete all presets

    . New controls action: "Clear Controls" to delete all controls

    v0.9b

    -----

    First delivered version

  • Hi guys,

    I'm building a plugin and some examples for it. It's the second time that I have to rebuild one of my examples because it crashes the Event Sheet Editor and I don't know if it's coming from my plugin or Construct.

    I would like to compile debug version of Construct to look into it but I need this lib file ProfUIS284ym.lib (I think I'm not the only one )

    Could someone provide me this file or a Contrusct binary with all debug information, pdb and other things like that?

    Thanks!

  • Any suport for runtime input configuration and getting joystick's hardware name string? 'Cause I'd love that.

    Yes, both already done. These were some of the main reasons I'm doing the plugin

  • Sounds very doable. I think somebody mentioned they were working on a joystick plugin last week. Hopefully they are using that SDL connection.

    I'm building a joystick plugin but it will be more like an "Input System" with Keyboard+Mouse+Joystick all managed through directX. So, i've merged "Keyboard & Mouse" plugin actions/conditions/expressions to my "Input System" and I've added an "Arm" feature like in the "Custom Controls" plugin by Lucid.

    The coding is at 50% finished and it works well with my Cyborg EVO, Xbox 360 pad and my Thrustmaster Racing Wheel. Force Feedback may be included in the plugin...

    By the way, I'm using the Win32 part of OIS (http://sourceforge.net/projects/wgois/).

  • what about the bug about Xbox 360 controller plugin wich works well with behaviour but not with controls events?

  • Very nice, thanks Lucid.

  • 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.

  • scidave is right, PyJoy seems only to be Linux. But I think a Plugin could be easyly built using DirectX.

  • Everything should be in "human readable" or text format, no binary: SVG for image, xml for object/project description etc...

    So it's easier for revision control system, team working, re-use, merging, editing, archiving, etc...

  • I don't think it works anymore with the new version

    Lucid, do you think you'll update your plugin to make it work on the last version?

    Pleeeeeeeeeeaaaaaaaaaaaasssssssssssssssseeeeeeeeee..........

    I really need it.

    PS: Or, you could make your plugin source code public?

  • Contruct works well on winXP, I'm creating my game on both system, XP and 7.

  • Hum... Text object font properties doesn't seem to work anymore...

    It's OK in the layout editor but when I launch my game, it's not

  • Thank you for the link, I will look into it.

    Sorry for answering late, I was on vaccation

  • Hi guys,

    I'm building a clone of Rally Speedway and I REALLY need some graphic designer here

    As you can see on the screenshots, I took the graphs directly from the old game but what was cool 27 years ago on a C64 seems a bit ugly nowadays

    Anyone want to help?

    Thanks in advance,