Trying to write the correct formulas for drawing round hitboxes

This commit is contained in:
2026-04-02 18:05:07 +03:00
parent 58550ae93a
commit 27bbcee37a
6 changed files with 33 additions and 19 deletions

View File

@ -1,15 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<objecttypes>
<objecttype color="#a0a0a4" name="misato">
<property default="Solid" name="class" type="string"/>
<property default="2 5 209 4 226 194 14 189 " name="drawbox" type="string"/>
<property default="Circle 4 6 24" name="hitbox" type="string"/>
</objecttype>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><objecttypes>
<objecttype color="#a0a0a4" name="misato">
<property default="Solid" name="class" type="string"/>
<property default="22 10 232 3 264 199 5 198 " name="drawbox" type="string"/>
<property default="Circle -10 20 40" name="hitbox" type="string"/></objecttype>
<objecttype color="#a0a0a4" name="starlight">
<property default="Solid" name="class" type="string"/>
<property default="0 4 196 0 197 119 34 140 " name="drawbox" type="string"/>
<property default="Rectangle -10 -3 61 55" name="hitbox" type="string"/>
</objecttype>
<property default="Circle 11 -1 27" name="hitbox" type="string"/></objecttype>
<objecttype color="#a0a0a4" name="tavern">
<property default="Solid" name="class" type="string"/>
<property default="3 2 252 1 253 605 6 608" name="drawbox" type="string"/>
@ -25,4 +22,4 @@
<property default="252 116 505 120 500 247 235 237 " name="drawbox" type="string"/>
<property default="Rectangle -18 -678 217 161" name="hitbox" type="string"/>
</objecttype>
</objecttypes>
</objecttypes>