Game Development Community

Random Tile Resource

by Eric Armstrong · in Torque Game Builder · 08/22/2006 (9:23 am) · 0 replies

Just wanted to post in here to let everyone know I've submitted a resource to allow the tile editor to select the tile it places randomly from a set of tiles. There are some code and script changes, but not a lot.

This is very useful when making outdoor levels, you can create any number of grass tiles or dirt tiles whatever you want, and have the tile layer randomly pick one of those tiles when placing or flood filling. Of course you still have the option of placing specific tiles individually, but this is a real help when filling large levels with a base ground type. It really helps with reducing the visual repeating of the same tile over and over.

I hope some others find it useful.

For those who want a sneak peak at the resource until it gets approved, you can find it here:

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11138