Modding talk:Lua/Starbound Datatypes

From Starbounder - Starbound Wiki
Jump to: navigation, search

Additional notes on drawables

The position parameter is actually allowed on all 3 kinds of drawables, not just images. It's also optional. Presumably, the position would default to 0,0.

The centered parameter, while indeed optional, is exclusive to image drawables. Nothing else reads it. It's also enabled by default.

Edit: Tested poly drawables. They work fine for convex polygons (where they are visually just a filled in single-colour polygon). However, concave polygons look weird due to how the game renders these drawables (it relies heavily on the first point).

Bottinator22 (talk) 19:36, 26 May 2025 (UTC)