You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			54 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
		
		
			
		
	
	
			54 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
| 
											2 years ago
										 | [gd_scene load_steps=5 format=3 uid="uid://brmrbsa4ongaw"] | ||
|  | 
 | ||
|  | [ext_resource type="Texture2D" uid="uid://u3h7efr7bfkv" path="res://addons/MetroidvaniaSystem/Themes/Exquisite/PlayerLocation.png" id="1_8k1h2"] | ||
|  | 
 | ||
|  | [sub_resource type="Animation" id="Animation_ff42g"] | ||
|  | length = 0.001 | ||
|  | tracks/0/type = "value" | ||
|  | tracks/0/imported = false | ||
|  | tracks/0/enabled = true | ||
|  | tracks/0/path = NodePath(".:rotation") | ||
|  | tracks/0/interp = 1 | ||
|  | tracks/0/loop_wrap = true | ||
|  | tracks/0/keys = { | ||
|  | "times": PackedFloat32Array(0), | ||
|  | "transitions": PackedFloat32Array(1), | ||
|  | "update": 0, | ||
|  | "values": [0.0] | ||
|  | } | ||
|  | 
 | ||
|  | [sub_resource type="Animation" id="Animation_2cmdj"] | ||
|  | resource_name = "Spin" | ||
|  | loop_mode = 1 | ||
|  | tracks/0/type = "value" | ||
|  | tracks/0/imported = false | ||
|  | tracks/0/enabled = true | ||
|  | tracks/0/path = NodePath(".:rotation") | ||
|  | tracks/0/interp = 1 | ||
|  | tracks/0/loop_wrap = true | ||
|  | tracks/0/keys = { | ||
|  | "times": PackedFloat32Array(0, 1), | ||
|  | "transitions": PackedFloat32Array(1, 1), | ||
|  | "update": 0, | ||
|  | "values": [0.0, 6.28319] | ||
|  | } | ||
|  | 
 | ||
|  | [sub_resource type="AnimationLibrary" id="AnimationLibrary_dyruj"] | ||
|  | _data = { | ||
|  | "RESET": SubResource("Animation_ff42g"), | ||
|  | "Spin": SubResource("Animation_2cmdj") | ||
|  | } | ||
|  | 
 | ||
|  | [node name="PlayerLocation" type="Sprite2D"] | ||
|  | texture_filter = 1 | ||
|  | texture = ExtResource("1_8k1h2") | ||
|  | 
 | ||
|  | [node name="AnimationPlayer" type="AnimationPlayer" parent="."] | ||
|  | autoplay = "Spin" | ||
|  | playback_speed = 0.5 | ||
|  | libraries = { | ||
|  | "": SubResource("AnimationLibrary_dyruj") | ||
|  | } | ||
|  | 
 | ||
|  | [node name="VisibleOnScreenEnabler2D" type="VisibleOnScreenEnabler2D" parent="."] |