User Tag List

Results 1 to 4 of 4

Thread: Using analog joystick for 360 shooting?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Using analog joystick for 360 shooting?

    I am trying to integrate the Joystick2 extension with my game and I wondered if anyone could point me to any tutorials on how to get an analog joystick (ps2 controller) to fire 360 degrees, similar to Robotron/Geometry Wars. I currently have code to use the mouse, so I can figure out the angle between the player and the mouse using atan2. But I am a little confused as to how I would approach this with a gamepad.

    Any help is appreciated,

    mobichan

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Using analog joystick for 360 shooting?

    Can anyone tell me if this is even possible with Joystick2? Or should I be looking at another extension all together?

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Using analog joystick for 360 shooting?

    You can use the expression to get the joystick direction in degrees.

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Using analog joystick for 360 shooting?

    Thanks.

Similar Threads

  1. Right Analog Stick
    By dsilvers in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th November 2013, 03:55 AM
  2. finding the angle of an analog joystick
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 27th June 2011, 01:50 PM
  3. analog joystick for aiming
    By theninjablooper in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 29th September 2010, 11:10 PM
  4. [Request/Idea] Analog joystick with support rumble
    By fernandolt in forum Extension Development
    Replies: 1
    Last Post: 26th July 2007, 08:27 PM
  5. Dual Analog Extension?
    By HammerBro in forum Extension Development
    Replies: 7
    Last Post: 26th July 2006, 05:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •