Skip to content
Megumin edited this page Dec 28, 2023 · 22 revisions

It's a simple tutorial about how to use the Asset system

Prerequisites: You should have your workspace ready with Terasology in Eclipse or IntelliJ and be ready to launch gradle commands on the project. See the Dev Setup for a full guide. This tutorial will be written from an Eclipse perspective but should be easy to follow with IntelliJ though.

Every step from the tutorial is reflected in the module hosted in this repository. You should be able to fetch the entire module via groovyw module get TutorialAssetSystem. It is not required to follow the tutorial but can be used to get a quick overview.

There are some pages with short documentation for different topics. They are referenced from the tutorial pages but in case you need one of them right now:

Apart from that feel free to get started:

Setup the module

Create a module and add it to your workspace.

Setup

Add a new block to the game

Define a simple block and place it ingame.

Add New Block

Add a new item to the game

Create a tool to break the new block in a faster way.

Blender Addon for Creatures

Blender glTF

Make a block activateable and create your own block family

Create a dice block which rotates on activation

Add A Dice

Related

If you are curious about asset formats and such themselves check out the Gestalt Asset quick start.

There are also further topics on how to use assets, for example the use of prefabs for module configuration.


Anything wrong, outdated or missing? Feel free to open a new issue or contribute to the tutorial yourself :)