User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18

Thread: spike walls glitch out of frame

  1. #11
    Clicker Fusion 2.5 Developer

    Join Date
    Mar 2018
    Posts
    163
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Janette5 ah ok lol thank you for that. but how would i fix this? for some reason i get stuck when i collide with either of the walls.

  2. #12
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    894
    Mentioned
    119 Post(s)
    Tagged
    0 Thread(s)
    Just reset the flags when the player is not overlapping the spike walls.

    * NOT player is overlapping spike_wall1
    player : Set Flag 2 off

    * NOT player is overlapping spike_wall2
    player : Set Flag 3 off

  3. #13
    Clicker Fusion 2.5 Developer

    Join Date
    Mar 2018
    Posts
    163
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Janette5 ah ok. thank you so much for the help!

  4. #14
    Clicker Fusion 2.5 Developer

    Join Date
    Mar 2018
    Posts
    163
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Janette5 uh i do have one more question to ask. so when the player collides against one of the spike walls they get kinda stuck on them. it isnt like the last time, this time you can detach yourself pretty easily but what do i do to prevent it? i think maybe if i bring the walls back it may fix it but im not too sure. to make it happen just run towards one of the walls, and to detach yourself just wiggle a but and you come loose. Application 6.mfa

  5. #15
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    894
    Mentioned
    119 Post(s)
    Tagged
    0 Thread(s)
    The way it's written is if the player touches the wall then the wall pushes them. If they move left or right they're still touching the wall and the wall will push them in the direction the wall is going.

    If they move away from the wall - and there is space - they can again freely move - but they need to do that faster than what the wall is moving in order to break the collision.

    If you don't do this - then the wall won't push them but move over them.

    There's two things you can try - I put them into the game - the one is to reset the flag when the wall changes direction - lines 71 + 77.

    The other is to only have the all push the player when it is moving in a specific direction - so when the wall is retreating the collision is reset and doesn't trigger. I changed lines 69 + 75 to test the direction.

    See if these solve your problem.
    Attached files Attached files

  6. #16
    Clicker Fusion 2.5 Developer

    Join Date
    Mar 2018
    Posts
    163
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Janette5 they both work fine. can i leave both in the code or do i have to take one out?

  7. #17
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    894
    Mentioned
    119 Post(s)
    Tagged
    0 Thread(s)
    You should leave both - they work together.

  8. #18
    Clicker Fusion 2.5 Developer

    Join Date
    Mar 2018
    Posts
    163
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ah ok thanks

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. spike walls overlap each other
    By Euingee in forum Fusion 2.5
    Replies: 22
    Last Post: 29th June 2020, 10:30 PM
  2. spike walls disappearing after a while
    By Euingee in forum Fusion 2.5
    Replies: 4
    Last Post: 10th June 2020, 05:26 PM
  3. Pathfinding issue, enemies glitch through walls
    By Lukiester in forum Fusion 2.5
    Replies: 21
    Last Post: 4th July 2018, 06:10 AM
  4. Replies: 5
    Last Post: 18th April 2017, 11:54 PM
  5. Jump to Frame glitch?
    By xerus in forum Multimedia Fusion 2 - Technical Support
    Replies: 21
    Last Post: 12th July 2006, 06:10 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
  •