Adam's Lair Forum

game development and casual madness
It is currently 2018/10/16, 17:17

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2018/05/15, 19:14 
Novice Member
Novice Member

Joined: 2017/07/10, 19:56
Posts: 11
Role: Professional
Hey Guys,

When I change the "TileSize" tileset property in Dualitor, it seems to set the scale but not the grid cell size (the area covered by the tile gets larger but the tile data is still the same.)

How can I set a tileset for a different sized grid of tiles?


Top
 Profile  
 
PostPosted: 2018/05/16, 20:37 
Site Admin
Site Admin
User avatar

Joined: 2013/05/11, 22:30
Posts: 2063
Location: Germany
Role: Professional
Hey there,

I think we might have covered that in the chat already (not entirely sure if that was you ^^), but for the record, there are multiple spots where tile size can be adjusted:

  • In the Tileset itself (TileSize), in order to specify how big a tile is in world coordinates.
  • In each Visual Layer of a Tileset (SourceTileSize), in order to specify how big a tile is in texture space of that layer.
  • As a scale that is applied to a TilemapRenderer.

_________________
Blog | GitHub | Twitter (@Adams_Lair)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Exabot [Bot] and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group