User Tag List

Results 1 to 7 of 7

Thread: How to define different walk lines (Y cordinate)?

  1. #1
    No Products Registered

    Join Date
    Oct 2006
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to define different walk lines (Y cordinate)?

    Pls could you explain me how can I change walk line (Y coordinate) to go left, right, up, down, jump.... from a new walk line position (relative to Y). I need 3 of them.

    In the example the blue lines are the walk lines I need to let the cat walk on them.



    I need to set walk lines at coordinates: Y(303) Y(334) Y(370)

    Thanks!

  2. #2
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    903
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How to define different walk lines (Y cordinate)?

    Value A=1 ----> Y pos=303, X pos
    Value A=2 ----> Y pos=334, X pos
    Value A=3 ----> Y pos=370, X pos

    Just enable only Left n Right directions and Up and Down code manually.

    For my example above:

    Press UP ---> Value A-1
    +Val A>0
    Press DOWN ---> Value A+1
    +Val A

  3. #3
    No Products Registered

    Join Date
    Oct 2006
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to define different walk lines (Y cordina

    I tried it, but with your example it defines only Y 334 Y 370 :/
    I don't know why but I can't reach global value A 1-->Ypos

  4. #4
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    903
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How to define different walk lines (Y cordina

    Sorry, it wasnt the whole guide, just idea how to make it.

    Well, I will try better:

    Have your cat with movement for only left or right direction.
    Create events:
    Value A=0 ----> set Y pos of cat=303
    Value A=1 ----> set Y pos of cat=334
    Value A=2 ----> set Y pos of cat=370
    Place your cat to first "line" in order to right value A (also when you start with value A=0 place it to 303)
    Create events:

    Press UP ---> Value A-1
    +Val A>0

    Press DOWN ---> Value A+1
    +Val A<2

    It could be all, I hope I didnt forget anything. If you dont catch it, I will make an example for you

  5. #5
    No Products Registered

    Join Date
    Oct 2006
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to define different walk lines (Y cordina

    I tried example 1 again, first times it gave me an error, now it seems to works good. Thanks a lot!
    How can I jump now? When I try it doesn't work.

    This is the code I use:

    It has to be changed because with your example I can't use it. Can you help me pls?

    CAT MOVEMENTS CODE:

    °Upon pressing "Left Arrow" ----->change animation to walking

    °Upon pressing "Right Arrow" ----->change animation to walking

    °Upon pressing "Down Arrow"---->change animation falling
    set cat position X0;Y45
    +negate Repeat while "Right Arrow" is pressed
    +negate Repeat while "Left Arrow" is pressed

    °Upon pressing "Down Arrow"-------> set cat position X-55 Y45
    +negate Repeat while "Right Arrow" is pressed
    +Repeat while "Left Arrow" is pressed

    °Upon pressing "Down Arrow"-------> set cat position X55 Y45
    +Repeat while "Right Arrow" is pressed
    +negate Repeat while "Left Arrow" is pressed

    JUMP CODE:

    °Upon pressing "UP Arrow"-------> Change animation to Jumping
    Set cat position X0;Y-45
    +negate Repeat while "Right Arrow" is pressed
    +negate Repeat while "Left Arrow" is pressed

    °Upon pressing "UP Arrow"-------> Set cat position X-55;Y0

    +negate Repeat while "Right Arrow" is pressed
    +Repeat while "Left Arrow" is pressed

    °Upon pressing "UP Arrow"-------> Set cat position X55;Y0

    +Repeat while "Right Arrow" is pressed
    +negate Repeat while "Left Arrow" is pressed

  6. #6
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    903
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How to define different walk lines (Y cordina

    With "jump" you mean movement up to previous "line"? I can see that you have 3 "UP PRESSED" conditions with no other conditions than Left and Right arent pressed. Also everytime when you press UP MMF will process all of these three events because they all are true.

  7. #7
    No Products Registered

    Join Date
    Oct 2006
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to define different walk lines (Y cordina

    I fixed it, thanks a lot for the help!

Similar Threads

  1. Can you define a character's hitbox?
    By YeOldeLuke in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th December 2013, 04:51 AM
  2. [REQ]Define pressed button by expression
    By ASD in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 17th March 2013, 12:25 PM
  3. Define Keys and other questions.
    By Worf in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th March 2010, 10:59 AM
  4. Re Define Keys Problem
    By scottige in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th December 2006, 05:51 PM
  5. How to define play area?
    By The Thinker in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th November 2006, 11:23 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
  •