initial commit 4.2

This commit is contained in:
2024-03-30 23:01:14 +01:00
commit ec6facd4fc
37 changed files with 1102 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
extends TextureRect
# Called when the node enters the scene tree for the first time.
func _ready():
await texture.changed
var image = texture.get_image()
print(image.detect_alpha())
image.fill(Color(1, 0, 1, 0.5))
print(image.detect_alpha())
print(image.get_format())
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
texture.noise_offset.x += 25*delta
texture.noise_offset.y -= 5*delta
pass