ID:2824036
Oct 3 2022, 4:25 pm
|
|
I have a few turfs larger than what the basic player sprite is, I noticed you can't use stuff like bound_height or bound_x for turfs, is there an alternative that does the same thing?
|
Oct 3 2022, 8:26 pm
|
|
turf bounds can only be a square based on world.icon_size
|
HartWing wrote:
I have a few turfs larger than what the basic player sprite is, I noticed you can't use stuff like bound_height or bound_x for turfs, is there an alternative that does the same thing? objs. |
Is there a reason this is limited to objects and mobs?
|
In response to HartWing
|
|
Performance for one.
For example say you need a bunch of tiles on your giant map and the only purpose they serve is to render a visual. Why bloat the client, server, renderer, etc.. with unnecessary features/memory that isn't needed. If something needs to be that large and interactable it's better of as an object where you can access more features (and therefore it's slightly more expensive to use) |
In response to HartWing
|
|
HartWing wrote:
Yeah, doesn't make sense to me. I'll just accept it. Since each position relative to your x and y has a turf associated with it, changing the bounds of the turf itself if you were able to would leave "empty space" between tiles on the map where no turf would exist. |