Game Development Community

Tile types... [closed]

by Max Kielland · in Torque Game Builder · 01/14/2013 (11:14 pm) · 1 replies

I stumbled upon the information (while reading on getTileType) that there are different tile types:

- Static
- Active
- Animated

1. I get the static tile, but what is the difference between an active and an animated tile?
2. The Tile editor places static tiles, but how do I place an animated or active tile?
3. Can I sync a script to execute on a specific animation frame?

I have some tiles that will spawn t2dStaticSprite objects and while doing so, play an animation.
The tile animation only need to be played once (no looping).

#1
01/18/2013 (7:22 am)
Okay, I figured it out.

Both animated and active tiles needs to be defined in the C++ source and compiled in. First then you can use them in the scripts.