mapeditor / mapeditor/tiled

JavaScript API: Add a function to import a set of custom types from an external file

Open
#4,482 4 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

When writing scripts that work with a lot of custom types, this would greatly simplify ensuring they exist and are properly defined. It would also dodge #4457 to some degree.

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, tests, or entry points are named. Start by locating the JavaScript API and the existing custom-type definition and loading paths, then determine the expected external-file format and import behavior. Done means the API can import a set of custom types and ensure they are properly defined, with coverage for the supported input and failure cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.