Game
Slimey Land MAN!
3 years ago

New tile and material system


I have redesigned the tile and material system to allow some extras. The tiles now have properties beyond A texture. Below is the list of the properties the tiles.

  • Name - String

  • Type - String

  • Texture - String (Path)

  • Hidden - Boolean

  • Indestructible - Boolean

  • Toughness - Number

Material types

These types are specified in the type propertie of tiles. Material types specify sounds to play when the tile is placed, broken or blown up and A toughness modifier. The properties assigned to material types are listed below

  • Name - String

  • Toughness Modifier - Number

  • Has Particles - Boolean

  • Place sound - String (Path)

  • Break sound - String (Path)

  • Blown up sound - String (Path)

Particles are displayed when the tile is broken only if "Has particles" is set to true.

Stock material types

There are A few material types included in the game listed below.

  • NONE

  • DIRT

  • CRUMBLE

  • STONE

  • METAL

  • CRYSTAL

Configuration files

Both material packs and material types are created with configuation files. Though material types have A function called AddMaterialType to avoid configuration files. Each material type config file can specify as many material types as it wants. If A line starts with A "!" it is skipped / treated as A comment. Each line specifies A new tile / material type. Examples of these configuration files will be in the RC2 CDK.

Release candidate 2

Release candidate 1 release 2 months ago now. I want to release RC2 soon but there is still much to do. I can say it will release sometime late August or early September along side the server program and CDK.



0 comments

Loading...

Next up

THAT THING

Feature preview for SLM UI EDITOR

A strange bug

Feature preview for 1.0.0 pre-release 1

A small update.

New navigation editor for Mission Impossible

Android port info and CDK info

Icons for the trophies

it seems im not that great with pixel art

Render culling, debug menu and some more