Comments (6)
Any suggestions for this? The name target_neighbor seemed clear when I was implementing it. There's probably properties that have confusing names, so maybe documenting them in the wiki would be a better option.
from flare-engine.
Maybe it's a language thing, and the secondary usage of "neighbor" as "nearby" or "adjacent" is not obvious to other languages?
I'm open to better names. It's hard to come up with labels that are precise and short. But yes, with more documentation we could clear some of this up.
from flare-engine.
So let me see if I have this right: if target_neighbor is set to 3, then the power will select a valid target (whether that's an enemy or a tile) within three tiles to target. Yes? I might go for target_area or target_within or even autotarget_within (or if I have the functionality slightly wrong, maybe random_within).
from flare-engine.
power will select a valid target (whether that's an enemy or a tile)
It won't target enemies, only tiles. Whether or not a enemy is on the tile is irrelevant.
from flare-engine.
When talking about areas, I'd use the word 'range' maybe?
area_range or destination_range or destination_radius?
from flare-engine.
I think when I first was looking through mods, target_neighbor to ME said, "This boolean will determine whether this power targets 'self' or an 'adjacent enemy'", which was the source of my confusion.
Though neighbor can be used flexibly where I live out in the boonies (I have 'neighbors' five houses away half a mile down the road), to me, the word means "people who live in property that abuts mine," so I think that's where I picked up the connotation that target_neighbor would be a "who" (not a "where") and a boolean, not a range.
If we can't agree on a better name, then I agree with Clint that documentation might be the way to go. When 0.18 is comes out, I might try and do a Wiki writeup on "The Anatomy of a Power".
from flare-engine.
Related Issues (20)
- Manifest file for itch.io
- Wandering NPCs
- Random Map Selector HOT 2
- Unique base/scaled stats for each player class
- Adding hotspot to mapmod property to make loot events easier to make. HOT 1
- Open Source commercial friendly CC0 / MIT / 'Public Domain' license Flare Engine port version for Godot 4+? HOT 7
- Encounter chance for npcs.
- Poise break
- Have some trouble with a map. HOT 6
- How to generate translation files? HOT 1
- A problem about making elemental damage weapons. HOT 5
- Location flags
- Android: "Flare" directory should be created if it does not exist HOT 4
- Drop usage of std::map from Items and Powers HOT 1
- I want to make mods HOT 1
- Bonus levels in actionbar tooltips are doubled
- Android Flare Engine v1.14 APK showing as version 1.12 HOT 6
- FLARE Error HOT 4
- number_format.txt missing HOT 1
- Fix TXT formats to be proper TOML HOT 6
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 flare-engine.