User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 33

Thread: [RC] Box2D

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    [RC] Box2D

    Hi all,

    It took me a while, I'm close to finishing the Box2D flash port.

    There are a few problems caused by incompatibilities between the EXE and the Flash library of the Box2D libraries and I can't really fix these unless I invest a *LOT* of time - and even then I might not be able to. I've also dropped a few things because they are rather complex but not used very often, it seems.

    Changes from the latest beta:
    • More expressions.
    • Contact filtering
    • More stable object/body linkage
    • All "create" (joint etc.) actions are now implemented.


    Here's a list of what might not work:

    • Ray-casting can go through walls in really rare, odd cases. This seems like a library issue.
    • Edge chains work differently: Each edge is a shape in Flash. This causes some actions that modify edge chains to be unsupported.
    • It seems like Box2D Flash handles sleeping differently. Bodies might fall asleep even if they shouldn't. You can manually disable sleeping for them or uncheck "Allow sleeping" in the properties.
    • Body definition strings are not supported.
    • Working with custom mass might cause unwanted behaviour! From what I know it should work, but it works a lot different in Flash, so it's a source for problems...
    • Some expressions may not work properly at all. *SOME* - Most of them should work perfectly! It's just that I didn't have the time to test them all properly! RevoluteJointAngle seems to behave weirdly sometimes. I really have no idea why.


    The testbed seems to work fine - except for the issues that I mentioned which are partially present there (the raycasting issue and Sticky Bodies 2 jiggles weirdly sometimes). So yeah, it seems like your chances of being successful when opening an old Box2D project and porting it to Flash are pretty high.

    This is a Release Candidate - There's still room for bug reports. I just think this version is good enough from what I know - feel free to prove me wrong. Just note that I can't really provide 100% compatibility - the library differences make this way too difficult, sorry.

    Grab it here:
    http://clickteam.info/looki/Extensions/Flash/B2D.zip

    Testbed:
    http://clickteam.info/looki/Stuff/Testbed.html

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Congratulations, you have been working hard on this!

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    Thanks! Update: 2 new fixes (bugs found by the great Outcast!). When linking an object, specifying "0 (no object)" for rotation now works (The body will rotate, but the Active won't). Also, the body type is now guaranteed to update every time you add/alter shapes (A body is static if all its shapes have a density of zero).

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Thank you very much!

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Ooh! Can't wait to try this version! *Downloads*

  6. #6
    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,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Looki View Post
    Thanks! Update: 2 new fixes (bugs found by the great Outcast!). When linking an object, specifying "0 (no object)" for rotation now works (The body will rotate, but the Active won't). Also, the body type is now guaranteed to update every time you add/alter shapes (A body is static if all its shapes have a density of zero).
    Great I am humbled

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    oruga's Avatar
    Join Date
    Feb 2012
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wow! mind-blowing indeed thanks a lot for sharing this!

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module
    Fusion 2.5 (Steam)HTML5 Export Module (Steam)
    Xhadoe's Avatar
    Join Date
    Sep 2007
    Location
    Earth, Milky Way
    Posts
    328
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Do you have any tutorials or examples you could please put together on how to use at least a few of the features for Flash Apps? (Documentation, or walk throughs?)

    Thanks =)

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Based on the features I know are supported (based on Looki's list), I'm starting work on making a simple tutorial that focuses on flash Box2D, but also works for standard Box2D.

    I've already finished Section 1: Differences and limitations in flash, so it's getting progress...

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module
    Fusion 2.5 (Steam)HTML5 Export Module (Steam)
    Xhadoe's Avatar
    Join Date
    Sep 2007
    Location
    Earth, Milky Way
    Posts
    328
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Looking forward to it!! =)

Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. How to do this? :D Box2D?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 19th September 2012, 08:52 AM
  2. Box2D help
    By Pixzel in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 30th June 2012, 05:38 AM
  3. Box2D
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th January 2012, 03:29 PM
  4. Box2D?
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 1st January 2012, 03:00 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
  •