Skip to content

Commit

Permalink
Merge branch 'master' of github.com:luisboch/godot_field_of_view
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Carlos Boch committed May 17, 2020
2 parents cc4aa93 + 52470f0 commit 4c75df2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Can be installed from asset lib (https://godotengine.org/asset-library/asset/210

* Enable plugin under project settings
* Add Field of View node
* Configure it
* Configure it (And add target groups to track, without it, plugin will not work as expected!)
* From Character node read "in_danger_area" and "in_warn_area" properties to get the visible nodes, or,
* Use events "target_enter" or "target_exit" to work;

Expand All @@ -36,6 +36,7 @@ Can be installed from asset lib (https://godotengine.org/asset-library/asset/210
* **Fov Warn Color:** Color, when *Show Fov* is true, this define the color used to draw ray to target when is "warn" state
* **Fov Danger Color:** Color, when *Show Fov* is true, this define the color used to draw ray to target when is "danger" state
* **Frequency:** Float, time to update view area, lower will update fast with cpu cost, default value is 0.5
* **Target Groups** Array groups to track, required at least one.

## Current state
<img src="https://github.com/luisboch/godot_field_of_view/blob/images/assets/luisboch/field-of-view/2d/demo/print/print_1.jpg" />
Expand Down Expand Up @@ -66,4 +67,4 @@ Preview 4:
![](https://raw.githubusercontent.com/luisboch/godot_field_of_view/images/preview4.gif)

## How-To from zero
https://youtu.be/tpR-9X6G8hk
https://youtu.be/tpR-9X6G8hk

0 comments on commit 4c75df2

Please sign in to comment.