User Tag List

Results 1 to 4 of 4

Thread: Custom Movment and Collisions.

  1. #1
    Clicker Multimedia Fusion 2SWF Export Module
    Eagi's Avatar
    Join Date
    Feb 2012
    Location
    Eskilstuna, Sweden
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Custom Movment and Collisions.

    Hi I'm playing around with an eight directional rpg game with a camera placement of around 45 degrees up, I was wondering if can make my char move slower upward and downward than he moves sideways? to create a depth effect?

    Secondly, is there any way to make collisions with other active objects only affect part of the charr (in this case only the feet area) so that the upper body can still pass through objects unhindered?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jan 2012
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Eagi,

    For your second question you could make your character have two parts (or as many parts as you need). Have the legs set to collide with obstacles, have the body set not to. Assign the body's action point to the x and y of the legs action point 'always' and make sure the action points line up correctly, this way the body will stick to the legs all the time and each part can treat the environment differently. Also set the direction and animation of the top equal the that of the bottom in the same event :-)
    I have a musical note character that I do this with the tail of the note which I want to go through platforms, the tail is a separate graphic that doesn't interact with the platform so it can hang over it and is attached to the note at it's action point, but could also be relative to the note, didn't have to be at the action point. I got the idea from the tutorial on the clickteam site for animation, where it shows how to 'stick' all these different body parts together using an 'always position part at x,y relative to other part' and figured you can make different active parts react differently to the environment this way too... The slower upward and downward I can't help you with but I'm sure someone can!
    Another way you might make your character have parts that do not collide is if you use a sensor and attach your character to the sensor you can test the sensor for collision instead of your character and make the sensor shorter than the body of your character. Test for sensor collision and since it's not above your character's waist you could walk through the obstacle...

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module
    Eagi's Avatar
    Join Date
    Feb 2012
    Location
    Eskilstuna, Sweden
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your reply Netflyer I'll try the sensor first! maybe kill two birds with one stone and make a small character shadow (around his feet) and use that as a collision object. I'll se if I can make it work tonight. I had the same Idea this morning but for some reason it screwed up my chars movement commands. I probably did something odd in the event editor :P

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jan 2012
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No problem if you need the exact code to stick two body parts together I can help if the sensor shortening doesn't work...

Similar Threads

  1. Own bounce movment
    By ColdFire in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 27th July 2011, 07:49 PM
  2. Platform movment help.
    By kobaj in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 7th December 2007, 04:07 AM
  3. Marble Movment?
    By LB in forum The Games Factory 2 - Technical Support
    Replies: 18
    Last Post: 6th September 2007, 09:00 AM
  4. Movment and Collison
    By Ebola in forum File Archive
    Replies: 3
    Last Post: 4th May 2007, 09:30 AM
  5. I need help with characters movment
    By AusZero in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 7th February 2007, 04:52 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
  •