SGDK - tiles loading question

SGDK only sub forum

Moderator: Stef

Post Reply
Helghast
Interested
Posts: 29
Joined: Sat May 25, 2013 8:53 pm
Location: Amsterdam, Netherlands
Contact:

SGDK - tiles loading question

Post by Helghast » Sat Jun 08, 2013 11:05 pm

Quick one,

How does an array of tiles get generated from an image?
As one big list of tiles, or is it a multidiensional array?

I'm trying to make a function that loads a certain part of an image, but for the calculation to work, I need to know that ofcourse.

Regards,
-D.

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Mon Jun 10, 2013 7:26 pm

It really depends of what tool and parameters you use to transform your image in tiles. Genres will build a simple array for tile date from your image and can optimize the tileset so you don't have any duplicate tiles for instance.

Post Reply