User Tag List

Results 1 to 2 of 2

Thread: SOLVED: Full Screen Touch for Standard Jump Button (w/o Platform Movement Object)

  1. #1
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    lokanientertainment's Avatar
    Join Date
    Sep 2013
    Location
    Portland, OR
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SOLVED: Full Screen Touch for Standard Jump Button (w/o Platform Movement Object)

    Hello everyone,

    I've been searching and searching for a way to make touching anywhere on the screen (aka mouse click) control the standard joystick button 1 input. The reason I'm going this route is that my game was already complete, physics and all and trying to rebuild everything with the Platform Movement Object would have added a ton of time for one little addition. So this is what I did:

    For the Frame Options:
    - Under the Android tab, set the Device to: Touch Joystick
    - Check: Joystick Button 1

    Here is the trick, which I'm sure I'll get a bunch of flak for
    - Go in Photoshop, and make an image the size of your screen (important: make the background transparent)
    - Add a new layer
    - Using the paint bucket, make the new layer entirely black
    - Go to opacity, and set that layer's setting to 1%
    - Save it as JoystickButton1.png or whatever your preference is

    Implementation:
    - In your application settings in MMF2, go to the Android tab, then to the Joystick images
    - Replace both Fire1 and Fire1 (pressed) to your new 99% invisible image.
    - Testing will need to be done on a virtual or real device, but it works! Cool!

    Note:
    Once the touch joystick option is selected, it will also show the on scree joystick. Be sure to replace both of those graphic files with something small and transparent.

    I'm sure for the next project I'll be using the platform movement object but I have to get to other things, any notes/questions/criticisms let me know as I'm sure there are other ways to go about but I just couldn't find an easy way to do so.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by lokanientertainment View Post
    Hello everyone,

    I've been searching and searching for a way to make touching anywhere on the screen (aka mouse click) control the standard joystick button 1 input. The reason I'm going this route is that my game was already complete, physics and all and trying to rebuild everything with the Platform Movement Object would have added a ton of time for one little addition. So this is what I did:

    Using the Joystick control object:
    - Start of frame: Start/Stop joystick button 1 (hide or not)

    For the Frame Options:
    - Under the Android tab, set the Device to: Controlled by Extension
    - Check: Joystick Button 1

    Here is the trick, which I'm sure I'll get a bunch of flak for:
    - Go in Photoshop, and make an image the size of your screen (important: make the background transparent)
    - Add a new layer
    - Using the paint bucket, make the new layer entirely black
    - Go to opacity, and set that layer's setting to 1%
    - Save it as Joystick1.png or whatever your preference is

    Implementation:
    - In your application settings in MMF2, go to the Android tab, then to the Joystick images
    - Replace both Fire1 and Fire1 (pressed) to your new 99% invisible image.
    - Testing will need to be done on a virtual or real device, but it works! Cool!

    I'm sure for the next project I'll be using the platform movement object but I have to get to other things, any notes/questions/criticisms let me know as I'm sure there are other ways to go about but I just couldn't find an easy way to do so.
    Hey, that's pretty clever. I'm glad you figured such a difficult thing out yourself.

Similar Threads

  1. Mario Kill Jump with Platform Movement Object?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 24th February 2012, 01:59 AM
  2. Jump through slopes (Platform movement object)
    By MayorJon in forum File Archive
    Replies: 3
    Last Post: 12th December 2011, 12:51 AM
  3. Jump Through Platform (Platform Movement Object)
    By Tuna in forum SWF/Flash Export Module Version 2.0
    Replies: 8
    Last Post: 4th January 2011, 12:32 AM
  4. Changing the Platform Movement Jump Button?
    By RetroRain in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th December 2010, 02:15 AM
  5. Double jump with standard platform movement
    By K1kk0z90 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th September 2010, 11:33 AM

Posting Permissions

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