first commit

This commit is contained in:
Ugric
2026-03-02 02:17:04 +00:00
commit 5d56860f3a
813 changed files with 41799 additions and 0 deletions

22
main menu.gd Normal file
View File

@@ -0,0 +1,22 @@
extends Node3D
func _ready():
$AudioStreamPlayer.play()
var drop_pitch = false
var to_quit=false
func _process(delta: float) -> void:
if !drop_pitch: return
$AudioStreamPlayer.pitch_scale=clamp($AudioStreamPlayer.pitch_scale-delta*0.25,0.01,INF);
if $AudioStreamPlayer.pitch_scale <= 0.02:
if to_quit:
get_tree().quit()
else:
get_tree().change_scene_to_file("res://forest.tscn")
func start(quit):
to_quit = quit
drop_pitch=true
self.remove_child($CanvasLayer)
self.remove_child($character)