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_gold/coin_gold.tscn

41 lines
1.5 KiB
Text
Raw Normal View History

2023-10-02 01:14:45 +00:00
[gd_scene load_steps=7 format=3 uid="uid://du3005kwybbrh"]
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_nfq5t"]
[ext_resource type="Texture2D" uid="uid://dxtstvjlten8p" path="res://entity/coin_gold/coin_gold.png" id="2_1mhvl"]
[ext_resource type="Texture2D" uid="uid://bwqsdmghnrmhy" path="res://entity/coin_gold/coin_gold_outline.png" id="3_v0ty1"]
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_t2klm"]
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_palpv"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
2023-10-02 21:24:01 +00:00
size = Vector2(27, 5)
2023-10-02 01:14:45 +00:00
[node name="CoinGold" type="RigidBody2D"]
2023-10-02 16:29:05 +00:00
collision_layer = 4
2023-10-02 16:36:55 +00:00
collision_mask = 14
2023-10-02 01:14:45 +00:00
mass = 2.0
inertia = 600.0
physics_material_override = ExtResource("1_nfq5t")
continuous_cd = 1
can_sleep = false
2023-10-02 01:14:45 +00:00
linear_damp = 0.1
angular_damp = 0.1
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
2023-10-02 21:33:32 +00:00
scale = Vector2(1.5, 1.5)
2023-10-02 01:14:45 +00:00
shape = SubResource("RectangleShape2D_c6byl")
[node name="Sprite" type="Sprite2D" parent="CollisionShape2D"]
texture_filter = 1
texture = ExtResource("2_1mhvl")
[node name="Outline" type="Sprite2D" parent="CollisionShape2D"]
z_index = -1
texture_filter = 1
texture = ExtResource("3_v0ty1")
[node name="Collectible" parent="." instance=ExtResource("4_t2klm")]
type = &"Gold"
[node name="Valuable" parent="." instance=ExtResource("5_palpv")]
value = 100