Доработка. Добавить файлы для отметок
This commit is contained in:
BIN
scenes/tilemap/dot.png
Normal file
BIN
scenes/tilemap/dot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
34
scenes/tilemap/dot.png.import
Normal file
34
scenes/tilemap/dot.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cgqo5gucd2be0"
|
||||
path="res://.godot/imported/dot.png-e35f44878005aaa12b3432f2608ddde5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/tilemap/dot.png"
|
||||
dest_files=["res://.godot/imported/dot.png-e35f44878005aaa12b3432f2608ddde5.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
|
||||
4
scenes/tilemap/mark.gd
Normal file
4
scenes/tilemap/mark.gd
Normal file
@@ -0,0 +1,4 @@
|
||||
extends Control
|
||||
|
||||
func set_text(t: String):
|
||||
$Label.text = t
|
||||
1
scenes/tilemap/mark.gd.uid
Normal file
1
scenes/tilemap/mark.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://u811i0l1cvsd
|
||||
13
scenes/tilemap/mark.tscn
Normal file
13
scenes/tilemap/mark.tscn
Normal file
@@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://ce5mtxqd1ndru"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cgqo5gucd2be0" path="res://scenes/tilemap/dot.png" id="2_rq0y0"]
|
||||
|
||||
[node name="rect" type="TextureRect"]
|
||||
anchors_preset = -1
|
||||
offset_left = -16.0
|
||||
offset_top = -16.0
|
||||
offset_right = 16.0
|
||||
offset_bottom = 16.0
|
||||
pivot_offset = Vector2(16, 16)
|
||||
texture = ExtResource("2_rq0y0")
|
||||
expand_mode = 1
|
||||
Reference in New Issue
Block a user