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 15 Dec 2007 09:11:52 PM UTC  
 
Category: WeaponSeverity: 3 - Normal
Priority: 1 - LaterStatus: In Progress
Assigned to: NoneOpen/Closed: Open
Release: 0.8svn

Mon 07 Jan 2008 08:17:46 PM UTC, comment #5:

Only things remaining : we are not testing alpha value.

Yannig <drayan>
Project Administrator
Mon 07 Jan 2008 08:14:06 PM UTC, SVN revision 3867:

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

(Browse SVN revision 3867)

Yannig <drayan>
Project Administrator
Sun 06 Jan 2008 12:25:55 PM UTC, 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 02 Jan 2008 08:29:03 PM UTC, 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 02 Jan 2008 08:22:44 PM UTC, 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
objects.

(Browse SVN revision 3841)

Matthieu Fertré <gentildemon>
Project Administrator
Sat 15 Dec 2007 09:11:52 PM UTC, 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)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 17 Aug 2009 12:40:06 PM UTCyekcimAssigned todrayan=>None
    Mon 07 Jan 2008 08:17:46 PM UTCdrayanStatusConfirmed=>In Progress
    Wed 02 Jan 2008 08:29:03 PM UTCgentildemonAssigned 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