mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 15:54:44 -04:00
Changing layer order works again
Started using a setter method for Global.current_layer
This commit is contained in:
parent
18356d4408
commit
4e31c1ed4b
4 changed files with 50 additions and 63 deletions
|
@ -51,7 +51,7 @@ func _ready() -> void:
|
|||
var tex := ImageTexture.new()
|
||||
tex.create_from_image(sprite, 0)
|
||||
|
||||
# Store [Image, ImageTexture, Layer Name, Opacity]
|
||||
# Store [Image, ImageTexture, Opacity]
|
||||
layers.append([sprite, tex, 1])
|
||||
|
||||
var frame_button = load("res://Prefabs/FrameButton.tscn").instance()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue