Moerill / Moerill/fvtt-pointer

[FEATURE] expose additional interface parameters

Open
#11 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
5
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
Calling canvas.controls.pointer.ping() from within another module (or script), would benefit from exposing all the graphical parameters (ie. overriding the params associated with userId).

My use case is that I want to script pings of varying color, duration, and styling not associated with a specific user's settings.

Describe the solution you'd like
Extend ping() with optional override params.

Describe alternatives you've considered
Adjusting user's settings, firing ping, the resetting back to original.

Additional context
Happy to contribute, either by opening PR myself or reviewing one.

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

Start from the implementation of canvas.controls.pointer.ping() and trace how it obtains graphical parameters associated with userId. Define the optional override parameters for color, duration, and styling, then verify that scripted pings can vary them without changing the user's settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.