@ -0,0 +1 @@ |
||||
file/ |
||||
@ -1,5 +1,5 @@ |
||||
[folding] |
||||
|
||||
node_unfolds=[] |
||||
resource_unfolds=["res://scenes/HUD.tscn::PlaceholderTexture2D_qrglo", PackedStringArray()] |
||||
node_unfolds=[NodePath("Map"), PackedStringArray("Layout", "Layout/Transform")] |
||||
resource_unfolds=["res://scenes/Map.tscn::PlaceholderTexture2D_cpkb8", PackedStringArray()] |
||||
nodes_folded=[] |
||||
|
||||
@ -1,5 +1,5 @@ |
||||
[folding] |
||||
|
||||
node_unfolds=[NodePath("."), PackedStringArray("tile_set")] |
||||
resource_unfolds=["res://scenes/Map.tscn::TileSet_kpt5o", PackedStringArray("Resource", "Rendering")] |
||||
node_unfolds=[NodePath("."), PackedStringArray("Layout", "Layout/Transform"), NodePath("Cursor"), PackedStringArray("Layout", "Layout/Transform")] |
||||
resource_unfolds=["res://scenes/Map.tscn::PlaceholderTexture2D_cpkb8", PackedStringArray()] |
||||
nodes_folded=[] |
||||
|
||||
@ -0,0 +1,3 @@ |
||||
[folding] |
||||
|
||||
sections_unfolded=PackedStringArray() |
||||
@ -0,0 +1,3 @@ |
||||
[folding] |
||||
|
||||
sections_unfolded=PackedStringArray() |
||||
@ -1,3 +1,3 @@ |
||||
[folding] |
||||
|
||||
sections_unfolded=PackedStringArray("Shader Parameters") |
||||
sections_unfolded=PackedStringArray("Shader Parameters", "shader") |
||||
|
||||
@ -0,0 +1,3 @@ |
||||
source_md5="be736809fe988a3d3a39984793cd0073" |
||||
dest_md5="f7674c612bccb19668e40be8c0145bc8" |
||||
|
||||
@ -0,0 +1,3 @@ |
||||
source_md5="a41fdc42542af2e6206a3ea0ef199dfa" |
||||
dest_md5="4d248f7ea412cc8227c05c46ba13825d" |
||||
|
||||
@ -0,0 +1,3 @@ |
||||
source_md5="9c5d0f006f1c1408d5fd22d00911a964" |
||||
dest_md5="b1bbe67abb3443052a7398e177662c47" |
||||
|
||||
@ -0,0 +1,3 @@ |
||||
source_md5="bf91f62a120cd93afd39efa851900fd9" |
||||
dest_md5="3ecde1700932fc57f933b39ebf2a063a" |
||||
|
||||
@ -0,0 +1,3 @@ |
||||
source_md5="4e54bfc8b38fb1e5a9c509089e637d9a" |
||||
dest_md5="0e455ce4ec98b1217a9680db642f3074" |
||||
|
||||
@ -0,0 +1,3 @@ |
||||
source_md5="5000dceb3c7b3ab9d5069e48ca26a264" |
||||
dest_md5="9e7fe639dafacf882be29f3e42e980fd" |
||||
|
||||
|
After Width: | Height: | Size: 7.5 KiB |
@ -0,0 +1,34 @@ |
||||
[remap] |
||||
|
||||
importer="texture" |
||||
type="CompressedTexture2D" |
||||
uid="uid://ub5uhu2a7etv" |
||||
path="res://.godot/imported/cursor.png-82ad823c135e628aa60880ccb75c079d.ctex" |
||||
metadata={ |
||||
"vram_texture": false |
||||
} |
||||
|
||||
[deps] |
||||
|
||||
source_file="res://assets/ui/cursor.png" |
||||
dest_files=["res://.godot/imported/cursor.png-82ad823c135e628aa60880ccb75c079d.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 |
||||
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 12 KiB |
@ -0,0 +1,24 @@ |
||||
[gd_scene load_steps=5 format=3 uid="uid://dla77ra2m245t"] |
||||
|
||||
[ext_resource type="Script" path="res://scripts/Map.gd" id="1_yowpa"] |
||||
[ext_resource type="Texture2D" uid="uid://ub5uhu2a7etv" path="res://assets/ui/cursor.png" id="2_lr2t4"] |
||||
[ext_resource type="Script" path="res://scripts/Map_Cursor.gd" id="3_67qgj"] |
||||
|
||||
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_cpkb8"] |
||||
|
||||
[node name="Map" type="TextureRect"] |
||||
offset_right = 256.0 |
||||
offset_bottom = 256.0 |
||||
texture = SubResource("PlaceholderTexture2D_cpkb8") |
||||
expand_mode = 5 |
||||
script = ExtResource("1_yowpa") |
||||
|
||||
[node name="Cursor" type="TextureRect" parent="." node_paths=PackedStringArray("map")] |
||||
layout_mode = 1 |
||||
offset_right = 37.0 |
||||
offset_bottom = 37.0 |
||||
pivot_offset = Vector2(25, 25) |
||||
texture = ExtResource("2_lr2t4") |
||||
expand_mode = 1 |
||||
script = ExtResource("3_67qgj") |
||||
map = NodePath("..") |
||||
@ -0,0 +1,7 @@ |
||||
extends TextureRect |
||||
|
||||
@export var map = TextureRect |
||||
|
||||
func _process(delta): |
||||
position.x = remap(Global.world.player_position.x, 0, Global.world.width, 0, map.size.x) - size.x / 2 |
||||
position.y = remap(Global.world.player_position.y, 0, Global.world.height, 0, map.size.y) - size.y / 2 |
||||