Proof of concept data disks, pharaoh character
This commit is contained in:
1 parent
f6d6e287f1
commit
5dd4c27430
14 files changed
+188
-6
No files matched your search
@@ -0,0 +1,28 @@
|
||||
[gd_scene format=3 uid="uid://b1e1nx60ng3tq"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d1uqjaar8v5vi" path="res://disk.gd" id="1_olhq3"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0l3mbvieqbnb" path="res://art/empty_tablet.png" id="3_olhq3"]
|
||||
[ext_resource type="AudioStream" uid="uid://f2xmq6cgiiwj" path="res://sound/coin.wav" id="4_5qg3x"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6qpsl"]
|
||||
radius = 7.0
|
||||
height = 20.0
|
||||
|
||||
[node name="Disk" type="Node2D" unique_id=1739014101]
|
||||
script = ExtResource("1_olhq3")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=813041394]
|
||||
texture = ExtResource("3_olhq3")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=170499029]
|
||||
scale = Vector2(1.3291091, 1)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1865546056]
|
||||
shape = SubResource("CapsuleShape2D_6qpsl")
|
||||
|
||||
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="." unique_id=1778061188]
|
||||
stream = ExtResource("4_5qg3x")
|
||||
volume_db = 1.0
|
||||
|
||||
[connection signal="picked_up" from="." to="." method="_on_picked_up"]
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
Reference in new issue
Block a user