bugWarmux - Bugs: bug #10528, Construction weapon can be put on...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #10528: Construction weapon can be put on character

Submitted by:  Matthieu Fertré <gentildemon>
Submitted on:  Sat Dec 15 21:11:52 2007  
Category: WeaponSeverity: 3 - Normal
Priority: 1 - LaterStatus: In Progress
Assigned to: NoneOpen/Closed: Open
Release: 0.8svn

Mon Jan 7 20:17:46 2008, comment #5:

Only things remaining : we are not testing alpha value.

Yannig <drayan>
Project Administrator
Mon Jan 7 20:14:06 2008, SVN revision 3867:

[bug #10528 & bug #10615] Correction of overlapping test in construct weapon.

(Browse SVN revision 3867)

Yannig <drayan>
Project Administrator
Sun Jan 6 12:25:55 2008, comment #3:

Actually there's a misuse of GetSize and GetSizeMax :
GetSize is the size of the original sprite and GetSizeMax is the size of the actual sprite (ie after rotation scale etc).

In construct weapon we use GetSize to test if we overlapse something instead of GetSizeMax. I have already fix this issue with my beloved laptop but as I'm currently traveling without internet access on my laptop, you'll have to wait :)

I have also sorted out how the test rectangle is working and I discover that SetTestRect is not setting any sort of rectangle to test overlapping but instead is setting margin ...

Yannig <drayan>
Project Administrator
Wed Jan 2 20:29:03 2008, comment #2:

Drayan, can you take a look on it to make a better check that takes into account transparent pixels ? Especially, when the construction is not in "standard" angle.

Matthieu Fertré <gentildemon>
Project Administrator
Wed Jan 2 20:22:44 2008, SVN revision 3841:

[BUGFIX] bug #10528: Construction weapon can be put on character

WARNING: This is not a complete solution. It checks collision of the sprite rectangle (transparent pixels too!) with characters and other physical

(Browse SVN revision 3841)

Matthieu Fertré <gentildemon>
Project Administrator
Sat Dec 15 21:11:52 2007, original submission:

This is true both in network and in local game.

Matthieu Fertré <gentildemon>
Project Administrator


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by yekcim (Updated the item)
  • -unavailable- added by drayan (Posted a comment)
  • -unavailable- added by gentildemon (Submitted the item)

    Error: not logged in



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Aug 17 12:40:06 2009yekcimAssigned todrayan=>None
    Mon Jan 7 20:17:46 2008drayanStatusConfirmed=>In Progress
    Wed Jan 2 20:29:03 2008gentildemonAssigned toNone=>drayan
      SummaryConstruction weapon can be put other character=>Construction weapon can be put on character
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup