User Tag List

Results 1 to 3 of 3

Thread: working out which way its moving?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    working out which way its moving?

    Hi, ive got an active that is being moved up and down by simply :

    position active Y(get Y position of active)+5
    position active Y(get Y position of active)-5

    Im trying to work oout how i can detect if the object is moving up or down?

    how can i do that?

    Thanks
    Andy

  2. #2
    mojofltr
    Guest

    Re: working out which way its moving?

    In the same event, you could tell your program to set the direction of the object to up/down:

    position active Y(get Y position of active)+5
    set direction down

    ...or if that won't work for what you're trying to do, you could set alterable values within the object and make comparisons. Here is a quick example I made:

    http://www.mediafire.com/download.php?um2zhjnunht

    (By the way... am I crazy or are there a lot of people named Andy on this board?)

  3. #3
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: working out which way its moving?

    Use an alterable value/string.

    So for example;

    +Always
    - Set Alt String A to "up"

    +Alt string A = "up"
    - Set Y pos to current y pos - 5

    you can do the same for left/right etc.
    Sure its a few more events but its probably the easiest way

Similar Threads

  1. A moving ladder
    By FormerTGFGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 18th April 2011, 10:59 AM
  2. Moving background
    By FlinkGigitty in forum File Archive
    Replies: 2
    Last Post: 27th March 2009, 12:25 AM
  3. Gta moving
    By Janman in forum File Archive
    Replies: 7
    Last Post: 16th March 2009, 05:16 AM
  4. Moving BG's
    By Cossin in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 16th November 2008, 12:25 PM
  5. moving ?
    By ezra in forum File Archive
    Replies: 4
    Last Post: 19th March 2007, 07:41 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
  •