-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from dev-masih/dev (merge for DefGraph version 3)
merge for DefGraph version 3
- Loading branch information
Showing
36 changed files
with
913 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Changelog and migration guild from version 2 to 3 | ||
|
||
* Added ability for game objects to have curved corner paths. | ||
* Added ability to track game object rotation as move result. | ||
* Added only one ways routes, and added separate arguments `two_way_route_color` and `one_way_route_color` in `debug_draw_map_nodes` function. | ||
|
||
<img src="examples/raw/debug_draw_one_way_route.jpg" alt="one way route" style="max-width:100%;" /> | ||
|
||
In the above image green line is a two-way path and the light blue line is a one-way path, a little square is placed on a one-way route near the destination, for example in this image the route is one way from node 5 to 6. | ||
|
||
* Added separate examples of static and dynamic map nodes. | ||
* Added documentation for module settings. | ||
* Added `is_one_way` argument to `map_add_route` function, to able to add just one-way route. | ||
* Added `is_remove_one_way` argument to `map_remove_route` function, to able to remove just one-way route or both between two nodes. | ||
* Added `map_remove_node` function to remove a node and it's connected routes to it. | ||
* Added `map_update_node_position` function to update node positions. now the entire map can move dynamically. | ||
* Added `map_set_properties` function to replace module default settings. | ||
* `move_initialize` function gets `initial_face_vector` as a vector3 to calculate game object face direction based on this value. setting this value to `nil` will disable rotation tracking system and `rotation` field in move result table will always be `nil`. | ||
* `move_player` function no longer needs `threshold` as an argument. | ||
* `move_initialize` function now gets `settings_go_threshold` as a number and you do need to call `move_initialize` if you want to change it. This allows us to prevent situations that a game object always moves with a moving destination node without reaching it, forever. setting this value to `nil` will fall back to the module default value. | ||
* Adding `settings_path_curve_tightness`, `settings_path_curve_roundness`, `settings_path_curve_max_distance_from_corner` and `settings_allow_enter_on_route` to `move_initialize` arguments. you can overwrite these values for a single game object by them. setting these values to `nil` will fall back to the module default value. | ||
* Added `rotation` to move result table that returned from function `move_player` and you can set game object rotation to it. | ||
* Fixed bug that caused a game object to get stuck in a complex intersection. | ||
* Added `is_show_intersection` argument to `debug_draw_player_move` function to allow debugger mark/not mark intersections of game object path. | ||
* version 3 is tagged as `v3` in GitHub repository. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.