User Tag List

Results 1 to 8 of 8

Thread: Help with player hurt response (mfa included)

  1. #1
    No Products Registered

    Join Date
    May 2012
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with player hurt response (mfa included)

    Hey guys I need a method for a player getting hurt and after getting hurt moves backward automaticlly.
    Heres something i came up with, but it is real buggy . When the player gets hurt and moves
    into a backdrop he either gets stucks or keeps moving. In this case i need the player to just stop moving.
    Heres wut i came up with, if anybody can fix this or show me another method i would be very thankful!
    mfa and exe file :

    http://www.4shared.com/zip/NkMaXAnw/..._feedback.html

    exe file:player_hurt_feedback1.zip

  2. #2
    Clicker Fusion 2.5

    Join Date
    Apr 2012
    Posts
    377
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hurt.jpg

    This is how I do it, with a fastloop. Since for every pixel it moves the player, it checks if its overlapping a backdrop, it can never go "inside" a backdrop.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    - If Player gets hit
    --> Player set direction to X
    --> Change Animation sequence to hurt
    --> Change movement to movement number 2 ( Pinball Movement )

  4. #4
    No Products Registered

    Join Date
    May 2012
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    can somebody post an example plz?
    im having trouble still, i dunno how to use fastloop and i dont know how to set the player direction to X tells me syntax error when i try
    and i dont know how to change player movement to movement 2 (pinball movement)

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    X is the direction you want to your Player to be pushed back in.

    Im sorry i havent been able to view your example, but if you uppload it using the Comunity Upploader i will ( before posting press the button named 'go advanced', and then press the button named 'uppload files' ).

    Are you using the Built In Platform Movement?

  6. #6
    No Products Registered

    Join Date
    May 2012
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Heres the mfa file,
    player_hurt_feedback1.mfa

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your example looks like a maze to me

    However i made a simple example illustrating my suggested solution.
    Attached files Attached files

  8. #8
    No Products Registered

    Join Date
    May 2012
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thx alot! this is a great example. except ur right, my engines seem like a maze

Similar Threads

  1. Been Asked A Millon Times! But 1 more wont hurt!
    By Ryan9171 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 5th September 2012, 09:06 AM
  2. How to make player completly stop after getting hurt and colliding with an obstacle
    By path in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd June 2012, 03:42 AM
  3. Hurt-flashing
    By Storsorgen in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 27th April 2012, 09:40 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
  •