init
This commit is contained in:
65
coin.tscn
Normal file
65
coin.tscn
Normal file
@@ -0,0 +1,65 @@
|
||||
[gd_scene format=3 uid="uid://bwwv5c0bsfmgh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://csmkrqtuurkyo" path="res://coin.gd" id="1_0t63x"]
|
||||
[ext_resource type="Texture2D" uid="uid://c7kuxextst4j0" path="res://sprites/coin/MonedaD.png" id="1_d5gmh"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_0t63x"]
|
||||
radius = 7.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_v7riw"]
|
||||
atlas = ExtResource("1_d5gmh")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pdq0q"]
|
||||
atlas = ExtResource("1_d5gmh")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_w14il"]
|
||||
atlas = ExtResource("1_d5gmh")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_h4etq"]
|
||||
atlas = ExtResource("1_d5gmh")
|
||||
region = Rect2(48, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_o4fra"]
|
||||
atlas = ExtResource("1_d5gmh")
|
||||
region = Rect2(64, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_te2np"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_v7riw")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_pdq0q")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_w14il")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_h4etq")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_o4fra")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="Coin" type="Area2D" unique_id=1353750555]
|
||||
script = ExtResource("1_0t63x")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1032039025]
|
||||
scale = Vector2(4, 4)
|
||||
shape = SubResource("CircleShape2D_0t63x")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=168181176]
|
||||
scale = Vector2(4, 4)
|
||||
sprite_frames = SubResource("SpriteFrames_te2np")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.9891366
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
Reference in New Issue
Block a user