Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tileset tile x/y draw offset. #3488

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Oct 5, 2022

  1. Add tile draw offset

    Chase-san committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    fb65a96 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8242f7 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Renamed drawOffset to origin (and reversed its value)

    I think this should be more intuitive, especially when we later make this
    property visually editable.
    bjorn committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    e9eb959 View commit details
    Browse the repository at this point in the history
  2. Fixed writing out of tile origin

    If a tile only had its origin customized, it would still fail to get
    written out.
    bjorn committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    4fc57f1 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. Configuration menu
    Copy the full SHA
    4aad5c3 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Fixed painting issues caused by tile origin

    The tile origin changes where the tiles are rendered, so it needs to be
    taken into account when calculating the draw margins. These are used
    when determining which area to repaint, and which tiles to render in a
    certain area.
    
    The draw margins are cached per map and now also per tileset. They are
    invalidated when the "tile offset" or a tileset is changed as well as
    when the "origin" of a tile is changed.
    bjorn committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    489a859 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2cd573 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. Configuration menu
    Copy the full SHA
    d3860b2 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Configuration menu
    Copy the full SHA
    8bf12ce View commit details
    Browse the repository at this point in the history