mapeditor / mapeditor/tiled

Implement dynamic recoloring of tiles.

Open
#173 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

The same way dyed sprites are drawn using the mana client, tiled should be able to handle recolor channels and apply them tile based at best or tileset based if easier.
If the recoloration is made tileset based, the same tileset should be loadable in more than one recoloration.

Designing the tmx format upgrade to handle recolorable tiles would benefit both tiled and the manasource project.
And adding new classes to dye images using the QT technology would also benefit the manamobile and fairy-glow projects.

@bjorn said:
Just a warning, the priority of this is rather low so it's not likely that I will actually get around to implementing it. Also, since it is rather specific to the needs of The Mana World, it might be more suitable to do something like this in a plugin. Of course that would need the necessary hooks to be added.

In any case if you find this really important, your best option is to provide a patch.

(Originally created at https://sourceforge.net/apps/mantisbt/tiled/view.php?id=61 )

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by reviewing the TMX format support and the existing Qt image-handling approach, then determine where tile- or tileset-based recolor channels and multiple recolorings of one tileset would fit. Done means the recoloring behavior and required format or plugin hooks are implemented and verifiable.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.