User Tag List

Results 1 to 5 of 5

Thread: Custom Character Movement

  1. #1
    No Products Registered

    Join Date
    Apr 2008
    Location
    Weston-super-mare
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Custom Character Movement

    I don't want to use the basic one because when he collides with background he starts to shake likes he is a washing machine.o_0

    I've heard of it and how to do it, but i can never get my head around it.

    I've only known TGF long enough to know all the basics and some advanced stuff but custom movement i can't grasp properly.

    My game is a top down view so it should be pretty easy.

    Objects:

    Top half of character (Body)

    Lower half of character (Legs)

    Collision detector (so that when his feet collide with a wall he stops)

    The collision detector is always postioned at the feet of the character.

    I know when you make custom movements that the character doesnt shake when it collides with an object.

    Giving them the right speeds i can not figure out for nothing, its so annoying when i'm trying to do something that i should know by now.>____________<

    I know this should be on the TGF2 board but no on is ever on their and i really need some help.

  2. #2
    No Products Registered

    Join Date
    Apr 2008
    Location
    Weston-super-mare
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Custom Character Movement

    Helloooo!?!??

  3. #3
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Nov 2006
    Posts
    696
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Custom Character Movement

    You'd use a fastloop based movement. I don't have MMF2 at the moment so I can't recreate the exact code you'd need but it goes along these lines:


    Always: Start loop move "up"
    On loop up set position of detector to position - 1.


    If the detector is not overlapping an obstacle at the end of the loop then you can keep it's position, but if it does overlap you can move it back before the next frame so it won't "shake".

    orry for not being more specific. I might have an example of how to do this on my other COM.

  4. #4
    Clicker Multimedia Fusion 2
    BrandonC's Avatar
    Join Date
    Jun 2006
    Location
    PA, USA
    Posts
    931
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Custom Character Movement

    Fastloop movement is sort of a bad name for movement that doesn't always require fastloops. It's usually just called Custom Movement.
    http://www.create-games.com/article.asp?id=1641

  5. #5
    No Products Registered

    Join Date
    Jun 2006
    Location
    Land of raging rockets
    Posts
    1,231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Custom Character Movement

    Nice article

    There are indeed plenty of articles and examples for this. Just dig around a bit and you'll find more than enough to work with.

Similar Threads

  1. Make a character jump...WITHOUT platform movement
    By cchapeton in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 30th July 2010, 07:16 PM
  2. Character movement
    By Captain825 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 12th February 2010, 10:19 PM
  3. Custom Movement problem (Horizontal movement)
    By KiteRyagara in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 7th June 2008, 03:40 PM
  4. Custom Character Movement
    By Martin_Bodger in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 26th May 2008, 01:57 PM
  5. custom character?
    By looner in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 10th June 2007, 06:24 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
  •