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.tscn

32 lines
1.1 KiB
Text
Raw Normal View History

2023-09-30 16:44:01 +00:00
[gd_scene load_steps=5 format=3 uid="uid://c3kitncwpi42j"]
2023-09-30 18:36:43 +00:00
[ext_resource type="PhysicsMaterial" uid="uid://wjrjkmxp41dt" path="res://entity/coin.tres" id="1_1merf"]
2023-09-30 16:44:01 +00:00
[ext_resource type="Texture2D" uid="uid://dbdkb4vt7dh85" path="res://entity/coin_copper_4.png" id="1_wedw1"]
[ext_resource type="Texture2D" uid="uid://2vtvoj6ua3cb" path="res://entity/coin_copper_outline_2.png" id="2_2ifq3"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
size = Vector2(14, 3)
[node name="CoinCopper" type="RigidBody2D"]
2023-09-30 17:19:04 +00:00
collision_layer = 5
collision_mask = 7
2023-09-30 18:36:43 +00:00
center_of_mass_mode = 1
center_of_mass = Vector2(10, 0)
2023-09-30 17:24:28 +00:00
physics_material_override = ExtResource("1_1merf")
2023-09-30 17:19:04 +00:00
continuous_cd = 1
2023-09-30 17:24:28 +00:00
linear_damp = 0.1
angular_damp = 0.1
2023-09-30 16:44:01 +00:00
2023-09-30 18:36:43 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
scale = Vector2(2, 2)
shape = SubResource("RectangleShape2D_c6byl")
2023-09-30 16:44:01 +00:00
2023-09-30 18:36:43 +00:00
[node name="Sprite" type="Sprite2D" parent="CollisionShape2D"]
2023-09-30 17:20:51 +00:00
texture_filter = 1
texture = ExtResource("1_wedw1")
2023-09-30 18:36:43 +00:00
[node name="Outline" type="Sprite2D" parent="CollisionShape2D"]
z_index = -10
texture_filter = 1
texture = ExtResource("2_2ifq3")