Touch joystick - repositioning and scaling

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

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

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

  • 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
    Please login to see this link.

    Please login to see this link.
    Please login to see this link.
    Please login to see this link.

    Edited once, last by JoKa (February 13, 2013 at 1:01 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!