49 lines
1.6 KiB
Plaintext
49 lines
1.6 KiB
Plaintext
|
[gd_scene load_steps=4 format=3 uid="uid://cdo8mdy41ooe8"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://scenes/player/player.gd" id="1_v2hsv"]
|
||
|
[ext_resource type="Texture2D" uid="uid://dqo0m7ok23wh6" path="res://graphics/player/player.png" id="1_x6dmn"]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_aph52"]
|
||
|
radius = 12.641
|
||
|
|
||
|
[node name="Player" type="CharacterBody2D"]
|
||
|
script = ExtResource("1_v2hsv")
|
||
|
|
||
|
[node name="PlayerImage" type="Sprite2D" parent="."]
|
||
|
position = Vector2(27, -16)
|
||
|
rotation = 1.5708
|
||
|
scale = Vector2(0.901109, 0.901109)
|
||
|
texture = ExtResource("1_x6dmn")
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
position = Vector2(-4, -14)
|
||
|
scale = Vector2(4.8615, 5.02786)
|
||
|
shape = SubResource("CircleShape2D_aph52")
|
||
|
|
||
|
[node name="LaserTimer" type="Timer" parent="."]
|
||
|
wait_time = 0.5
|
||
|
one_shot = true
|
||
|
|
||
|
[node name="GrenadeTimer" type="Timer" parent="."]
|
||
|
wait_time = 2.0
|
||
|
one_shot = true
|
||
|
|
||
|
[node name="LaserStartPositions" type="Node2D" parent="."]
|
||
|
|
||
|
[node name="LaserMarker1" type="Marker2D" parent="LaserStartPositions"]
|
||
|
position = Vector2(115, 0)
|
||
|
|
||
|
[node name="LaserMarker2" type="Marker2D" parent="LaserStartPositions"]
|
||
|
position = Vector2(115, -3)
|
||
|
|
||
|
[node name="LaserMarker3" type="Marker2D" parent="LaserStartPositions"]
|
||
|
position = Vector2(115, 3)
|
||
|
|
||
|
[node name="GrenadeStartPositions" type="Node2D" parent="."]
|
||
|
|
||
|
[node name="GrenadeMarker1" type="Marker2D" parent="GrenadeStartPositions"]
|
||
|
position = Vector2(115, 0)
|
||
|
|
||
|
[connection signal="timeout" from="LaserTimer" to="." method="_on_laser_timeout"]
|
||
|
[connection signal="timeout" from="GrenadeTimer" to="." method="_on_grenade_timer_timeout"]
|