User Tag List

Results 1 to 2 of 2

Thread: change movement type issue (how to catch leaving object event)

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

    Join Date
    Apr 2017
    0 Post(s)
    0 Thread(s)

    change movement type issue (how to catch leaving object event)


    I made simple platform with ladders.
    Movement type is generally Physics - platform.

    On player overlapping ladder movement type is changing to 8 directions - it works fine.

    If player not overlapping ladder movement type is changing back to platform style but...
    This line causes that player object can not run.

    I tried 2 way:
    a) change physics platform to basic platform - player object was able to run but gravity doesn't work
    b) add button press to change movement from 8 dir to platform - works fine
    but if I want to change movement on every button pressed player object runs very very slow and make random movements

    So the problem is due to infinite continuous changing movement type.

    Do you know way to do something when object leave other object?

    Ladder must be active object, because user can place ladders

  2. #2
    Clicker Fusion 2.5
    casleziro's Avatar
    Join Date
    Mar 2013
    United States
    2 Post(s)
    0 Thread(s)
    give your player a value called "ladder" or something similar.

    then use these two events:

    ladder value = 0
    +player is overlapping ladder
    --> set ladder value to 1
    --> change movement to 8 dir

    ladder value = 1
    +player is NOT overlapping ladder
    --> set ladder value to 0
    --> change movement to platform

    that should only switch movements once when you leave and enter a ladder.

Similar Threads

  1. Replies: 6
    Last Post: 9th October 2016, 05:15 PM
  2. Replies: 4
    Last Post: 11th December 2015, 12:26 AM
  3. Newbie Issue (catch the fruit tutorial)
    By JC_LEON in forum Multimedia Fusion 2 - Technical Support
    Replies: 30
    Last Post: 12th November 2013, 10:31 AM
  4. Replies: 2
    Last Post: 9th October 2013, 05:26 AM
  5. Change font type in string object.
    By Pedro Almeida in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 10th February 2012, 06:48 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