User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Explosion with physics ?

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    SergioAndre's Avatar
    Join Date
    Mar 2009
    Location
    Argentina
    Posts
    98
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question Explosion with physics ?

    Hi all!

    I'm trying to make an explosion and when it explodes, all nearby objects move.

    I have something done and it works great, but is not very efficient because I use loops and I think it is not the best way ("As many know, the loops are the nemesis of the android exporter"). Apart from this, it is not the cleanest way to do.

    Example: https://dl.dropboxusercontent.com/u/...omb%20test.mfa

    What I do in the example is that when the bomb explodes, particles are created (with physics) in all directions and when they collide with the boxes, make them move.




    Maybe someone knows a better way to do it.


    I appreciate any help.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module

    Join Date
    Dec 2008
    Location
    Italy
    Posts
    403
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Maybe this example on the clickstore can do the job?
    http://clickstore.clickteam.com/open-source/physics-engine-explosion

    Edit: by the way, I noticed it uses fastloop as well. It is however a very good example, so I'll keep the post.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Faber, does the example in the click store use the built in physics or Box2D extension? BTW SergioAndre, your example is really good. Very well done.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module

    Join Date
    Dec 2008
    Location
    Italy
    Posts
    403
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    @Klik-iT: it uses built in physics in Fusion. Actually it is not very clear and I had your same doubt.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    pit73's Avatar
    Join Date
    Jan 2012
    Location
    near montpellier
    Posts
    354
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    SergioAndre's Avatar
    Join Date
    Mar 2009
    Location
    Argentina
    Posts
    98
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    KLiK-iT, I think the example in click store uses Box2D, as I read in the article.

    I am modifying and optimizing my example right now, it's working great but I'm finishing to fix a problem with rotations... in a while I upload it.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    ptiseigneur's Avatar
    Join Date
    Jul 2012
    Location
    France
    Posts
    416
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello SergioAndre,

    in Clickstore, i m William Yvart ,it's my physic examples..and I do not use Box2d,only the physic engine of Fusion 2.5 with actif static only..(I change the descriptions examples)

    you can see my examples here, some of whom are on the clicktsore:

    http://community.clickteam.com/threads/86301-WIP-TestBed-Physic

  8. #8
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    SergioAndre's Avatar
    Join Date
    Mar 2009
    Location
    Argentina
    Posts
    98
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Okay William, good to know!


    I've finished editing my example, I've done it in a simple way. It's not perfect but I think it's fine.

    Example: https://dl.dropboxusercontent.com/u/...optimized).mfa

    Tell me guys, what do you think about this example?

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module

    Join Date
    Dec 2008
    Location
    Italy
    Posts
    403
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    > Tell me guys, what do you think about this example?

    I think it's very good. The previous one for some reason didn't work when exported as html5, this last one instead works flawlessly (just a little bit slower than the exe version).

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thanks William for clearing that up. Box2D is very good,.but the built in Physics are also good and easier to use. I'm going to download it soon.

    SergioAndre, your example is really good. Thanks for posting it. By adjusting the explosion size down to 40x40 or even less,.you can get different effects. Like it will only destroy one TNT box, instead of them all or close to all of them. All in all,.nice example.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Physics question! Making AI that uses Physics Platformer/Physics Static movement
    By Krim in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th December 2013, 03:19 AM
  2. Chain explosion
    By Novastrike in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 25th April 2010, 09:34 PM
  3. Explosion effect, yay! :)
    By Nifflas in forum File Archive
    Replies: 2
    Last Post: 20th February 2009, 06:43 AM
  4. Explosion effect
    By MediYama in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 28th April 2008, 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
  •