User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

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

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)

    Join Date
    Jan 2015
    Posts
    261
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

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

    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:
    https://www.youtube.com/watch?v=ALOSX5-EEP8
    http://cdn.toucharcade.com/wp-conten..._firestorm.jpg

    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):

    https://www.dropbox.com/s/m2qkqq959r...ck-05.mfa?dl=0

    Can anybody help me ?

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

  2. #2
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform 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)
    DaveC's Avatar
    Join Date
    Jun 2007
    Location
    Perth, Australia
    Posts
    2,132
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    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..

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)

    Join Date
    Jan 2015
    Posts
    261
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    It would be nice DaveC.

    ps. I check once again Dual Stick example

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)

    Join Date
    Jan 2015
    Posts
    261
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DaveC View Post
    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.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)

    Join Date
    Jan 2015
    Posts
    261
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    -> 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 ?

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Weird, it was working on MMF 2. I haven't tested on F2.5.

    Maybe it's a bug in F2.5? What are the errors you are getting in the xcode log? Make sure you run it on your device.

  8. #8
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)

    Join Date
    Jan 2015
    Posts
    261
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    It's weird because I have no errors on xcode. I upload video to youtube with this problem. The link is below:
    https://www.youtube.com/watch?v=-TAAmSOofIU
    https://www.youtube.com/watch?v=RRJmVF_BMJw

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I haven't tested it myself, but there seems to be an issue with touch and a scrolling view: http://community.clickteam.com/threads/90854-Touch-completely-broken-for-scrolling-games

  10. #10
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)

    Join Date
    Jan 2015
    Posts
    261
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    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.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 18
    Last Post: 10th January 2015, 08:23 PM
  2. Joystick Object 2 + default overhead movement + dual control scheme = ?
    By swerdmurd in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 2nd November 2013, 10:20 PM
  3. Dual Stick Shooter
    By willy in forum iOS Specific Example Files
    Replies: 15
    Last Post: 16th February 2013, 03:29 PM
  4. Davo / Alien still about ?
    By neat_Kliker2 in forum Extension Development
    Replies: 8
    Last Post: 4th June 2008, 05:56 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
  •