User Tag List

Results 1 to 8 of 8

Thread: stopping an object after a set length

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Sep 2018
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    stopping an object after a set length

    Hello, I'm working on some crate type objects that will fall from the sky and land on the ground so the player will be able to get supplies.

    I want them to spawn on random parts of the level, then they will fall, and when they have fallen for a fixed length I want them to stop to simulate landing, and I'm trying to make it with the bouncing ball type of movement, but I don't know how to make them stop.

    Does anyone know how to do this? if so, please tell me.

    Thank you!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    542
    Mentioned
    20 Post(s)
    Tagged
    0 Thread(s)
    Two different ways:

    1. When the crate has landed set the movement to stop and set your speed, acceleration and deceleration to zero.
    2. Create a separate movement type that is static - so movement 0 will be your bouncing ball movement and movement 1 will be static. When the crate lands change its movement type to movement 1.

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    Sep 2018
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, thank you, but my game isn't a platformer.

    There isn't like a "floor surface", because almost everything is floor, so I can't make it so that when it collides with a backdrop it will stop.

    What I want to make is that the crate spawns in a random location in the level and then after they have fallen for a fixed length they will stop, so it doesn't matter where the crate spawned, they will fall always the same.

    I tried using timers, but it didn't work for me, maybe that's because I still don't know exactly how timers work. haha

  4. #4
    Clicker Fusion 2.5

    Join Date
    Dec 2009
    Posts
    63
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by coogart07 View Post
    I tried using timers, but it didn't work for me, maybe that's because I still don't know exactly how timers work. haha
    Have you tried using counters or the object(crate)'s alterable values to count down? Or a spawning-in animation that when finished makes the crate become available?

    It's hard to advise you any further without knowing what your level design is, you say it's not a platform game so is it top-down, isometric, or something else?

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    542
    Mentioned
    20 Post(s)
    Tagged
    0 Thread(s)
    I've attached an example of using timers to stop the crate.
    Attached files Attached files

  6. #6
    Clicker Fusion 2.5 (Steam)

    Join Date
    Sep 2018
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's a top-down game

  7. #7
    Clicker Fusion 2.5 (Steam)

    Join Date
    Sep 2018
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, I will give it a try

  8. #8
    Clicker Fusion 2.5 (Steam)

    Join Date
    Sep 2018
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you all for helping, but I think it's still a bit complicated for me.

    I will try to replace the crates with another concept.

    Thank you

Similar Threads

  1. Replies: 3
    Last Post: 13th July 2017, 07:28 PM
  2. Replies: 1
    Last Post: 20th February 2017, 08:45 AM
  3. Bug stopping object movement?
    By soopytwist in forum Fusion 2.5
    Replies: 8
    Last Post: 20th November 2016, 01:58 PM
  4. Max length of expressions
    By Phi in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th December 2011, 04:50 AM
  5. Stopping an object
    By Stephen38 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd January 2007, 02:08 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
  •