52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://Player.gd" type="Script" id=1]
|
|
[ext_resource path="res://Laserr.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://art/player/Rocket1.png" type="Texture" id=3]
|
|
[ext_resource path="res://art/player/Rocket2.png" type="Texture" id=4]
|
|
|
|
[sub_resource type="SpriteFrames" id=1]
|
|
|
|
animations = [ {
|
|
"frames": [ ExtResource( 3 ), ExtResource( 4 ) ],
|
|
"loop": true,
|
|
"name": "default",
|
|
"speed": 15.0
|
|
} ]
|
|
|
|
[sub_resource type="CapsuleShape2D" id=2]
|
|
|
|
custom_solver_bias = 0.0
|
|
radius = 19.3222
|
|
height = 76.5834
|
|
|
|
[node name="Player" type="Area2D" index="0"]
|
|
|
|
input_pickable = true
|
|
gravity_vec = Vector2( 0, 1 )
|
|
gravity = 98.0
|
|
linear_damp = 0.1
|
|
angular_damp = 1.0
|
|
audio_bus_override = false
|
|
audio_bus_name = "Master"
|
|
script = ExtResource( 1 )
|
|
Laser = ExtResource( 2 )
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="." index="0"]
|
|
|
|
position = Vector2( 1.01175, 7.07602 )
|
|
scale = Vector2( 0.2, 0.2 )
|
|
frames = SubResource( 1 )
|
|
animation = "default"
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="1"]
|
|
|
|
position = Vector2( -4.44824, -0.0942383 )
|
|
rotation = 1.5708
|
|
shape = SubResource( 2 )
|
|
disabled = true
|
|
_sections_unfolded = [ "Material", "Transform", "Visibility", "Z Index" ]
|
|
|
|
|