1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-22 15:44:21 +00:00
swear-jar/entity/coin_copper/coin_copper.tscn

38 lines
1.5 KiB
Text

[gd_scene load_steps=7 format=3 uid="uid://c3kitncwpi42j"]
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_1fypc"]
[ext_resource type="Texture2D" uid="uid://dbdkb4vt7dh85" path="res://entity/coin_copper/coin_copper_4.png" id="2_4pvkj"]
[ext_resource type="Texture2D" uid="uid://2vtvoj6ua3cb" path="res://entity/coin_copper/coin_copper_outline_2.png" id="3_dq1f7"]
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_npwn2"]
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_fd0r7"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
size = Vector2(14, 3)
[node name="CoinCopper" type="RigidBody2D"]
collision_layer = 5
collision_mask = 7
inertia = 1000.0
physics_material_override = ExtResource("1_1fypc")
continuous_cd = 1
linear_damp = 0.1
angular_damp = 0.1
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
scale = Vector2(2, 2)
shape = SubResource("RectangleShape2D_c6byl")
[node name="Sprite" type="Sprite2D" parent="CollisionShape2D"]
texture_filter = 1
texture = ExtResource("2_4pvkj")
[node name="Outline" type="Sprite2D" parent="CollisionShape2D"]
z_index = -1
texture_filter = 1
texture = ExtResource("3_dq1f7")
[node name="Collectible" parent="." instance=ExtResource("4_npwn2")]
type = &"Copper"
[node name="Valuable" parent="." instance=ExtResource("5_fd0r7")]
value = 1