Dual Stick Movement for iOS ? It's possible ? (like as Alien Breed iOS)

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.
  • Hi,
    I would like to know if it is possible to make Dual Stick Joystick just like Alien Breed on iOS (in App Store is free version). Below I attached video and graphic example:
    Please login to see this link.
    Please login to see this link.

    It works that the left joystick is responsible for the move character (360 direction ?) while the right joystick is responsible for the shoot (360 direction). A most important thing in this kind of controls is that you can running back and shooting ahead.
    I would like to create this kind of control system for iOS. I found something similar in community resources but it is not working very well and when I testing it for real device it is crash and freezes my device (iPhone). But this example is not the same what I mean because Right Joystick should change player position and bullets should always come out of the barrel. You can find example below (it’s not my example):

    Please login to see this link.

    Can anybody help me ?

    (i can't register my steam version Fusion 2,5 Dev but i have it and iOS exporter)

  • Yes it's definitely possible, the example file you have there would be a good base to start from. You'd just need to set the angle of the player facing to the angle of the second touch stick. You can replace the direction calculator with the built in 2.5 angle calculations, that might be what is causing the crash.

    I might post an example of a more fleshed out twin stick shooter one day..

    Check out my Game on Itch.io
    Please login to see this link.

  • Yes it's definitely possible, the example file you have there would be a good base to start from. You'd just need to set the angle of the player facing to the angle of the second touch stick. You can replace the direction calculator with the built in 2.5 angle calculations, that might be what is causing the crash.

    I might post an example of a more fleshed out twin stick shooter one day..

    I don't know what is wrong with dual stick example. Maybe you're right about ADO. It's to difficult for me so i don't have solution.

  • -> willy
    I pasted your example here (it's not my example). This example not working in iOS Device and iOS simulator very well. I don't know what is a reason but If i play in your example after 10-15 seconds the application crashes and touch joystick not respond to touch. Did you use it on real device or simulator ?

  • Wow, you're right. It's problem with scrolling when you use touch. When I resized frame screen to device resolution (without scrolling) everything is fine. But in your example is another problem. When I move character by left joystick and after that in the same time I shoot by right joystick and next release right joystick the shooting system don't stop. I have to release left joystick and after that shoot by right joystick is stop.

  • Instead of creating a new thread, I thought I'd just ask on here.

    Is dual stick movement possible with a game controller? Unfortunately, the Joystick 2 object isn't iOS compatible. The game I'm working on requires it. I'd like to port to iOS in the future, but can't seem to find a way to get it working with a controller. I'm hoping I might just be missing something obvious.

    I use Volnaiskra's Vaccine 2 for the PC version. It works great, but for iOS all I really need is the right joystick's angle and apply it to my character's weapon on screen.

    Is this currently possible?

    Edit: I should also probably ask if this translates to the Mac exporter as well? (Maybe also tvOS? Can I even make tvOS games with Fusion?)

    Please login to see this link.

    Edited 2 times, last by xhedgehogx (October 3, 2023 at 10:26 AM).

  • Instead of creating a new thread, I thought I'd just ask on here.

    Is dual stick movement possible with a game controller? Unfortunately, the Joystick 2 object isn't iOS compatible. The game I'm working on requires it. I'd like to port to iOS in the future, but can't seem to find a way to get it working with a controller. I'm hoping I might just be missing something obvious.

    I use Volnaiskra's Vaccine 2 for the PC version. It works great, but for iOS all I really need is the right joystick's angle and apply it to my character's weapon on screen.

    Is this currently possible?

    Edit: I should also probably ask if this translates to the Mac exporter as well? (Maybe also tvOS? Can I even make tvOS games with Fusion?)


    No such thing is possible, Vaccine is just a series of workarounds to fix Joystick 2 issues, but it won't make it work on other runtimes, unless the extension creator suddenly decides to port it
    Anyways, you should be using SDL object instead, it's modern, way better, and works on all runtimes too, it's paid but worth it in my opinion (it's only 5$ per platform anyways) I personally tested it on Windows and Android, it works flawlessly.
    Please login to see this link.

    Game/App developer, artist and a community contributor.
    You can support my work on: Please login to see this link.

    Edited 2 times, last by Linky (October 3, 2023 at 2:26 PM).

  • Probably a dumb question, but how do I download it after signing up for their Patreon? I think I found an older version publicly available.

    Edit: I contacted Phi on Discord about it.

    Please login to see this link.

    Edited 2 times, last by xhedgehogx (October 3, 2023 at 11:16 PM).

Participate now!

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