GithubHelp home page GithubHelp logo

death-save / combat-carousel Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 21.0 4.33 MB

Combat Carousel Foundry VTT module

Home Page: https://deathsave.dev

License: GNU General Public License v3.0

JavaScript 80.31% CSS 10.11% Handlebars 9.58%
combat-carousel foundry-vtt foundryvtt

combat-carousel's People

Contributors

boltsj avatar brothersharper avatar davidaremacarretero avatar drental avatar eclarke12 avatar fair-strides avatar jamztheman avatar kvndrsslr avatar lozalojo avatar lozanoje avatar sirrus233 avatar sovietvvinter avatar spoidar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

combat-carousel's Issues

Ability to move the carousel to a new location and limit number of seen actors

  • Option to limit the number of seen actors to just a few, in order to allow the carousel to be moved to a new location that has limited width.

  • Option to move the upper left corner of the Carousel to a point based on the percentage of screen space, per user. This allows the carousel to be moved elsewhere (in order not to interfere with Token Action HUD for example) such as at the bottom to the screen, or to the upper right corner of the canvas, especially if the user can limit the number of bricks show on it.

'Docked' Combat Carousel Appears Every Turn

Description
When the Combat Carousel is docked (or 'hidden), it will re-appear every time the GM moves to the next turn. This can be problematic for players who hide it to save screen real-estate.

To Reproduce

Steps to reproduce the behavior:

Be a player.
Hide the Combat Carousel.
(As a GM) Move to the next turn

Expected behavior

When hidden, the combat carousel should remain hidden.

Desktop (please complete the following information):

OS: Windows
Browser: Various (Chromium Browsers mostly: Chrome, Brave, Edge)

Add size options for Carousel

Is your feature request related to a problem? Please describe.
The combat carrousel takes up a lot of screen real space with no option to shrink it down. This makes playing in relatively small monitors really hard.

Describe the solution you'd like
A simple slider or scale field to shrink down the icons on the carousel would be nice.

Describe alternatives you've considered
There's no real alternative solution other than not using the carousel.

Additional context
image
Notice how the carousel and quick drop menu compete for a good portion of the screen space.

Add other resource Bars

allow the addition of more bars like the health bar to track resource 1-3 (or whatever other options are available in the token drop down) configurable in the settings

Change how Carousel presents Active Combatant

For some players, finding the little ribbon on the Carousel to see who is active can be difficult. Some CRPGs that use a carousel for turn-based combat (such as "Temple of Elemental Evil") display it so that whoever is active is always in the left-most slot. Others (like "Divinity: Original Sin") use a carousel, but make the active combatant's portrait noticeably larger than the others.

For game systems that only determine initiative once, and give each combatant a single turn within that (and seldom change the order), it can be clearer to some users who is active by using the latter method. When combat begins, highlight the left-most portrait -- and when they finish their turn, move their portrait to the right end of the list, and highlight the next portrait (which is now on the left end). As players get closer to the point where they can take their turn, their portrait gets closer to the left side.

Naturally, this should be an OPTION. Not all players will find this method intuitive, and in rulesets with more fluid initiative (for instance, if you reroll every round), this method won't work at all.

SWADE initiative is not shown

The module does not show the savage worlds card rolls. Would it be possible to add it? A button to throw initiative would also be good. Thanks for the job!

Improve the glow around the active player

The border around the active player is very thin and not really well seen. My suggestions of improving it:

  • make it thicker by a px or two
  • make it drow an outer glow to appear thicker by few px as well
  • make it pulsate between white and yellow

Turn indicator flag can be wrong for players when invisible actors present

From the player view, the flag always starts on the first actor they can see in the list. From the GM view, the flag can be on one of the invisible actors, and will be on the wrong actor in the player's view. The normal combat tracker handles this correctly and does not highlight and actor from the player's view if it is an invisible actor's turn.

To replicate the issue, add an invisible actor to an encounter with two or more visible actors. Give the invisible actor a higher initiative roll and the players view will have the flag on the wrong actor at the start of the round. Advancing the turn always advances the flag on the player's view to the next visible actor.

OSE ruleset and Combat Carousel

*I have Foundry 0.7.5 and am using OSE ruleset (which is very nice btw) with the Combat Carousel Module (also very good). Ihave the bug where Hit Points are not shown in a green bar in Combat carousel in OSE whereas in other rulesets like PF1 and PF2 for example the little green bar is shown. Ideas?
In the other rulesets I am using stock standard Combat carousel and have not had to change any settings to get green health bar in Combat Carousel.What can I do to get this to appear in the OSE ruleset ,it is very handy and I need it?

0.1.1 Players able to click on any portrait and affect whose turn it is

With combat started player (TRUSTED) is able to click on any card in the carousel and make it that actor's turn

To Reproduce
Steps to reproduce the behavior:

  1. (GM) Select actors, add to tracker, start combat
  2. [Player] Click various cards n carousel. Turn changes to selected actor

Expected behavior
Players should not be able to affect the turn sequence in this manner.

Screenshots
I have an MP4 of it, but github doesnt allow it

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Edge
  • Version 0.1.1
  • Foundry 0.6.6
  • Node

Carousel shows "mystery man" image for all NPCs instead of their token

Describe the bug
NPC characters do not get an appropriate image on the carousel. The mystery man icon shows in place even when their token is set to different image.

To Reproduce

  1. Create an NPC actor and assign a token image
  2. Add token to active encounter
  3. Observe the image in the carousel is not the same as the token.

Expected behavior
The image in the carousel should be the same as the token.

Screenshots
Capture

Desktop (please complete the following information):

  • OS: Win10
  • Browser: Running in foundry directly
  • Version 0.7.7

Carousel is vertical

My carousel appears vertically on my screen - needless to say this is unsuitable. v0.66.
image

Animation is janky when transitioning from one round to another

When I have 2 actors in a combat and I cycle through from one round to another, the animation shows the actors moving off-screen and then realigning and then floating back it.

Expected behaviour: Having either the entire UI clear and the new round populate OR that there's a break that shows the end of the round and the actors are then showing again, like a true carousel.

Can't see all the characters to the left.

Describe the bug
Can't scroll all the way to the left. There are several characters to the left of the one shown in the picture.

To Reproduce
Steps to reproduce the behavior:

  1. Add a bunch of tokens to the combat
  2. advance turns to the last user in the combat tracker
  3. Scroll all the way to the left on the combat carousel
  4. you can't see the characters on the left.

Expected behavior
should be able to see all the characters left and right

Screenshots
image

Desktop (please complete the following information):
chrome, 7.4

Images not displaying in wiki.

Describe the bug
Wiki images are broken. Tested on Firefox / Chrome

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://github.com/death-save/combat-carousel-public/wiki/Multi-State-Icon'
  2. See error

Expected behavior
Expected images to show differing CC states.

Screenshots
https://images-ext-2.discordapp.net/external/XBftIRF-VvY6c2NXuCWZQZ-J2loYNeXle-VRI-mVaNs/https/i.imgur.com/pc82C9s.png

Desktop (please complete the following information):

  • OS: [win10]
  • Browser [chrome, firefox]

More Click Options

Right Click to open sheet
This Can Currently Be done by double left click but often only changes whose turn it is in the combat.

Double Right Click Pan to Token
More useful on bigger maps where tokens are spread apart.

Target from Carousel Bar
Add the ability to target enemies straight from the Carousel.

Correction in localization

It's not exactly a feature, but I'm here to report a correction in the description of the location to make it uniform and within the standard for Brazilian Portuguese translation the reference is as follows:
{ "lang": "pt-BR", "name": "Português (Brasil)", "path": "lang/pt-br.json" }

Compatibility with Hidden Initiative

Is your feature request related to a problem? Please describe.
When using Combat Carousel in pack with Hidden initiative the Combat Carosel shows real order and unhide the order

Describe the solution you'd like
Shows order only for gm and show it only after first round/ Or add possibility to attach combat order from basic interface

0.1.1 Players unable to roll initiative

Describe the bug
When the player clicks the d20 on their card, it doesnt roll initiative, it just makes it their turn. Applies if player owns more than one actor, it switches turn to that actor. GM can still roll initiative with the d20 icon. See Issue #19

To Reproduce
Steps to reproduce the behavior:
1.Be a player, et your actors added to Carousel
2. Click on the red d20 icon to roll initiative

Expected behavior
Initiative should be rolled. It is not.

Screenshots
Video available on request (Github wont let me attach mp4)

Desktop (please complete the following information):

  • OS: Win10
  • Browser Edge
  • Version 0.1.1
    Foundry 0.6.6
    Node

If minimized, don't maximize when the active player changes

Some players don't have the screen real estate for the carousel to be up 100% of the time. However, if they minimize it by clicking the icon, as soon as the active player changes, all the icon's reappear. It should respect the players choice to hide the carousel and only reappear when the player chooses to

Feature Request - Add module settings for disable the reroll iniative red button

Is your feature request related to a problem? Please describe.
The problem is some time i miss click on the card of the carousel and click by mistake the red dice button and launch the reroll iniative and changing the order on the carousel.

Describe the solution you'd like
Add a module settings to hide and show the red dice button

Describe alternatives you've considered
Open a window popup for make sure it wasn't a miss click

Additional context

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.