mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 23:48:11 +00:00
added the game
This commit is contained in:
10
Scripts/Parts/CastleVisual.gd
Normal file
10
Scripts/Parts/CastleVisual.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
class_name CastleVisual
|
||||
extends Node2D
|
||||
|
||||
@export var sprite: Sprite2D = null
|
||||
|
||||
var use_sprite := false
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
$Tiles.visible = not use_sprite
|
||||
$Sprite.visible = use_sprite
|
||||
Reference in New Issue
Block a user