User Tag List

Results 1 to 2 of 2

Thread: breaking brick animation

  1. #1
    No Products Registered

    Join Date
    Nov 2009
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    breaking brick animation

    does anyone have or know where I can get a decent animation for a breaking brick.

  2. #2
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: breaking brick animation

    well dude, i know something that could work, but depending on how much you use mmf2 it may be overly complicated. try doing this; take your brick picture, select a part of the brick, for example like if the brick looks like its made up of pieces like they are in mario bros, take one of the sections and create an active object of just the section, then make an event like this (but not identical :grin

    - create (brick piece) at 0,0 from (brick)

    on the brick piece properties, uncheck the box "visible at start"

    then assign the brick piece to something like pinball movement.

    the next part will depend on HOW you make the brick break. lets use the mario bros example again.

    (mario) collides with (brick) = make visible, start movement

    the make visible, start movement part needs to be added to the brick piece object.

    whats happening is, the brick pieces is invisible UNTIL it breaks. The breaking part in this example happens with mario collides with the brick. when the collision happens, the piece will fly away in a random direction and fall. the falling part has to do with the fact that you have assigned the piece a "Pinball Movement" property, so it has speed and gravity and all the goods to make the piece fall naturally. hope this helps! :cool:

    EDIT: i forgot to mention, you need to assign this event also:

    collision between (mario) and (brick) = destroy

    the destroy part makes the original brick disappear once you hit it. also, if you want all kinds of pieces, just copy and paste the brick pieces how ever many times you need them, then it will look like it shatters

Similar Threads

  1. [Bug] Active Object Breaking Code
    By ProdigyX in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 23rd October 2011, 05:17 AM
  2. Breaking out of a loop iteration
    By westray in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 21st September 2011, 08:22 PM
  3. Code Breaking Entirely at Random
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 37
    Last Post: 13th May 2011, 05:46 PM
  4. "Brick Breaking" Style of Game Paddle Size Glitch
    By MajorityCA in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th April 2009, 06:05 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
  •