SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

2M Downloads

Smapi Tile Rotations

Aviroen opened this issue ยท 1 comments

commented

TileRotRepro.zip

Describe the bug
Specific tiles in spring_OutdoorTileSheet:
ID 655/684/682/680 become relatively off-centered

To Reproduce
Exact steps which reproduce the bug, if possible. For example:

  1. Load save
  2. Debug warp Artificial for ease of access
  3. Debug world_setseason winter
  4. Error occurs.

Log file
Upload your SMAPI log to https://smapi.io/log and post a link here.

Screenshots
Main occurence (Winter)
Image

Spring comparison
Image

commented

Hi! That's not an issue with tile rotation, the tiles you chose just align differently in winter.

For example, let's focus on this area in your screenshot:

spring winter
aligned tiles (spring) misaligned tiles (winter)

That area is using these two tiles from spring_outdoorsTileSheet:

equivalent tiles in tilesheet

In winter the tiles are different since the grass dies off, and the shape of those two tiles notably change so they no longer align with each other (outline is winter):
spring vs winter shape comparison

Or manually rotated so you can see the alignment:
alignment on tilesheet

So essentially it's a coincidence that those two tiles align nicely in other seasons, and they don't in winter. That's just an inconsistency in the base game's tilesheets, not something related to SMAPI that it can fix. I suggest looking at similar tiles in the base game's maps to see which tile indexes it uses for areas like that.