User Tag List

Results 1 to 6 of 6

Thread: Need help on a game im creating!

  1. #1
    No Products Registered

    Join Date
    Mar 2008
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help on a game im creating!

    I am designing a breakout type game. I am designing an object that passes through the bricks as it destroys them. I also have events set up so that when a red brick is destroyed, a yellow brick is created in its place. When I use my object, instead of destroying the red brick and passing over the yellow brick that it creates, it creates the yellow brick, but my object immediately destroys that as well. How do I create it so that it destroys the red brick, but passes over the yellow brick until it comes back to the brick again? I hope that made at least a little sense, I can try to explain it better if I need to.

  2. #2
    Clicker Fusion 2.5

    Join Date
    Jun 2006
    Posts
    402
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help on a game im creating!

    Hi im2famous4u.

    I think the solution would be, if the object collisions with the yellow brick, then set the yellow bricks flag0 on. If it collisions with it while flag0 is on, then it destroys the yellow brick.

    Hope that helped,

    Izac

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export ModulePatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)
    Renatos's Avatar
    Join Date
    Jun 2006
    Location
    São Paulo, SP - Brasil
    Posts
    593
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help on a game im creating!

    Maybe every 1 second for example, adds 1 to a variable of the yellow brick. Then make a condition that IF your ball colides with Yellow brick, and variable A is greater than 1, then destroy. That way it will ignore it for that moment you want it to. Hope it makes sense.

    Obviously, change these values to fit your need

  4. #4
    No Products Registered

    Join Date
    Mar 2008
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help on a game im creating!

    Okay, I tried both of those, and the flag technique still presented the same problem. The second technique, however, worked great! Thanks!

  5. #5
    Clicker Fusion 2.5

    Join Date
    Jun 2006
    Posts
    402
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help on a game im creating!

    Hmm strange it works for me :S

  6. #6
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export ModulePatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)
    Renatos's Avatar
    Join Date
    Jun 2006
    Location
    São Paulo, SP - Brasil
    Posts
    593
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help on a game im creating!

    That's because you are setting the flag on at the same time the ball is colliding with the yellow brick. So it's doing what it should do. Having it be set a second or miliseconds from collision avoids that.

Similar Threads

  1. Creating educational game
    By haimi in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 22nd February 2009, 06:00 PM
  2. creating a mini game help.
    By strangely in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 4th December 2008, 02:26 PM
  3. Looking for help creating a quiz game
    By Hordolur in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th August 2008, 08:31 PM
  4. Creating a network game
    By yhgtbfk in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 6th July 2006, 08:14 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
  •