Чистка.

This commit is contained in:
sasha80
2024-05-20 09:14:51 +03:00
parent e21d9c997b
commit ab082d6c11
5 changed files with 49 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

BIN
data/рамка-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b0o8jhb5jbrev"
path="res://.godot/imported/рамка-1.png-f12c78d1806344f437cab5886e375731.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://data/рамка-1.png"
dest_files=["res://.godot/imported/рамка-1.png-f12c78d1806344f437cab5886e375731.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -0,0 +1,15 @@
@tool
extends Node
@export var textures: Array
func _on_toggled(toggled_on): $frame.visible = toggled_on
@export var state: int:
set(v):
v = 0 if v < 0 else v % textures.size()
state = v
$state.texture = textures[v]
get:
return state