User Tag List

Results 1 to 3 of 3

Thread: Box 2D trouble

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Apr 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Box 2D trouble

    Hey guys,

    I know some people have had a few posts about their troubles with Box 2D but hopefully my questions won't give people too much of a headache. Basically I've read the box 2D manual a few times and checked some examples as to how I can create bodies and such but I was wondering if anyone has any examples of some joints they have created in MMF with the Box2D extension?

    Secondly, with box 2D is it a terrible idea to use it without the HWA version of MMF? The reason I'm asking is because I'm making a physics puzzler set to be released with the ios exporter and I've been told that the HWA version of MMF isn't compatible with the upcoming port. I could be wrong about that however.

    In my application I have a few rotating joints on objects, however if I use multiple objects under the same joint function they frame rate of my application drops over time from 100 fps to 9. This is either due to bad code, or I'm missing something with my timestep. Anyone have any resources they can point me to?

    Regards,

    Eoin

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Box 2D trouble

    Firstly, do you have the older Box2D object or Box2d v2.0.0?

    Also, the framerate shouldn't drop over time like that; you must be doing something wrong, or there are too many objects, too many of something being created, etc.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Apr 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Box 2D trouble

    Thanks LB. It's Box2D V2.0.0 and I've sorted out the rotation problem. I was telling MMF to always create a joint at x.y. So After about 5000 joints it started to lose frames.

Similar Threads

  1. Trouble Using ini
    By Godspeed8118 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th January 2013, 11:22 AM
  2. More trouble!
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 7th March 2010, 08:14 PM
  3. RTF Trouble
    By DeepGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th September 2006, 04:19 AM

Posting Permissions

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