Update of bug #9698 (project wormux):

                Severity:           4 - Important => 5 - Blocker            
                Priority:               1 - Later => 5 - Normal             
                  Status:                    None => Confirmed              
                 Release:                    3063 => 0.8svn                 

    _______________________________________________________

Follow-up Comment #11:

I have found the bug! 

The test rectangle does not correspond to the anvil...

You can try to run "wormux -d weapon.projectile" to be confident. In red, you
will see the "test rectangle", this is what is tested for collision.
Currently, it's only one pixel (or something like that) at the middle of the
anvil.

It's the case too for other weapon projectile, but other weapon projectile
are smaller and explodes while anvil is merged in the ground.

You can get a test rectangle that is the full rectangle of the image of the
anvil by adding "SetTestRect(0, 0, 0, 0);" at the end of Anvil constructor,
but then, transparent pixels of the anvil picture collide and that produces a
bad behavior.

Thus, rectangle collision test is definitely not adapted to the current image
of the anvil. We have either the choice to change the physical engine, or to
change the image for a more rectangular one.

(I updated the severity of the bug as it can "imprisone units" - bug #10662)

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?9698>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to