User Tag List

Results 1 to 5 of 5

Thread: how to make enemies move away from each other?

  1. #1
    Clicker Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Mar 2018
    Posts
    324
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Exclamation how to make enemies move away from each other?

    im trying to figure out how to make the enemies move away from each other while coming after the player so they dont overlap, because when they come for the player they move very close to themselves bumping into one another. i do have it set where if the enemies overlap then theyll move in the opposite direction, but it only works if they completely overlap (lines 793 - 812, dont worry about lines 814 - 833 theyre the same as the other but for the flying enemies). is there a way to make them move away from each other? if you select praying mantis and werewolf youll notice this more. i have all the enemies in blocks becauses its even worse when theyre in character because of so many open spots in their bodies. custom1.mfa

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)

    Join Date
    Oct 2021
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know but for me it worked like bouncing ball movement, they just bounced off each other on colliding, and didn't overlap at all.

    You should keep the collision as blocks anyway, and put the sprites on the blocks.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)

    Join Date
    Oct 2021
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, ok the scarecrow is overlapping. But it's impossible to test I get completed wrecked instantly by the enemies xD

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)

    Join Date
    Oct 2021
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Scarecrow is not in your Group.Bad but the code is written only as Group overlaps group.

  5. #5
    Clicker Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Mar 2018
    Posts
    324
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    @MistaSub i made the scarecrow not part of group bad on purpose. what i mean is that the enemies when they collide with one another they just keep moving toward the player while overlapping each other. here i added the zombie, praying mantis, skeleton, and werewolfs actual character models. if you select zombie and skeleton and move away from them youll see theyll start trampling each other while coming after you, im trying to make them move away so they dont.custom1.mfa

Similar Threads

  1. enemies move behind bombs
    By Euingee in forum Fusion 2.5
    Replies: 13
    Last Post: 25th December 2020, 05:58 AM
  2. Enemies move down when player respawns
    By FenrisStudios in forum Fusion 2.5
    Replies: 4
    Last Post: 6th December 2019, 08:06 AM
  3. how do you make enemies that follow you?
    By zuloo in forum The Games Factory 2 - Technical Support
    Replies: 9
    Last Post: 5th May 2008, 11:32 PM
  4. Help getting enemies to move up and down ladders
    By Caesar in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 16th November 2007, 05:25 PM
  5. how do you make enemies?!?!?!
    By spartan117 in forum The Games Factory 2 - Technical Support
    Replies: 8
    Last Post: 14th March 2007, 10:57 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
  •