User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 29

Thread: Newbie Help: Platform Movement Object animations

  1. #11
    No Products Registered

    Join Date
    Jan 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Help: Platform Movement Object animatio

    I have another question. What is the best way to change the controlled character in game? An example of this would be:

    In a Mario game, you start out as little Mario with a correspondingly small move box. Then he touches a mushroom, and the animation changes to big Mario and the move box becomes bigger to fit the larger sprite.

    What is the best way to do this? I've been trying to create the bigger character and the bigger move box as separate new objects that position at the small character's location, but it isn't working out so well; plus, it would be tedious to assign each of the characteristics the small character has in common with the larger one individually to each one. I'd like some tips!

  2. #12
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Help: Platform Movement Object animatio

    just have two animations for the box, one small and one big. then have two different animated character active objects "stuck" to the box. When he's small, change the animation of the box to the small, and show the small character animated active object. When he's big, change to the big box animation, and switch which animated character active is visible.

  3. #13
    No Products Registered

    Join Date
    Jan 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Help: Platform Movement Object animatio

    Quote Originally Posted by HolyMonkey
    just have two animations for the box, one small and one big. then have two different animated character active objects "stuck" to the box. When he's small, change the animation of the box to the small, and show the small character animated active object. When he's big, change to the big box animation, and switch which animated character active is visible.
    Thanks for the advice! I tried this, and I am having issues with getting the bigger box assigned to the Platform Movement Object (PMO). I tried to do this with an event that sets the PMO to the bigger box, but when I run the project and touch the power-up, the bigger box appears but stops moving (except just turning left or right). Is the set object the ideal method to change the PMO assignment from the small to the large box?

  4. #14
    No Products Registered

    Join Date
    Jan 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Help: Platform Movement Object animatio

    Never mind; I figured it out...obvious error of mine (as they all are in programming, eh?).

    But I may come back with more questions later.

    Thanks all!

  5. #15
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Help: Platform Movement Object animatio

    Submitted a fixed version in your thread in the file archive forum for you

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=76403#Post76403

  6. #16
    No Products Registered

    Join Date
    Jan 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Help: Platform Movement Object animatio

    Thanks DistantJ! After looking over my (now several days old) work and your improvements, I am already noticing some errors/complications in my engine that I've learned to avoid.

  7. #17
    No Products Registered

    Join Date
    Jan 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Help: Platform Movement Object animatio

    Here is another question:

    How would I create a non-player-controlled character that walks back and forth at constant speed on a platform, switching directions when it hits a wall? The only way I can see is by creating an active object and setting its movement to a path, then manually setting the path. However, this way seems too complicated, and I feel that there is probably an easier solution.

  8. #18
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Help: Platform Movement Object animatio

    That's usually done with X/Y inertia, which takes some learning but is worthwhile. Basically you set values etc inside of the enemy so it knows whether it's moving left or right, and increase or decrease the X co-ordinates depending on this (X is how far across the frame the object is, to increase it's X co-ordinate by 1, you'd do "Set X co-ordinate to X co-ordinate ("enemy") + 1" for example), then when overlapping a backdrop (+ only one action when event loops!) you'd change the value. If you want a very basic left/right movement, use an internal flag, and toggle the flag when it overlaps a backdrop. Then you'd have, say, if flag is on, increase X by 1, if off, decrease X by 1. Et cetera...

    Sorry if I made that sound too complicated...

  9. #19
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Help: Platform Movement Object animatio

    Check out the old game called "Zeb", it's an old example game that should be open source.
    Working as fast as I can on Fusion 3

  10. #20
    No Products Registered

    Join Date
    Jan 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Newbie Help: Platform Movement Object animatio

    @DistantJ: I think I understand what you are saying, but with that method, wouldn't I be unable to set the speed of the enemy (since it depends on the processor's speed to add 1 to the X coordinate rather than any timed function)?

    @LB: I tried to look for Zeb, but I cannot find the source or the game...Google only gives me a couple mentions in some forums about it...something about it being included as a free game with Game Factory 2?

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. Adding Animations in Platform Movement Object
    By Namo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 2nd February 2011, 02:29 AM
  2. Newbie question about Platform Movement Object
    By Brian in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 12th April 2008, 11:57 PM
  3. Newbie help: Platform Movement object animations
    By Brian in forum File Archive
    Replies: 1
    Last Post: 2nd February 2008, 10:14 PM
  4. Newbie Stuff, Collisions, Moving Animations
    By XenonMB in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 22nd February 2007, 07:41 PM
  5. Newbie: Problems with Platform Movement
    By lorlenes in forum The Games Factory 2 - Technical Support
    Replies: 6
    Last Post: 28th December 2006, 06:08 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
  •