mapeditor / mapeditor/tiled-extensions

How to create a tool like `Flip Button` ?

Open
#10 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
65
Forks
26
Avg merge
15h 12m
Merged PRs (30d)
2

Description

When I create a tool , it's like a switch button.
click to enter a mode, click again to exit the mode.

I want create a tool like Flip Button , click to run an action

How to do that ?

thanks

Contributor guide

No contributing guide indexed for this repository

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

The issue names a Flip Button and describes a click-to-run action, but it does not mention any files, tests, or entry points. Start by locating the existing Flip Button implementation in the Tiled extensions repository and compare it with the described switch-style tool. Done means identifying or documenting how an extension can trigger a one-shot action rather than entering a mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.