75 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			75 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| [gd_scene load_steps=8 format=3 uid="uid://bh636kqo4rhy3"]
 | |
| 
 | |
| [ext_resource type="Texture2D" uid="uid://0yybe0v6bkv1" path="res://assest/musicians/Subway_Busker_2_48x48.png" id="1_dq5dt"]
 | |
| [ext_resource type="Script" path="res://caracters/musicians/thomas.gd" id="1_it5tv"]
 | |
| [ext_resource type="AudioStream" uid="uid://bdj7nbrv8f53m" path="res://assest/music/balade du grand nord.ogg" id="2_6pcth"]
 | |
| 
 | |
| [sub_resource type="Animation" id="Animation_k8n4u"]
 | |
| resource_name = "play"
 | |
| length = 1.3
 | |
| loop_mode = 1
 | |
| tracks/0/type = "value"
 | |
| tracks/0/imported = false
 | |
| tracks/0/enabled = true
 | |
| tracks/0/path = NodePath("Sprite2D:frame")
 | |
| tracks/0/interp = 1
 | |
| tracks/0/loop_wrap = true
 | |
| tracks/0/keys = {
 | |
| "times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2),
 | |
| "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
 | |
| "update": 1,
 | |
| "values": [0, 1, 2, 3, 4, 6, 7, 6, 7, 8, 9, 10, 11]
 | |
| }
 | |
| 
 | |
| [sub_resource type="Animation" id="Animation_2qywv"]
 | |
| length = 0.001
 | |
| tracks/0/type = "value"
 | |
| tracks/0/imported = false
 | |
| tracks/0/enabled = true
 | |
| tracks/0/path = NodePath("Sprite2D:frame")
 | |
| tracks/0/interp = 1
 | |
| tracks/0/loop_wrap = true
 | |
| tracks/0/keys = {
 | |
| "times": PackedFloat32Array(0),
 | |
| "transitions": PackedFloat32Array(1),
 | |
| "update": 1,
 | |
| "values": [0]
 | |
| }
 | |
| 
 | |
| [sub_resource type="AnimationLibrary" id="AnimationLibrary_v18ad"]
 | |
| _data = {
 | |
| "RESET": SubResource("Animation_2qywv"),
 | |
| "play": SubResource("Animation_k8n4u")
 | |
| }
 | |
| 
 | |
| [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_0816g"]
 | |
| radius = 6.0
 | |
| height = 66.0
 | |
| 
 | |
| [node name="Thomas" type="StaticBody2D"]
 | |
| script = ExtResource("1_it5tv")
 | |
| 
 | |
| [node name="Sprite2D" type="Sprite2D" parent="."]
 | |
| texture = ExtResource("1_dq5dt")
 | |
| hframes = 12
 | |
| 
 | |
| [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
 | |
| libraries = {
 | |
| "": SubResource("AnimationLibrary_v18ad")
 | |
| }
 | |
| 
 | |
| [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
 | |
| position = Vector2(5, 33)
 | |
| rotation = 1.5708
 | |
| shape = SubResource("CapsuleShape2D_0816g")
 | |
| 
 | |
| [node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
 | |
| stream = ExtResource("2_6pcth")
 | |
| volume_db = 1.0
 | |
| autoplay = true
 | |
| max_distance = 1000.0
 | |
| attenuation = 2.0
 | |
| parameters/looping = false
 | |
| 
 | |
| [connection signal="finished" from="AudioStreamPlayer2D" to="." method="_on_audio_stream_player_2d_finished"]
 | 
