User Tag List

Results 1 to 9 of 9

Thread: Platform Movement Object multitouch problem

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleUniversal Windows Platform Export Module
    MattKapa's Avatar
    Join Date
    Aug 2011
    Location
    Earth
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Platform Movement Object multitouch problem

    Hey guys, I'm working on a platform game and I was wondering if anyone else had a similar problem to me and if anyone could help me fix it.

    I am using the platform movement object and have the app set to multitouch (with a multitouch object in the frame as well). I am not using the built in joystick object, instead I made a left and a right button to move. The wierd thing is, that when you hold down left or right AND tap somewhere else on the screen, the speed of the character goes down by about 50% and the animations mess up. Anyone experience this?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Aug 2011
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Object multitouch problem

    Try using multiple touch object and XTouch(..) YTouch(..) values to detect clicks inside your controls.

    Know also that deceleration of platform movement object is not working! (Works fine on simulator but not on iPhone) So you will need to set manually X Velocity to 0 to stop you toon. (when no input is given for example)

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleUniversal Windows Platform Export Module
    MattKapa's Avatar
    Join Date
    Aug 2011
    Location
    Earth
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Object multitouch problem

    Iggy, I used the multitouch object for almost all the events, but I used (negate)"repeat while mouse button is pressed" to detect when my controls weren't being touched! I recreated the same event with the multitouch object, and it works like a charm .

    A hundred thank yous dude!!!!

  4. #4
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Platform Movement Object multitouch problem

    Sounds like there is a bug at work there. Will look into this.

  5. #5
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleUniversal Windows Platform Export Module
    MattKapa's Avatar
    Join Date
    Aug 2011
    Location
    Earth
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Object multitouch problem

    Thanks Andos

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Object multitouch problem

    Hey Andos,

    Any update? I'm working on a game using platform movement object and noticed two issues.

    1) The deceleration doesnt work on the devices.
    2) There's a huge speed discrepency between horizontal movement and vertical movement as compared to the PC runtime. In other words, oncew running on a device or iphone emulator, suddenly the gravity and vertical speed seems the same as on the PC, yet the horizontal movement is much slower, roughly half speed.

    thanks

  7. #7
    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)

    Re: Platform Movement Object multitouch problem

    Can you send me an example showing the problems? Thanks.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Object multitouch problem

    Hi Francois..

    I'm a bit swamped right now but will try to do so by some time tomorrow.

    I assume you mean the difference between the Y velocities between PC and ipod touch because the other issue (deceleration not working in platform movement object) is already known...

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Object multitouch problem

    Hi again, I think I figured it out.

    I had a fastloop to check for collisions with the tops of enemies whenever the player was falling. Even though there were only about 10 enemies per frame, the fast loop seems to be what was killing the frame rate and therefore slowing movement down when the player was moving vertically.

    Once I figured out a way to replace the fastloop with a non-fastloop equivelent and capped the frame rate at 30 fps, it now funs smoothly.

    I'd read other posts about fastloops and events in general hitting the framerate quickly, but I'm surprised just how quickly. A 4 FPS hit for a 10 enemy fastloop is pretty painful. I really hope you guys manage to port and debug the for each extension so it works across all platforms.

    I'd read other posts

Similar Threads

  1. Problem with platform movement object
    By path in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 12th May 2013, 09:18 PM
  2. Problem with saved speed in Platform movement object
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 24th February 2012, 07:02 PM
  3. Problem with platform movement object
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 23rd October 2011, 11:01 PM
  4. Platform Movement object problem
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 29th June 2010, 07:54 PM
  5. Platform Movement Problem
    By mookai in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 9th May 2008, 07:36 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
  •