User Tag List

Results 1 to 10 of 10

Thread: Beta 6: Set joystick position to (x,y) not working

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Beta 6: Set joystick position to (x,y) not working

    Cannot get the new "Set joystick position To" action to work for the touch joystick (neither with "Start of Frame" nor with "Always").

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 6: Set joystick position to (x,y) not working

    "Set x joystick to" and "Set y joystick to", both make the game to quit.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 6: Set joystick position to (x,y) not working

    "Start/stop touch joytick" does not work; say, like "Start/stop touch joystick 1 (joystick), 0 (button 1), 0 (button 2), 0 (left handed).

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 6: Set joystick position to (x,y) not working

    Please, disregard my previous posts about this.

    I didn't realize that you have to set "controlled by an extension" on the frame's properties for IPhone (I had set it to "None", instead).

    "Set joystick position to" and "Start/stop" do work ok.

    However, I´m getting an exception when I use "Set x joystick to" and "Set y joystick to".

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 6: Set joystick position to (x,y) not working

    The exception occurs in the file named "CEventProgram.m" on the following line:

    if (oilPtr->oilActionCount != rh2ActionCount)

    oilPrt equals 0x10000000, oilActionCount doesn't display an int number and rh2ActionCount is set to 11.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 6: Set joystick position to (x,y) not working

    What I do is:

    *Start of Frame
    Start/stop touch joystick 1 (joystick), 0 (button 1), 0 (button 2), 0 (left handed),
    Set X Joystick to 160, and
    Set Y Joystick to 440

    It works if I change the last two lines for "Set joystick position To (160, 400)"

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 6: Set joystick position to (x,y) not working

    try setting the position before starting the joystick, maybe its the order of your events

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 6: Set joystick position to (x,y) not working

    Maybe, but the thing is that if you set the x and y coordinates with the same statement, it works, regardless the order.

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Beta 6: Set joystick position to (x,y) not working

    Fixed. Sorry for this stupid mistake.

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 6: Set joystick position to (x,y) not working

    It's ok

Similar Threads

  1. Joystick position and hide
    By Nellatermica in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 23rd May 2013, 02:39 PM
  2. Joystick Button Position
    By iamjot in forum Android Export Module Version 2.0
    Replies: 13
    Last Post: 27th April 2013, 09:06 AM
  3. [Bug-RC1] Virtual Joystick Position
    By scottige in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 8th November 2012, 05:49 PM
  4. Re-arranging the joystick position.
    By MattKapa in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 30th August 2011, 06:31 AM
  5. Joystick Buttons position.
    By Evilized79 in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 25th July 2011, 04:10 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
  •