User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: Newbie Stuff, Collisions, Moving Animations

  1. #1
    No Products Registered

    Join Date
    Feb 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Newbie Stuff, Collisions, Moving Animations

    So, hello to you all. I decided to try around with mmf2 a little bit after reading up on it on wikipedia. Now i browsed the forums a bit but did not see anything that had to do with my first two "problems". well they're not real problems, i just wanna know if i'm attempting things right and if there is an easier way to do it (i think there is )

    I'm trying to make a little RPG-style game.

    First one is: i got a moving animation consisting of two pictures (wow, how smooth) and now my way to display movement on my character is as follows:
    -On my active picture, which is the player character, i defined 5 alterable values (move_up, move_down, move_right, move_left and animation), movement type eight direction with only 4 picked.

    -i opened up the event editor, and chose "Upon pressing "right arrow"", new picture (move_right_01) and set all variables except move_right to 0 (it is set to 1).

    -now i defined another event: repeat while "right arrow" is pressed, every 00"-25, if move_right=1 and animation=0:
    set animation to 1 and newpicture (move_right_01)

    -another event: repeat while "right arrow" is pressed, every 00"-50, if move_right=1 and animation=1:
    set animation to 0 and newpicture (move_right_02)

    and all that for every 4 directions. now i wanna know is this a good way to do it? i suppose there must be an easier way in this kind of tool :P

    Second question is about collisions:
    To test i made a simple empty room as backdrop and put an active object (bed) in it. now naturally i don't want my character to run through the bed. and now im kinda stuck here. the way i did it (which isn't quite working) is:

    -event editor: collison between "bed" and "player + player is facing East -> Set authorised directions to North, South, West
    So this way the character can't move into the object, but also cannot move eastwards ever again i did this with all four directions and added an event to Pressing left, allowing all directions. Now the player can naturally move through the bad if hes coming from the right.

    So these are my problems, i hope i am not bothering you guys with this too much, and apologies if there are any spelling or grammar mistakes, english isn't my first language. Thanks in advance for any help, and have a good day

  2. #2
    No Products Registered

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

    Re: Newbie Stuff, Collisions, Moving Animations

    just click the character and click the running icon in the properties toolbar and assign the character a movement called "eight-directions"

  3. #3
    No Products Registered

    Join Date
    Feb 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Stuff, Collisions, Moving Animations

    i have my character on movement type "eight-directions" (as stated above), but how this alone will make him display the right animation frames when moving around is beyond me.

  4. #4
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Location
    Turku, Finland
    Posts
    1,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Stuff, Collisions, Moving Animations

    Well, basically if you use the "walking" animation, it should automatically assign the animations to the corresponding directions. I rarely use the built in movements, as they can be a bit buggy. But, if you are a beginner, they are a good thing to start with. You can later browse the forums for instructions about custom movements, but I think the eight-direction movement is not too buggy.

  5. #5
    No Products Registered

    Join Date
    Feb 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Stuff, Collisions, Moving Animations

    ummm, but where does it take the animations from? i'm totally puzzled now...

  6. #6
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Location
    Turku, Finland
    Posts
    1,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Stuff, Collisions, Moving Animations

    If you use the sprite editor to make your active objects, you just insert the animations to the "walking" thing where you can define every directions with different animation. If you still didn't understand, I can make you an example.

    Edit: Well, in any case the example is here.

    Oh, and for your second problem: You could just use the "movement - stop" event to make the character stop when colliding in the bed, allowing it to move into an different direction.

  7. #7
    No Products Registered

    Join Date
    Feb 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Stuff, Collisions, Moving Animations

    ah thank you very much my problem was that i used the active picture for the player character so there were no movement or direction options :P i found that you can set background objects as "obstacles" but it seems that this just does nothing. i will try the stop method you mentioned, thanks for your help

  8. #8
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Location
    Turku, Finland
    Posts
    1,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Stuff, Collisions, Moving Animations

    No problem. I'm not a professional myself either, so I like helping with beginners.

  9. #9
    No Products Registered

    Join Date
    Feb 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Stuff, Collisions, Moving Animations

    okay this works perfectly and is much easier than the complicated stuff i was doing before lol. well i guess i'm still too much thinking like a programmer

    another short question if you know a way to do this. i'd like to define a border for where my character can move, what would be the best way to do that?. i have for example a room as background, with no objects but the wally inplace (they are part of the background) can i now somehow outline a box for possible movement (like in the tutorial with mouse movement) or can i somehow setup some invisible lines/barriers?

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,345
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Stuff, Collisions, Moving Animations

    You can not outline a box for movement, but you can make the limitation yourself by using invisible active objects and tell the player to bounce if it collides with them. You can also use semi-transparent quick-backdrop obstacles instead of actives.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Moving platform collisions (solved!), but just one question!
    By Yima in forum Multimedia Fusion 2 - Technical Support
    Replies: 20
    Last Post: 24th June 2014, 12:21 AM
  2. moving actives, or backdrops... or other stuff :)
    By clim in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 2nd March 2011, 03:40 AM
  3. Moving animations around in the ani editor
    By FormerTGFGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 15th November 2008, 07:39 PM
  4. Newbie Help: Platform Movement Object animations
    By Brian in forum Multimedia Fusion 2 - Technical Support
    Replies: 28
    Last Post: 9th May 2008, 01:51 PM
  5. Newbie help: Platform Movement object animations
    By Brian in forum File Archive
    Replies: 1
    Last Post: 2nd February 2008, 10:14 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
  •