User Tag List

Results 1 to 4 of 4

Thread: Touch joystick - repositioning and scaling

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    May 2012
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Touch joystick - repositioning and scaling

    Hey clickers, I was trying to make an analog joystick (with slower-faster implementation). it worked fine for my needs - except I couldn't figure it out how to reposition it while scrolling (note this is different from the dual-analog example by Willy, it was actually an analog that upon releasing it would come back to the dead zone position).

    anyways, that's not the point, I decided to check the built-in touch joystick (I know it isn't real analog as well, just wanted to check it out) - and there's something I couldn't figure it out how to do properly:

    - how to position and scale it? in the events there's the joystick position (X and Y), and the buttons as well... but they make no difference (running on real device from xcode), they are displayed in the same fixed location and scale...

    any ideas?

    -- EDIT: nevermind, just changed the frame properties to "controlled by extension", now I guess it is fine!

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    May 2012
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok so I got another question... while scrolling, how to make the built-in joystick to stay in place (After repositioning)? I tried using dynamically repositioning (to adapt on every device screen ratio) but they start to move along when the scrolling is taking place...

    -- EDIT: oh my goodness, oh my dayum... I just woke up slower today, I just put the positioning event in the start of the frame line... (it was in the "always" line).... now it is just fine.... sorry about that!!

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't have this problem, just using the Joystick Control Object and set the iOS stick to "Controlled by extension".

    However, positioning has a bug (reported few days ago), you can't use expressions like xleft frame or ybottom frame. Instead, use fixed coordinates related to the top left screen. It should stay in place, no need to reposition it all the time.

    Edit: seems this isn't a bug, just the way it works, see
    http://community.clickteam.com/showthread.php?t=79032

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    May 2012
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks, I got it right now.. setting the position in the Start of Frame event seems to do the trick.. gonna test on my 4S e iPad 3 later on, but I think it will work (works fine on 5)

Similar Threads

  1. Touch Joystick scaling
    By Astronio in forum Android Export Module Version 2.0
    Replies: 5
    Last Post: 22nd April 2013, 07:43 PM
  2. How to use the touch joystick?
    By Ls2 in forum Android Export Module Version 2.0
    Replies: 8
    Last Post: 13th February 2012, 03:39 PM
  3. [BUG] Touch Joystick
    By Ls2 in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 10th November 2011, 06:19 PM
  4. BUG: Touch screen joystick
    By happygreenfrog in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 16th September 2011, 11:34 PM
  5. Touch Joystick
    By JasonDarby in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 17th January 2011, 12:51 PM

Posting Permissions

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