GithubHelp home page GithubHelp logo

about-face's Introduction

About Face -- FoundryVTT Module

About Face is a module for FoundryVTT that changes a token's direction based on movement. It also provides optional "facing" indicators for tokens.

Example

Installation

Simply use the install module screen within the FoundryVTT setup

Usage

Two options are available in the game settings module config. Otherwise, with everything enabled:

  • Move your token!
  • Hold SHIFT and using your W,A,S,D or ↑,←,↓,→ you can change the direction your token is facing without moving

Known Issues / Limitations

  • Assumes the token default facing direction is "down". Other artwork may respond differently.
  • This has only been tested with square grids (not hexes) and uses 45 degree snapping for tokens.
  • Tokens don't change directions immediately (takes a movement for updateToken to start firing)
  • Have experienced an issue where locking a token makes it unusable until refresh
  • Direction indicators are created using the other players' colors. Because of the way drawing works, players will need to refresh after connecting in order to see all the colors *BUG
  • Unsure if 'facing' state carries from one session to another.
  • May need to refresh if redrawing the scene or moving tokens to a new scene. *should be fixed

Troubleshooting

  • Refresh Foundry VTT webpage

How do I keep certain tokens from spinning?

  • You can lock tokens by either double-clicking and selecting the token icon from the hud or accessing from the character sheet. The option you're looking for is "Lock Rotation" under the "Position" tab.

Upcoming Features

  • Support for tokens whose art faces a different direction by default
  • Different / Configurable indicators
  • Dynamic color-adjusting indicators based on the scene/tile

Credit

Assistance from several Discord users, including @Forien and @Stan. Accepting translations for the few config options.

License

This Foundry VTT module, writen by Eadorin, is licensed under GNU GPLv3.0, supplemented by Commons Clause.

This work is licensed under Foundry Virtual Tabletop EULA - Limited License Agreement for module development v 0.1.6.

about-face's People

Contributors

dependabot[bot] avatar eadorin avatar edzillion avatar forien avatar lozalojo avatar rinnocenti avatar shawndibble avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.