User Tag List

Results 1 to 4 of 4

Thread: Implementing the iOS joystick

  1. #1
    No Products Registered

    Join Date
    Dec 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Implementing the iOS joystick

    Hey Clickteam forums!

    I was trying to build an iOS game using clickteam fusion 2.5 with the iOS exporter. For this game, I was trying to create a joystick. I noticed that clickteam fusion already has a virtual joystick & fire buttons for iOS and I tried using this, however, I can't seem to figure out how to make my character walk right when the joystick is pushed to the right and vice versa. I can't seem to get the fire buttons triggering projectiles fired either. However, I can make this happen with normal buttons or clicking on a normal active object.

    Is there any specific things I have to do when using the iOS joystick? And how would I map an action or event to the joystick/fire buttons? PS: Is there a way to customize the look of the joystick?

    Thanks, I'm an iOS developer with some fairly successful apps, but I've only programmed these using Xcode and objective C. Only recently found clickteam, but its very interesting so I decided to give it a shot!

  2. #2
    No Products Registered

    Join Date
    Dec 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah figured this one out by experimenting. After enabling the iOS joystick within the frame properties, I went to event editor, new condition, joystick, repeat while joystick is pressed. And for what happens once this event occurs, I clicked on the box for my object, chose movement, start, set speed. It worked perfectly! Pretty amazed with what you can do with the fusion 2.5 ios exporter

  3. #3
    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)
    We will soon implement a much more useable joystick. For the moment it is rather hard to go right or left (or top or down), you keep on going in diagonals.
    This will be corrected.

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Apr 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Francois,

    Im a newbie to the built in joystick and managed to map left and right movement of my object to the Button 1 & 2. How do I incorporate Up & Down movement into the Joystick to get all four direction movement for testing on Xcode simulator in my Mac? Can 2 Buttons take 4 movements?

    Desperately,

    Ian

Similar Threads

  1. Help with implementing AS3 preloader :/
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 7th February 2013, 11:32 AM
  2. Implementing simple D&D e3.5 system
    By MTpitre in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 10th February 2012, 11:38 PM
  3. Implementing DOS In Application
    By Kracker in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th July 2011, 07:59 PM
  4. Problems with implementing property
    By kornelijepetak in forum Extension Development
    Replies: 6
    Last Post: 7th February 2008, 10:50 PM
  5. Implementing Pathfinding into the TG2!
    By BaconUk in forum The Games Factory 2 - Technical Support
    Replies: 6
    Last Post: 19th September 2007, 08:55 AM

Tags for this Thread

Posting Permissions

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