Add support for tilesets

User avatar
Posts: 61
Joined: Tue Mar 28, 2017 20:13
Location: Internet
GitHub: iisu
IRC: iisu
In-game: iisu

Add support for tilesets

by iisu » Thu Jun 15, 2017 12:30

Tilesets are commonly used in games when there are many small textures. The basic concept is that instead you should use bigger files each containing a grid of textures called tiles. When you load the tileset, you then split it into the tiles in the program. The purpose for this technique is to optimize loading textures: it takes less time to load a single file and perform some simple operations on it than to load many small files separately. Mod API should provide an easy way to load tilesets and cut them according to given parameters.
Á sér krummi ýfði stél
Einnig brýndi gogginn vel
flaug úr fjalla gjótum
flaug úr fjalla gjótum

"Krúnk krúnk nafnar komið hér
Krúnk krúnk því oss boðin er
Krás á köldum svelli
Krás á köldum svelli"

User avatar
Posts: 530
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: Add support for tilesets

by texmex » Mon Jun 19, 2017 08:44

I get you argument, but it would probably be a pain for texture pack maintainers.
I spend all my days going down to the mines. Under the ground where the sun never shines. Breaking my back I put heat in your house. I’ve got the roar of a digtron, the breath of a mouse.

Return to Feature Discussion

Who is online

Users browsing this forum: No registered users and 2 guests