Most of prototype! yay
This commit is contained in:
BIN
entities/receiver/receiver.aseprite
Normal file
BIN
entities/receiver/receiver.aseprite
Normal file
Binary file not shown.
34
entities/receiver/receiver.aseprite.import
Normal file
34
entities/receiver/receiver.aseprite.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bpp73e14xkavd"
|
||||
path="res://.godot/imported/receiver.aseprite-28c5d8cd1bd4d02e4c4885b4c9390a3c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://entities/receiver/receiver.aseprite"
|
||||
dest_files=["res://.godot/imported/receiver.aseprite-28c5d8cd1bd4d02e4c4885b4c9390a3c.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
|
||||
7
entities/receiver/receiver.gd
Normal file
7
entities/receiver/receiver.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
extends Interactable
|
||||
|
||||
func _on_interaction_area_body_entered(body: Player) -> void:
|
||||
body.interaction_target = self
|
||||
|
||||
func _on_interaction_area_body_exited(body: Player) -> void:
|
||||
body.interaction_target = null
|
||||
1
entities/receiver/receiver.gd.uid
Normal file
1
entities/receiver/receiver.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bsmung6fgm53e
|
||||
11
entities/receiver/receiver.tscn
Normal file
11
entities/receiver/receiver.tscn
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://fo3xwyve7i5p"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://csbip0oj1uu0j" path="res://common/interactable.gd" id="1_iliiv"]
|
||||
[ext_resource type="Texture2D" uid="uid://bpp73e14xkavd" path="res://entities/receiver/receiver.aseprite" id="2_iyevf"]
|
||||
|
||||
[node name="Receiver" type="Node2D"]
|
||||
script = ExtResource("1_iliiv")
|
||||
metadata/_custom_type_script = "uid://csbip0oj1uu0j"
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_iyevf")
|
||||
Reference in New Issue
Block a user