Change entity to use fixed_t

This commit is contained in:
2025-06-18 14:06:03 -05:00
parent c9f795e55c
commit 9a306df7e5
12 changed files with 329 additions and 32 deletions

View File

@ -270,6 +270,7 @@
}],
"height":32,
"id":1,
"locked":true,
"name":"Base Layer",
"opacity":1,
"startx":384,
@ -394,6 +395,7 @@
}],
"height":32,
"id":5,
"locked":true,
"name":"Overlay Base Layer",
"opacity":1,
"startx":400,
@ -407,20 +409,19 @@
{
"draworder":"topdown",
"id":3,
"locked":true,
"name":"Object Layer 1",
"objects":[
{
"id":3,
"template":"templates\/NPC.tx",
"x":6434.3106060606,
"y":6672.13636363636
"x":6551.3106060606,
"y":6829.13636363636
},
{
"id":4,
"template":"templates\/NPC.tx",
"x":6737,
"y":6672.91666666667
"x":6649.66666666667,
"y":6741.58333333334
},
{
"gid":257,
@ -431,8 +432,14 @@
"type":"player_spawn",
"visible":true,
"width":16,
"x":6743.33333333333,
"y":6989.33333333333
"x":6591.33333333333,
"y":6787
},
{
"id":7,
"template":"templates\/NPC.tx",
"x":6627,
"y":6828.33333333333
}],
"opacity":1,
"type":"objectgroup",
@ -441,7 +448,7 @@
"y":0
}],
"nextlayerid":6,
"nextobjectid":7,
"nextobjectid":8,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.11.1",

View File

@ -1,4 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.10" tiledversion="1.11.1" name="overworld" tilewidth="16" tileheight="16" tilecount="256" columns="16">
<image source="tilemap.png" width="256" height="256"/>
<tile id="54">
<objectgroup draworder="index" id="3">
<object id="3" x="5.04743" y="5.92885" width="7.93676" height="6.0751"/>
</objectgroup>
</tile>
<tile id="81">
<objectgroup draworder="index" id="2">
<object id="1" x="3.18182" y="0.181818">
<polygon points="-0.09375,-0.09375 -1.44602,6.42898 6.09091,13 12.9148,13.0057 12.8523,-0.125"/>
</object>
</objectgroup>
</tile>
</tileset>