User Tag List

Results 1 to 2 of 2

Thread: Different Physics Object Behavior in HTML5

  1. #1
    Clicker Fusion 2.5Android Export ModuleHTML5 Export ModuleMac Export Module

    Join Date
    Mar 2014
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Different Physics Object Behavior in HTML5

    Hi, I have a simple bouncing ball physics object colliding with active objects. The behavior I get in my exported HTML5 version is different than what I get from my Windows version. That is to say that my ball bounces in slightly different directions and ends up in a different location on the two versions of my game. Does anybody know a way to correct this?

    I've also noticed some strange behavior when performing some other action on the collision. It tends to be detected a moment before the collision actually occurs, as if it detects that it's getting close (but hasn't actually collided yet).

    I'm new to the HTML5 exporter and to the physics objects, so hopefully I'm just overlooking some options. Thanks!

    Nick

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    The HTML5 version of the Physics engine is unfortunately not exactly the same as the C++ version. Did what I could, but could not find the exact matching version in HTML5.
    Also, as physics simulates real-life, a lot of different factors influence the behavior of the objects, and a tiny modification can induce big changes (butterfly effect).
    But this might be an obvious conversion error from my side. In this case please post a bug in the HTML5 bugbox with your mfa (or send the mfa privately if your prefer, but please post a bug).
    Do you intend to distribute your game as BOTH Windows exe and HTML5? If only the latter, switch to HTML5 Developement and use "Build & Run" instead of "Run Application" : it is almost as fast and you directly test the game in real situation.

Similar Threads

  1. Fusion 2.5 Physics HTML5
    By DJFuego in forum HTML5 Export Module 2.5
    Replies: 4
    Last Post: 29th December 2013, 09:46 AM
  2. 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, 04:19 AM
  3. 256 R34 Behavior Bug : Object is not created but its behavior runs anyways
    By Shmuper in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 2nd March 2013, 08:15 AM
  4. Possible to make some simple object fall physics without physics engine?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 3rd March 2012, 09:56 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
  •