feat: This enables user-defined transition and uses a tween to animate the transitions (#405)
* feat: This enables user-defined transition and uses a tween to animate the transitions fixes #344 * docs: Automatic update of API docs * docs: Automatic update of API docs Co-authored-by: Dennis Ploeger <develop@dieploegers.de> Co-authored-by: dploeger <dploeger@users.noreply.github.com>
This commit is contained in:
@@ -349,7 +349,7 @@ Return the sprite node
|
||||
### set\_angle
|
||||
|
||||
```gdscript
|
||||
func set_angle(deg: int, immediate = true)
|
||||
func set_angle(deg: int, wait: float = 0)
|
||||
```
|
||||
|
||||
Set the angle
|
||||
@@ -357,13 +357,12 @@ Set the angle
|
||||
#### Parameters
|
||||
|
||||
- deg: The angle degree to set
|
||||
- immediate: Set the angle immediately. If false will show intermediate
|
||||
angles
|
||||
- wait: Wait this amount of seconds until continuing with turning around
|
||||
|
||||
### turn\_to
|
||||
|
||||
```gdscript
|
||||
func turn_to(object: Node, immediate = true)
|
||||
func turn_to(object: Node, wait: float = 0)
|
||||
```
|
||||
|
||||
Turn to face another object
|
||||
@@ -371,8 +370,7 @@ Turn to face another object
|
||||
#### Parameters
|
||||
|
||||
- deg: The angle degree to set
|
||||
- immediate: Set the angle immediately. If false will show intermediate
|
||||
angles
|
||||
- float Wait this amount of seconds until continuing with turning around
|
||||
|
||||
### start\_talking
|
||||
|
||||
|
||||
Reference in New Issue
Block a user