init
This commit is contained in:
		
							
								
								
									
										32
									
								
								scenes/Player.tscn
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								scenes/Player.tscn
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,32 @@ | ||||
| [gd_scene load_steps=5 format=2] | ||||
|  | ||||
| [ext_resource path="res://assets/textures/cupcake.png" type="Texture" id=1] | ||||
| [ext_resource path="res://src/Player.cs" type="Script" id=2] | ||||
|  | ||||
| [sub_resource type="SpriteFrames" id=1] | ||||
| animations = [ { | ||||
| "frames": [ ExtResource( 1 ) ], | ||||
| "loop": true, | ||||
| "name": "default", | ||||
| "speed": 5.0 | ||||
| } ] | ||||
|  | ||||
| [sub_resource type="CapsuleShape2D" id=2] | ||||
| radius = 11.0 | ||||
| height = 4.0 | ||||
|  | ||||
| [node name="Player" type="Area2D"] | ||||
| script = ExtResource( 2 ) | ||||
| __meta__ = { | ||||
| "_edit_group_": true | ||||
| } | ||||
|  | ||||
| [node name="AnimatedSprite" type="AnimatedSprite" parent="."] | ||||
| scale = Vector2( 0.2, 0.2 ) | ||||
| frames = SubResource( 1 ) | ||||
|  | ||||
| [node name="CollisionShape2D" type="CollisionShape2D" parent="."] | ||||
| shape = SubResource( 2 ) | ||||
|  | ||||
| [node name="Camera2D" type="Camera2D" parent="."] | ||||
| current = true | ||||
		Reference in New Issue
	
	Block a user