level + enemy spawner refactor
This commit is contained in:
parent
ebdb9c7074
commit
2cc3eaa859
15 changed files with 942 additions and 93 deletions
9
levels/trees.gd
Normal file
9
levels/trees.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
@tool
|
||||
extends Node3D
|
||||
|
||||
@export_tool_button("Randomize Tree Rotations")
|
||||
var _rot_button = _randomize_rotations
|
||||
|
||||
func _randomize_rotations() -> void:
|
||||
for child in get_children():
|
||||
child.rotation.y = randf() * TAU
|
||||
Loading…
Add table
Add a link
Reference in a new issue