Un peu de musique dans ce monde de brutes
This commit is contained in:
		
							
								
								
									
										67
									
								
								caracters/musicians/mike.tscn
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								caracters/musicians/mike.tscn
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,67 @@ | ||||
| [gd_scene load_steps=7 format=3 uid="uid://cjxpn0cukd6vo"] | ||||
|  | ||||
| [ext_resource type="Script" path="res://caracters/musicians/thomas.gd" id="1_up6tq"] | ||||
| [ext_resource type="Texture2D" uid="uid://d2ia0h20isonk" path="res://assest/musicians/Subway_Busker_1_48x48.png" id="2_bb48o"] | ||||
|  | ||||
| [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="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="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_up6tq") | ||||
|  | ||||
| [node name="Sprite2D" type="Sprite2D" parent="."] | ||||
| texture = ExtResource("2_bb48o") | ||||
| 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="."] | ||||
| volume_db = 1.0 | ||||
| autoplay = true | ||||
		Reference in New Issue
	
	Block a user
	 Thomas
					Thomas