User Tag List

Results 1 to 2 of 2

Thread: punch away from enemy

  1. #1
    No Products Registered

    Join Date
    Feb 2015
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    punch away from enemy

    Hi

    im new to clickteam and i working on my first platformer game.

    i got my first really big Problem collisons,))

    1)

    so when i collide the enemy he should kick me away opposite.

    anyone have a idea? maybe ist really simple,-)

    2)

    When i jump on a enemy the enemy should be die only when i jump on him.

    my character uses physic platformer controll.

    thanks for help

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    For number 1, it's fairly easy to do if you're using the Platform Movement Object. Basically if the enemy collides with you, use the jump command to jump backwards (while keeping your player graphic facing the enemy). That gives you a bouncing effect when you're hit. If you don't want to bounce, then just have a condition to move the player's x coordinates backwards briefly. If you want the bouncing effect and you're using the built in platform movement, you'll need to make a custom movement with variables.

    As for number 2, create a flat active object and have it always positioned below the player's feet (uncheck visible at start). When the detector collides with the enemy, then destroy enemy. That way they will only be destroyed if you hop on them with your feet.

Similar Threads

  1. Punch action freezes animation
    By doki in forum Fusion 2.5
    Replies: 5
    Last Post: 13th May 2014, 09:25 PM
  2. Punch and reaction?
    By Zambaku in forum The Games Factory 2 - Technical Support
    Replies: 9
    Last Post: 1st March 2009, 06:29 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
  •