Deep-Phield-Softworks / XeroSum

Isometric, Squad-Based, Real-Time Strategy RPG
0 stars 0 forks source link

Float offsets ranges are too large #28

Closed EricFedrowisch closed 10 years ago

EricFedrowisch commented 10 years ago

The range allowed to float offsets are too large, allowing features and whatnot to be completely outside their parent coordinate. This will likely cause trouble and confusion later when dealing with areas of effect. The allowable ranges for the need to be reduced either by a hard coded amount or preferably with some kind of algorithmic approach. I am gonna say it is ok for a object to lie slightly outside its parent Coordinate, but it should lie within it enough that it is visually apparent which Coordinate contains it.

EricFedrowisch commented 10 years ago

Fixed. I believe the float offset ranges are now 0.25 to 0.75.