Added Code effect

This commit is contained in:
2026-06-30 13:45:50 +03:00
parent 96cbd16610
commit 6b98e10bf4
9 changed files with 93 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
class_name Code
extends Node2D
const CODE_LINE = preload("res://game/effects/code_line.tscn")
func _ready() -> void:
for y in range(0, SettingsManager.window_base_size.y, 16):
var line : CodeLine = CODE_LINE.instantiate()
line.scroll_offset.y = y
add_child(line)