added project with nerabochie cows
This commit is contained in:
21
scenes/objects/rocks/stone.tscn
Normal file
21
scenes/objects/rocks/stone.tscn
Normal file
@ -0,0 +1,21 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://e1k1nplcm5x3"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://djm430uofdey4" path="res://assets/game/Objects/basic_grass_biom_things.png" id="1_oca81"]
|
||||
[ext_resource type="PackedScene" uid="uid://dk2en4pak8e6f" path="res://scenes/components/collectable_component.tscn" id="2_k7uky"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_dgxlj"]
|
||||
atlas = ExtResource("1_oca81")
|
||||
region = Rect2(114, 18, 10, 8)
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_oca81"]
|
||||
radius = 3.0
|
||||
|
||||
[node name="Stone" type="Sprite2D"]
|
||||
texture = SubResource("AtlasTexture_dgxlj")
|
||||
|
||||
[node name="CollectableComponent" parent="." instance=ExtResource("2_k7uky")]
|
||||
collectable_name = "stone"
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="CollectableComponent"]
|
||||
shape = SubResource("CircleShape2D_oca81")
|
||||
debug_color = Color(0, 0.64226, 0.32076, 0.42)
|
Reference in New Issue
Block a user