Moved a couple files

This commit is contained in:
2025-11-01 13:24:54 +11:00
parent ee8deac651
commit b65134d283
4 changed files with 13 additions and 17 deletions

15
workspace/workspace.gd Normal file
View File

@@ -0,0 +1,15 @@
extends Node2D
@export var small_tree = preload("res://tree/small_tree.tscn")
func _ready() -> void:
randomize()
_procgen()
func _procgen() -> void:
for i in range(0, 15):
var grid_pos = Vector2i(randi() % 20, randi() % 20)
if grid_pos.x == 0 and grid_pos.y == 0: continue #NOTE: don't spawn on the player
var st = small_tree.instantiate()
st.position = Vector2(grid_pos * 32)
add_child(st)

View File

@@ -0,0 +1 @@
uid://qrdh3cheiudm

31
workspace/workspace.tscn Normal file

File diff suppressed because one or more lines are too long