Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/ldtk/Json.hx
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,10 @@ typedef EntityInstanceJson = {
@changed("0.4.0")
var px: Array<Int>;

/** Two-bit integer. First bit determines whether or not this EntityInstance is flipped horizontally, the second bit vertically. **/
@added("1.2.6")
var f: Int;

/** An array of all custom fields and their values. **/
var fieldInstances: Array<FieldInstanceJson>;
}
Expand Down Expand Up @@ -981,6 +985,16 @@ typedef EntityDefJson = {
@internal
var resizableY: Bool;

/** If TRUE, the entity instances will be flippable horizontally **/
@added("1.2.6")
@internal
var flippableX: Bool;

/** If TRUE, the entity instances will be flippable vertically **/
@added("1.2.6")
@internal
var flippableY: Bool;

/** Only applies to entities resizable on both X/Y. If TRUE, the entity instance width/height will keep the same aspect ratio as the definition. **/
@added("0.8.0")
@internal
Expand Down