init water droplet test

This commit is contained in:
EdGuloien committed 2026-05-02 19:08:42 -04:00
commit 4ec4dbb5ad
12 files changed
+201

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
class_name Droplet extends RigidBody2D
func _ready():
pass # Replace with function body.
func _process(delta):
pass
+1
View File
@@ -0,0 +1 @@
uid://b51w6528jl7ns
+15
View File
@@ -0,0 +1,15 @@
class_name Model extends Node2D
const PERIOD: int = 300
var CURRENT_TIME: int = 0
func _ready():
pass # Replace with function body.
func _process(delta: float):
CURRENT_TIME += delta * 100
if CURRENT_TIME % 100 == 0:
print("Current time: ", str(CURRENT_TIME))
var droplet = preload("res://scenes/droplet.tscn").instantiate()
droplet.global_position = Vector2(100, 100)
add_child(droplet)
+1
View File
@@ -0,0 +1 @@
uid://g0yk17km82bv