# Is possible to create Stardew Valley like map with Tiled?

**URL:** <https://discourse.mapeditor.org/t/is-possible-to-create-stardew-valley-like-map-with-tiled/6493>\
**Category:** Questions\
**Created:** [January 6, 2024, 2:22pm UTC](https://discourse.mapeditor.org/t/is-possible-to-create-stardew-valley-like-map-with-tiled/6493 "2024-01-06T14:22:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![willis](https://avatars.discourse-cdn.com/v4/letter/w/74df32/32.png) [@willis](https://discourse.mapeditor.org/u/willis)\
**Post date:** [January 6, 2024, 2:22pm UTC](https://discourse.mapeditor.org/t/is-possible-to-create-stardew-valley-like-map-with-tiled/6493/1 "2024-01-06T14:22:24Z")

</div>

![Screenshot 2024-01-06 210918](https://canada1.discourse-cdn.com/flex035/uploads/mapeditor/original/2X/9/938fad34aed76191d75b7a968953b0b7875e807b.jpeg)

I want to create Stardew Valley like layout, and I use Unity engine, is possible to create the map with Tiled?

I already watch some tutorials on youtube, most of them only explain about tileset, the ground tileset is OK for me, but how to implement object like houses, trees and other collision object ?

In image above, red area is solid collision or player cant walk into it.

The object like houses and trees have auto sorting based on Y position (game engine)

![Screenshot 2024-01-06 211947](https://canada1.discourse-cdn.com/flex035/uploads/mapeditor/original/2X/b/b50df8700709665f88b3c016ac6af6ad633b18e6.png)

---

<div class="post-metadata">

**Author:** ![eishiya](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/eishiya/32/2534_2.png) [@eishiya](https://discourse.mapeditor.org/u/eishiya)\
**Post date:** [January 6, 2024, 2:31pm UTC](https://discourse.mapeditor.org/t/is-possible-to-create-stardew-valley-like-map-with-tiled/6493/2 "2024-01-06T14:31:34Z")

</div>

Yes, this is all possible. Since you’re using Unity, you should look into SuperTiled2Unity and how it handles tiles, objects, collisions, and z-sorting.

In general, you’ll assign collisions to tiles using Tiled’s Collision Editor, and ST2U will import those, though you’ll need to make sure you set which collision layer in Unity to import them to, and make sure your characters use that layer.

ST2U and Unity can also do proper z-sorting both on tiles within Tile Layers, and on Tile Objects, so it’s up to you to decide how you prefer to handle things like houses and trees. In general, for non-dynamic objects, I recommend using Tile Layers as much as possible.

---

<div class="post-metadata">

**Author:** ![willis](https://avatars.discourse-cdn.com/v4/letter/w/74df32/32.png) [@willis](https://discourse.mapeditor.org/u/willis)\
**Post date:** [January 6, 2024, 2:43pm UTC](https://discourse.mapeditor.org/t/is-possible-to-create-stardew-valley-like-map-with-tiled/6493/3 "2024-01-06T14:43:01Z")

</div>

How to work with object like houses and trees in Tiled?

---

<div class="post-metadata">

**Author:** ![eishiya](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/eishiya/32/2534_2.png) [@eishiya](https://discourse.mapeditor.org/u/eishiya)\
**Post date:** [January 6, 2024, 2:52pm UTC](https://discourse.mapeditor.org/t/is-possible-to-create-stardew-valley-like-map-with-tiled/6493/4 "2024-01-06T14:52:30Z")

</div>

One of two ways: As tiles in Tile Layers, or as Tile Objects in Object Layers.

Typically, such things aren’t “objects” at all, they’re just regular tiles. Tiled supports using oversized tiles, so you can place large tiles like trees into a regular tile layer, and they will display and z-sort correctly.  
You can also build them up from many smaller tiles if that’s how your tiles are set up. This makes z-sorting harder, however, and is best done when you either don’t need dynamic z-sorting.

With Tile Objects, you’ll need each house/tree to be a single tile each, and can position them freely (i.e. not restricted to the tile grid). Typically, Tile (and other) Objects are used for dynamic entities like NPCs and destructibles, there is little benefit to using them for static things like houses and trees, unless you need the grid-free positioning.

The appropriate option depends on your project and your preferences. Try both out.

---

<div class="post-metadata">

**Author:** ![willis](https://avatars.discourse-cdn.com/v4/letter/w/74df32/32.png) [@willis](https://discourse.mapeditor.org/u/willis)\
**Post date:** [January 6, 2024, 3:12pm UTC](https://discourse.mapeditor.org/t/is-possible-to-create-stardew-valley-like-map-with-tiled/6493/5 "2024-01-06T15:12:33Z")

</div>

Thanks,

Can I attach image to object ? IDK how objects work, it just empty shape and I cant do much about it.

Is tile object you mention is an object shape in object layer?

---

<div class="post-metadata">

**Author:** ![eishiya](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/eishiya/32/2534_2.png) [@eishiya](https://discourse.mapeditor.org/u/eishiya)\
**Post date:** [January 6, 2024, 3:14pm UTC](https://discourse.mapeditor.org/t/is-possible-to-create-stardew-valley-like-map-with-tiled/6493/6 "2024-01-06T15:14:49Z")

</div>

Tile Objects are placed with the Insert Tile tool, they are a separate type of Object from the others.  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/mapeditor/original/2X/7/792f0a349ad9723fb537e9db033f9e7656771516.png)

---

<div class="post-metadata">

**Author:** ![willis](https://avatars.discourse-cdn.com/v4/letter/w/74df32/32.png) [@willis](https://discourse.mapeditor.org/u/willis)\
**Post date:** [January 6, 2024, 3:18pm UTC](https://discourse.mapeditor.org/t/is-possible-to-create-stardew-valley-like-map-with-tiled/6493/7 "2024-01-06T15:18:22Z")

</div>

I can only select a single tile cell right ? my tile size is 24x24, the object size is much more than that, do I need to make all objects into tileset ? not a separate image?

---

<div class="post-metadata">

**Author:** ![eishiya](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/eishiya/32/2534_2.png) [@eishiya](https://discourse.mapeditor.org/u/eishiya)\
**Post date:** [January 6, 2024, 3:24pm UTC](https://discourse.mapeditor.org/t/is-possible-to-create-stardew-valley-like-map-with-tiled/6493/8 "2024-01-06T15:24:40Z")

</div>

Like I said before, for use as Tile Objects, you should have each thing be its own Tile. If your objects are all separate images, you can put them into an Image Collection tileset - this is a type of tileset where each tile is a separate image.
