add coin and script
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://cy3dg66pt8abt"]
|
||||
[gd_scene load_steps=10 format=3 uid="uid://cy3dg66pt8abt"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://3wumh6kpw3ai" path="res://scenes/player.tscn" id="1_uwrxv"]
|
||||
[ext_resource type="Texture2D" uid="uid://0syymy7ijylx" path="res://assets/sprites/world_tileset.png" id="1_yqjtg"]
|
||||
[ext_resource type="PackedScene" uid="uid://xacwq0rohthg" path="res://scenes/platform.tscn" id="3_lnu2h"]
|
||||
[ext_resource type="PackedScene" uid="uid://dotk5aceo1m0k" path="res://scenes/coin.tscn" id="4_lbhrr"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_lnu2h"]
|
||||
texture = ExtResource("1_yqjtg")
|
||||
@@ -235,3 +236,15 @@ libraries = {
|
||||
&"": SubResource("AnimationLibrary_iywne")
|
||||
}
|
||||
autoplay = "move"
|
||||
|
||||
[node name="Coin" parent="." instance=ExtResource("4_lbhrr")]
|
||||
position = Vector2(233, 87)
|
||||
|
||||
[node name="Coin2" parent="." instance=ExtResource("4_lbhrr")]
|
||||
position = Vector2(9, 88)
|
||||
|
||||
[node name="Coin3" parent="." instance=ExtResource("4_lbhrr")]
|
||||
position = Vector2(520, 57)
|
||||
|
||||
[node name="Coin4" parent="." instance=ExtResource("4_lbhrr")]
|
||||
position = Vector2(88, -23)
|
||||
|
||||
Reference in New Issue
Block a user