chara integration and mask position
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 12s
Create tag and build when new code gets to main / Export (push) Successful in 1m37s

This commit is contained in:
2026-02-01 16:33:28 +01:00
parent fa2062b87d
commit 8b4590b980
17 changed files with 100 additions and 31 deletions

View File

@@ -6,6 +6,9 @@ extends Camera2D
var should_move_right = false
var should_move_left = false
@onready var arrow_001: Sprite2D = $"../Arrow001"
@onready var arrow_002: Sprite2D = $"../Arrow002"
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
@@ -14,6 +17,9 @@ func _ready() -> void:
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
arrow_001.visible = position.x <= 440.0
arrow_002.visible = position.x >= 2076.0
var limit_left_at_center = limit_left + get_viewport_rect().size.x/2
var limit_right_at_center = limit_right - get_viewport_rect().size.x/2
if position.x < limit_left_at_center: