Added the function of drawing rectangular hitboxes, as well as the ability to erase and save the result. You need to draw from left to right

This commit is contained in:
2026-03-29 22:47:57 +03:00
parent a0a69c3587
commit 2686d036cf
13 changed files with 190 additions and 180 deletions

BIN
res/NewHueta.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

View File

@ -2,12 +2,12 @@
<objecttypes>
<objecttype color="#a0a0a4" name="misato">
<property default="Solid" name="class" type="string"/>
<property default="15 4 217 0 209 197 30 180 " name="drawbox" type="string"/>
<property default="9 3 214 11 220 190 15 185 " name="drawbox" type="string"/>
<property default="Circle 4 6 24" name="hitbox" type="string"/>
</objecttype>
<objecttype color="#a0a0a4" name="starlight">
<property default="Solid" name="class" type="string"/>
<property default="2 1 253 1 254 468 2 490" name="drawbox" type="string"/>
<property default="11 1 196 0 181 141 26 131 " name="drawbox" type="string"/>
<property default="Rectangle 0 0 76 119" name="hitbox" type="string"/>
</objecttype>
<objecttype color="#a0a0a4" name="tavern">
@ -22,7 +22,7 @@
</objecttype>
<objecttype color="000000" name="newtest">
<property default="solid" name="class" type="string"/>
<property default="93 15 404 57 389 162 207 164 " name="drawbox" type="string"/>
<property default="Rectangle 0 0 0 0" name="hitbox" type="string"/>
<property default="252 116 505 120 500 247 235 237 " name="drawbox" type="string"/>
<property default="Rectangle 80 -607 27 49" name="hitbox" type="string"/>
</objecttype>
</objecttypes>