Game
Slimey Land MAN!
5 years ago

Tile Objects and Tables


So since I've been working on the tile system I got some ideas to add tile objects and to go with that tables. Firstly tables. Tables are A way to store A combination of sorts. Defining A set of data to result in one piece of data either STRING or INT. The first 2 lines of A table file define the type STRING or INT then how many piece of data will result in one piece of data.

# Example of table struct if 3 pieces of data are used

# Data_1 Data_2 Data_3 Result

# Iron Zinc Copper ????

More examples will be included in the RC2 CDK docs.

Tile Objects

Tiles are static in the current game but I want tiles be able to have behaviors attached to them. They will define A code id in the properties file or none the code id is attached to the tile objects functions written in C. There are several properties attached to A Tile object. Listed below.

  • X

  • Y

  • UI

  • META DATA

  • PLACE BEHAVIOR

  • BREAK BEHAVIOR

  • INTERACT BEHAVIOR

  • PERSIST BEHAVIOR



0 comments

Loading...

Next up

A strange bug

Feature preview for 1.0.0 pre-release 1

A small update.

Feature preview for SLM UI EDITOR

Icons for the trophies

Android port info and CDK info

THAT THING

Render culling, debug menu and some more

it seems im not that great with pixel art

New navigation editor for Mission Impossible