Comments (5)
I like keeping around the health bar and creating an issue to make it track the target as you'd expect.
Adding a config option to allow this kind of health indicator to be enabled or disabled sounds appropriate as well. Default value should be False
.
While we're at it, we might want to add a config option to enable target health color shift which can be set to True
by default.
from fpsci.
I (broadly) agree with this, and could see us offering up 3 options here:
- The current colored target (maybe w/ customizable colors eventually)
- A health bar that tracks the target
- A health bar that is positioned statically somewhere in screen space
I think having 2 flags could manage this (since some may want both the target color shift and health bar). We could also use the lack of a provided position for the health bar as an indicator to tie it to the target. As for color shift, I was debating whether we let the user just specify 2 colors (max/min health) and then let the app interpolate between the two. If the two colors are equal then the target is just constant color.
from fpsci.
I don't think a static target health bar makes sense very often. I can think of a few "boss fight" type scenarios in games where they add a health bar in the center top of the screen. Here's an example screenshot of that.
Key to these kinds of scenarios is that the boss often has many targets that are valid and all contribute toward damage to the same health pool. While implementing this style of health bar is easier, I don't know that we need it to be a core feature we maintain like the target color or tracked health bar.
from fpsci.
I think we could still support the fixed health bar (boss-style) option, especially since it is trivial once you have the option for positioning it above the target.
Since @jspjutNV posted the image above, do we also want to start another issue (possibly referencing this one) for floating combat text? I know we discussed this at some point, but weren't sure how we wanted to implement it.
from fpsci.
Closing this for now as @pknowlesnv's recent commit takes care of the basics. We've also moved floating combat text to it's own issue (Issue #24). The only possible remaining item is adding back in a "boss-style" health bar, but this hasn't been requested up to now. Can create a new issue for this in the future.
from fpsci.
Related Issues (20)
- Switch DB from text references to rowID foreign key references
- Performance hitch early in runtime HOT 3
- `allSessionsCompleteFeedback` doesn't work at startup if all sessions are complete HOT 1
- Issue with `'` character in experiment configuration
- Entry-style Question Problems
- Problem with experiment level parameter 'closeOnComplete.'
- Support for stopping motion/blanking display outside of trial/during feedback HOT 1
- Staircase Stimulus HOT 3
- Trial-level Configuration HOT 7
- Log scoring to database HOT 2
- Decals on preview targets HOT 1
- getenv("USERNAME") failures in some cases HOT 2
- Small Targets may not be hittable
- Test `weightByCount` behavior of imbalanced tasks and update documentation
- Setting `audioEnable` to false in startup config causes a crash
- Offscreen target indicator(s)
- Interaction of user menu and questions HOT 1
- Question response changes depending on answer method HOT 1
- Incorrect reference position when `clickToStart` is `false`
- `showReferenceTarget = false` appears to be broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fpsci.