Why my Clouds move aren't functionnal correctly?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello dear developpers !

    I need your help..

    I made a quick Clouds Move Test within Clickteam Fusion 2.5 (in Steam version). So It's updated to last version.
    (I know already there is plenty of examples of moving clouds for Clickteam Fusion 2.5) but I'am curious and then I created my own methods..)

    But ... As I think my events are ALL logics... This seems not... So.. I don't know really WHY ...

    I submit my project in the hope someone can help me to understand what it not work.. and why..


    Correct Behavior will be:

    --1° If the objects left the frame by the RIGHT side, it will be modifiying their variable named str_FrameLeft to "Yes" (if not, this be set to "No").
    --2° If the objects variables named str_FrameLeft is placed to "Yes", the event logic will replace it to the LEFT side of the frame and then reinitialize a new speed in their variable named int_ActuallySpeed
    (based in random numbers between 1 and 10)


    The problem is:

    --1° My events are just composed of 3 clouds, 3 clouds objects.. which my Events logic will move..
    --2° Only the first one -Cloud_1- object act normally, others twos are buggy: (a) won't move (b) never change their str_FrameLeft variable to "Yes" (always reset to "No")..

    LAST PROBLEM, I WONDER:
    --3° Also, why the event's code logics that I disabled it between block: " [START]--- don't work, why???" and "don't work, why??? ---[STOP]" don't work to move the Cloud_1 objects positions to X-25 when it left the frame by right side of the frame ??
    (Please, explain me, I just want know why this won't work, since I need to understand the logic of WHY it won't work like this), please, I know I disabled it, and this make it ignored in runtime, but, I disabled it because I want show you the code without activate it..


    The code is in the submitted project attached:

    Please login to see this attachment.
    (if this link won't work, try this one instead with password

    Code
    cf2cf2

    : Please login to see this link.)


    Thanks !

    Hey I'm French, Hi!

    MMF2 SoundScape Engine (Moteur d'environnement) :
    FR: Please login to see this link.
    EN: Please login to see this link.

    May the .NET be with you (Star Wars .NET©)

    Edited 4 times, last by BackStaged: Typo fix (October 29, 2014 at 2:11 AM).

  • Hey there,

    Thanks, this is indeed the right behavior I want to achieve.

    But, I'm really wonder WHY my event logic don't work, seems it is a bug of the Clickteam Fusion 2.5 no?

    Hey I'm French, Hi!

    MMF2 SoundScape Engine (Moteur d'environnement) :
    FR: Please login to see this link.
    EN: Please login to see this link.

    May the .NET be with you (Star Wars .NET©)

  • Right proposition, I will do that, certainly, thanks for all, really :)

    Hey I'm French, Hi!

    MMF2 SoundScape Engine (Moteur d'environnement) :
    FR: Please login to see this link.
    EN: Please login to see this link.

    May the .NET be with you (Star Wars .NET©)

  • That green condition is exclusively for the movements; it will not work as the result of a "Set position" action.

    A leaves the frame on the right: This won't work since A never "left" the frame; it just isn't inside the frame anymore.

    A is outside the play area: Returns true if A is anywhere not inside the frame

    Best of luck!
    Snail

  • Hey, hello Snail,

    well, this must be precised then that the green conditions are ONLY for custom/native movements... because at first 'read logic' it can be tedious to understand because (and then why) it's in the category Position not Movement, also thanks for explanation..

    I then try another way to achieve it, but I just why in my other "test" the left things work only for Cloud_1 and not for Cloud_2 or Cloud_3 ??
    Did you know it ?

    (also thanks for answer! :))

    Hey I'm French, Hi!

    MMF2 SoundScape Engine (Moteur d'environnement) :
    FR: Please login to see this link.
    EN: Please login to see this link.

    May the .NET be with you (Star Wars .NET©)

  • I do know why:

    7-9 check if FrameLeft == "No" then they switch it to "Yes" and then set the position to -25.

    10-13 check if FrameLeft == "Yes" then they switch it back to "No."

    That will result in the clouds being stuck at -25. Regarding why Cloud 1 is able to move, I'm not sure the specifics but it has to do with its size and its starting position (it's bigger than the other two are and it's placed at -25). Given that you should change 7-9 and 10-13 anyway, discovering the particular cause of this issue isn't too important. :)

  • Ah.. thanks Snail,

    So.. I tryied to make it start (in the scene at Edittime) at X = -25px.
    This simply don't work.

    But.. Curiously, if I give the the width to 30px to Cloud_2 and Cloud_3 (Cloud_1 has 48px of width) ... It work, they are moving (even if not at X = -25px)

    It's then not logic, and a Clickteam Fusion 2.5 bug no ?

    Don't know why.. But this is something of annoying and totally illogic..

    Clickteam Fusion 2.5 Bug is: Position is based on WIDTH...

    >> Right behavior would be: The WIDTH would never interfere with a POSITION and be interpreted as EVENT LOGIC say.


    NO ? If you answer something of like "NO", please, explain me this logic then, if not, I will publish a bug ticket in the associated forum ;)

    Hey I'm French, Hi!

    MMF2 SoundScape Engine (Moteur d'environnement) :
    FR: Please login to see this link.
    EN: Please login to see this link.

    May the .NET be with you (Star Wars .NET©)

    Edited 3 times, last by BackStaged: Adding some text (November 3, 2014 at 5:27 AM).

  • Position of active objects is not based on width, it is based on the X and Y coordinates chosen as the hotshot on each frame of the object's animation.

    SUPER MEGA BEST CAT ADVENTURES Please login to see this link. and Please login to see this link. live now!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!