114 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			114 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								[gd_scene load_steps=17 format=3 uid="uid://dxocmoeuu32ex"]
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[ext_resource type="Script" uid="uid://dxweii7qmijb8" path="res://scripts/coin.gd" id="1_i64fm"]
							 | 
						||
| 
								 | 
							
								[ext_resource type="Texture2D" uid="uid://ld0dyimucghu" path="res://assets/graphics/pickups/coin.png" id="1_rwqht"]
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="AtlasTexture" id="AtlasTexture_i64fm"]
							 | 
						||
| 
								 | 
							
								atlas = ExtResource("1_rwqht")
							 | 
						||
| 
								 | 
							
								region = Rect2(0, 0, 16, 16)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="AtlasTexture" id="AtlasTexture_11l1o"]
							 | 
						||
| 
								 | 
							
								atlas = ExtResource("1_rwqht")
							 | 
						||
| 
								 | 
							
								region = Rect2(16, 0, 16, 16)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="AtlasTexture" id="AtlasTexture_d14el"]
							 | 
						||
| 
								 | 
							
								atlas = ExtResource("1_rwqht")
							 | 
						||
| 
								 | 
							
								region = Rect2(32, 0, 16, 16)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="AtlasTexture" id="AtlasTexture_1ikuy"]
							 | 
						||
| 
								 | 
							
								atlas = ExtResource("1_rwqht")
							 | 
						||
| 
								 | 
							
								region = Rect2(48, 0, 16, 16)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="AtlasTexture" id="AtlasTexture_wnlwo"]
							 | 
						||
| 
								 | 
							
								atlas = ExtResource("1_rwqht")
							 | 
						||
| 
								 | 
							
								region = Rect2(64, 0, 16, 16)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="AtlasTexture" id="AtlasTexture_jig8b"]
							 | 
						||
| 
								 | 
							
								atlas = ExtResource("1_rwqht")
							 | 
						||
| 
								 | 
							
								region = Rect2(80, 0, 16, 16)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="AtlasTexture" id="AtlasTexture_xmuha"]
							 | 
						||
| 
								 | 
							
								atlas = ExtResource("1_rwqht")
							 | 
						||
| 
								 | 
							
								region = Rect2(96, 0, 16, 16)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="AtlasTexture" id="AtlasTexture_kfxoj"]
							 | 
						||
| 
								 | 
							
								atlas = ExtResource("1_rwqht")
							 | 
						||
| 
								 | 
							
								region = Rect2(112, 0, 16, 16)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="AtlasTexture" id="AtlasTexture_jsmju"]
							 | 
						||
| 
								 | 
							
								atlas = ExtResource("1_rwqht")
							 | 
						||
| 
								 | 
							
								region = Rect2(128, 0, 16, 16)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="AtlasTexture" id="AtlasTexture_s0mny"]
							 | 
						||
| 
								 | 
							
								atlas = ExtResource("1_rwqht")
							 | 
						||
| 
								 | 
							
								region = Rect2(144, 0, 16, 16)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="AtlasTexture" id="AtlasTexture_7cc30"]
							 | 
						||
| 
								 | 
							
								atlas = ExtResource("1_rwqht")
							 | 
						||
| 
								 | 
							
								region = Rect2(160, 0, 16, 16)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="AtlasTexture" id="AtlasTexture_rojmm"]
							 | 
						||
| 
								 | 
							
								atlas = ExtResource("1_rwqht")
							 | 
						||
| 
								 | 
							
								region = Rect2(176, 0, 16, 16)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="SpriteFrames" id="SpriteFrames_ls27i"]
							 | 
						||
| 
								 | 
							
								animations = [{
							 | 
						||
| 
								 | 
							
								"frames": [{
							 | 
						||
| 
								 | 
							
								"duration": 1.0,
							 | 
						||
| 
								 | 
							
								"texture": SubResource("AtlasTexture_i64fm")
							 | 
						||
| 
								 | 
							
								}, {
							 | 
						||
| 
								 | 
							
								"duration": 1.0,
							 | 
						||
| 
								 | 
							
								"texture": SubResource("AtlasTexture_11l1o")
							 | 
						||
| 
								 | 
							
								}, {
							 | 
						||
| 
								 | 
							
								"duration": 1.0,
							 | 
						||
| 
								 | 
							
								"texture": SubResource("AtlasTexture_d14el")
							 | 
						||
| 
								 | 
							
								}, {
							 | 
						||
| 
								 | 
							
								"duration": 1.0,
							 | 
						||
| 
								 | 
							
								"texture": SubResource("AtlasTexture_1ikuy")
							 | 
						||
| 
								 | 
							
								}, {
							 | 
						||
| 
								 | 
							
								"duration": 1.0,
							 | 
						||
| 
								 | 
							
								"texture": SubResource("AtlasTexture_wnlwo")
							 | 
						||
| 
								 | 
							
								}, {
							 | 
						||
| 
								 | 
							
								"duration": 1.0,
							 | 
						||
| 
								 | 
							
								"texture": SubResource("AtlasTexture_jig8b")
							 | 
						||
| 
								 | 
							
								}, {
							 | 
						||
| 
								 | 
							
								"duration": 1.0,
							 | 
						||
| 
								 | 
							
								"texture": SubResource("AtlasTexture_xmuha")
							 | 
						||
| 
								 | 
							
								}, {
							 | 
						||
| 
								 | 
							
								"duration": 1.0,
							 | 
						||
| 
								 | 
							
								"texture": SubResource("AtlasTexture_kfxoj")
							 | 
						||
| 
								 | 
							
								}, {
							 | 
						||
| 
								 | 
							
								"duration": 1.0,
							 | 
						||
| 
								 | 
							
								"texture": SubResource("AtlasTexture_jsmju")
							 | 
						||
| 
								 | 
							
								}, {
							 | 
						||
| 
								 | 
							
								"duration": 1.0,
							 | 
						||
| 
								 | 
							
								"texture": SubResource("AtlasTexture_s0mny")
							 | 
						||
| 
								 | 
							
								}, {
							 | 
						||
| 
								 | 
							
								"duration": 1.0,
							 | 
						||
| 
								 | 
							
								"texture": SubResource("AtlasTexture_7cc30")
							 | 
						||
| 
								 | 
							
								}, {
							 | 
						||
| 
								 | 
							
								"duration": 1.0,
							 | 
						||
| 
								 | 
							
								"texture": SubResource("AtlasTexture_rojmm")
							 | 
						||
| 
								 | 
							
								}],
							 | 
						||
| 
								 | 
							
								"loop": true,
							 | 
						||
| 
								 | 
							
								"name": &"default",
							 | 
						||
| 
								 | 
							
								"speed": 12.0
							 | 
						||
| 
								 | 
							
								}]
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="CircleShape2D" id="CircleShape2D_ssuvv"]
							 | 
						||
| 
								 | 
							
								radius = 5.0
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[node name="Coin" type="Area2D"]
							 | 
						||
| 
								 | 
							
								script = ExtResource("1_i64fm")
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
							 | 
						||
| 
								 | 
							
								texture_filter = 1
							 | 
						||
| 
								 | 
							
								sprite_frames = SubResource("SpriteFrames_ls27i")
							 | 
						||
| 
								 | 
							
								autoplay = "default"
							 | 
						||
| 
								 | 
							
								frame_progress = 0.3844591
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
							 | 
						||
| 
								 | 
							
								shape = SubResource("CircleShape2D_ssuvv")
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[connection signal="body_entered" from="." to="." method="_on_body_entered"]
							 |