1 parent
01e8fbf4fe
commit
eed1540c93
6 files changed
+93
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 458 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://djlqqmqpsd0kc"
|
||||
path="res://.godot/imported/sign.png-f68c0bf044084530e7373ad6ed8f7c3f.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/sign.png"
|
||||
dest_files=["res://.godot/imported/sign.png-f68c0bf044084530e7373ad6ed8f7c3f.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
@@ -0,0 +1,14 @@
|
||||
extends Interactable
|
||||
|
||||
@export var sign_text = ""
|
||||
@export var text_dismiss_timer = 2
|
||||
|
||||
func _on_interacted() -> void:
|
||||
print("INTERACT MAN")
|
||||
%Dialogue.show_text(sign_text).dismiss_after(text_dismiss_timer)
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
@@ -0,0 +1 @@
|
||||
uid://dvo0iux2pcggi
|
||||
@@ -0,0 +1,30 @@
|
||||
[gd_scene format=3 uid="uid://bnkbkfto83owf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dvo0iux2pcggi" path="res://sign.gd" id="1_q3tny"]
|
||||
[ext_resource type="Texture2D" uid="uid://djlqqmqpsd0kc" path="res://art/sign.png" id="2_q3tny"]
|
||||
[ext_resource type="Texture2D" uid="uid://d0cd1alr8k706" path="res://art/interact_button.png" id="3_e8cgb"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_eumkw"]
|
||||
size = Vector2(26, 32)
|
||||
|
||||
[node name="Sign" type="Node2D" unique_id=1201409437]
|
||||
script = ExtResource("1_q3tny")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
position = Vector2(0, -16)
|
||||
texture = ExtResource("2_q3tny")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="Sprite2D" unique_id=2050186824]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/Area2D" unique_id=1560168165]
|
||||
shape = SubResource("RectangleShape2D_eumkw")
|
||||
|
||||
[node name="ButtonPrompt" type="Sprite2D" parent="Sprite2D" unique_id=1864817335]
|
||||
visible = false
|
||||
position = Vector2(0, -8.000002)
|
||||
scale = Vector2(0.8, 0.8)
|
||||
texture = ExtResource("3_e8cgb")
|
||||
|
||||
[connection signal="interacted" from="." to="." method="_on_interacted"]
|
||||
[connection signal="body_entered" from="Sprite2D/Area2D" to="." method="_on_approach"]
|
||||
[connection signal="body_exited" from="Sprite2D/Area2D" to="." method="_on_abandon"]
|
||||
@@ -23,6 +23,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://b5ssjxl1l3fx0" path="res://hidden_vertical_long_block.tscn" id="20_26xuy"]
|
||||
[ext_resource type="PackedScene" uid="uid://ch0417iiviaxb" path="res://hidden_horizontal_long_block.tscn" id="21_bc84e"]
|
||||
[ext_resource type="PackedScene" uid="uid://be757jqlv785s" path="res://hidden_coin.tscn" id="22_wukud"]
|
||||
[ext_resource type="PackedScene" uid="uid://bnkbkfto83owf" path="res://sign.tscn" id="24_wjb0r"]
|
||||
|
||||
[node name="World" type="Node2D" unique_id=1327991900]
|
||||
process_mode = 1
|
||||
@@ -587,4 +588,8 @@ position = Vector2(247, -1261.3452)
|
||||
[node name="HiddenVerticalLongBlock10" parent="." unique_id=170869907 instance=ExtResource("20_26xuy")]
|
||||
position = Vector2(247, -1371.6267)
|
||||
|
||||
[node name="Sign" parent="." unique_id=916197061 instance=ExtResource("24_wjb0r")]
|
||||
position = Vector2(-4799, 365.30762)
|
||||
sign_text = "TEST SIGN 1"
|
||||
|
||||
[connection signal="toggled" from="CanvasLayer/MusicButton" to="CanvasLayer/MusicButton" method="_on_toggled"]
|
||||
Reference in new issue
Block a user