mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-25 00:54:19 +00:00
create copper coin scene
This commit is contained in:
parent
37f7b14a14
commit
b9c5f747aa
1 changed files with 27 additions and 0 deletions
27
entity/coin_copper.tscn
Normal file
27
entity/coin_copper.tscn
Normal file
|
@ -0,0 +1,27 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://c3kitncwpi42j"]
|
||||
|
||||
[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="PhysicsMaterial" id="PhysicsMaterial_06g2i"]
|
||||
bounce = 0.1
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
|
||||
size = Vector2(14, 3)
|
||||
|
||||
[node name="CoinCopper" type="RigidBody2D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 6
|
||||
physics_material_override = SubResource("PhysicsMaterial_06g2i")
|
||||
|
||||
[node name="Sprite" type="Sprite2D" parent="."]
|
||||
texture_filter = 1
|
||||
texture = ExtResource("1_wedw1")
|
||||
|
||||
[node name="Outline" type="Sprite2D" parent="."]
|
||||
z_index = 10
|
||||
texture_filter = 1
|
||||
texture = ExtResource("2_2ifq3")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_c6byl")
|
Loading…
Reference in a new issue