Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Tileset

The data class for tile sets.

Hierarchy

Index

Properties

flags

flags: Array<number>

The flags table. A 1-dimensional array containing a variety of flags (Table).

Uses tile IDs as subscripts. The correspondence of each bit is as shown below:

0x0001: Impassable downward 0x0002: Impassable leftward 0x0004: Impassable rightward 0x0008: Impassable upward 0x0010: Display on normal character 0x0020: Ladder 0x0040: Bush 0x0080: Counter 0x0100: Damage floor 0x0200: Impassable by boat 0x0400: Impassable by ship 0x0800: Airship cannot land 0xF000: Terrain tag This manual does not discuss bit operations, but they are similar to those in C. We recommend an Internet search using keywords such as "hexadecimal bit operations" when necessary.

id

id: number

The ID of the tile set.

meta

meta: object

The Meta.

Type declaration

  • [key: string]: any

mode

mode: number

The mode of the tile set (0: Field type, 1: Area type, 2: VX compatible type).

name

name: string

The name of the tile set.

note

note: string

The text of the note.

tilesetNames

tilesetNames: Array<string>

The file name of the graphic used as the number index (0-8) tile set.

The correspondence between numbers and sets is illustrated in the table below.

0 TileA1 1 TileA2 2 TileA3 3 TileA4 4 TileA5 5 TileB 6 TileC 7 TileD 8 TileE

Generated using TypeDoc