User Tag List

Results 1 to 5 of 5

Thread: Questions about Box 2D

  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
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Questions about Box 2D

    Hey guys!

    I'm trying to do some things with the Box 2D extension for flash, I'm new with this extension and I want to ask a few questions about this.

    1) I know how to do very basic shapes, but how I can make triangular shapes?, like a ramp.

    2) How I can do simple collision? for example, object A collides with the object B then the object A is destroyed.

    3) And finally, how I can make a cannon that shoots bullets with physics?


    ¡Thanks!

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,156
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Sergiocarp View Post
    Hey guys!

    I'm trying to do some things with the Box 2D extension for flash, I'm new with this extension and I want to ask a few questions about this.

    1) I know how to do very basic shapes, but how I can make triangular shapes?, like a ramp.

    2) How I can do simple collision? for example, object A collides with the object B then the object A is destroyed.

    3) And finally, how I can make a cannon that shoots bullets with physics?


    ¡Thanks!
    1) There is a program out there that can make shapes with ease, there is even an exporter with the MMF name but I have not got this to work, and the response seem to be 0 here for some reason :/ http://community.clickteam.com/showthread.php?t=72179
    A triangular shape is not so complex however and easy to do, just look in the testbed example and there is examples of triangles.

    2) and 3) Both of these are displayed in the testbed, there is even a fully functional "cannon"

  3. #3
    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
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Outcast!, That program looks amazing, I hope someone can make it work with MMF.

  4. #4
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Outcast, in relation to your error message it looks like you have letters in the string that shouldn't be there. CSV stands for Comma Separated Values and means that it wants your polygon vertices in a string of the format X1,Y1,X2,Y2,X3,Y3 and so on. To do a 32x32 right triangle like L\ you would use 0,0,32,32,0,32 as your CSV string. Check that the program isn't outputting letters that are breaking it for you.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,156
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jacob View Post
    Outcast, in relation to your error message it looks like you have letters in the string that shouldn't be there. CSV stands for Comma Separated Values and means that it wants your polygon vertices in a string of the format X1,Y1,X2,Y2,X3,Y3 and so on. To do a 32x32 right triangle like L\ you would use 0,0,32,32,0,32 as your CSV string. Check that the program isn't outputting letters that are breaking it for you.
    I will look into this. I am wondering if someone on this forum made this MMF extension for the program or if the program makers themself did it? (I did send a message to them about wanting an output for mmf but I never got a response so maybe it is someone here who made it?)

Similar Threads

  1. some Questions
    By DiViNiTY in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 24th September 2010, 03:11 PM
  2. Some Questions
    By Atom in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 15th June 2009, 07:49 PM
  3. 2 questions
    By Spark in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 30th November 2007, 05:56 PM
  4. two questions please
    By piki in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 4th August 2007, 06:01 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •