2025-12-01 22:45:28 +00:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://bauklhpieuivd"]
|
2025-12-01 22:35:07 +00:00
|
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dtwo7g0ipc4k" path="res://textures/ship_1.png" id="1_uwrxv"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://bfxfkrkaebxk0" path="res://scripts/player.gd" id="1_yqjtg"]
|
2025-12-01 22:45:28 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dgng5vdhn6anc" path="res://scenes/asteroid.tscn" id="3_lnu2h"]
|
2025-12-01 22:35:07 +00:00
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_uwrxv"]
|
|
|
|
|
radius = 16.0
|
|
|
|
|
|
2025-12-01 22:45:28 +00:00
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_lnu2h"]
|
|
|
|
|
radius = 20.0
|
|
|
|
|
|
2025-12-01 22:35:07 +00:00
|
|
|
[node name="Game" type="Node2D"]
|
|
|
|
|
|
|
|
|
|
[node name="Player" type="RigidBody2D" parent="."]
|
|
|
|
|
linear_damp = 6.247
|
|
|
|
|
script = ExtResource("1_yqjtg")
|
|
|
|
|
|
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="Player"]
|
|
|
|
|
texture = ExtResource("1_uwrxv")
|
|
|
|
|
|
2025-12-01 22:45:28 +00:00
|
|
|
[node name="CollisionShape" type="CollisionShape2D" parent="Player"]
|
2025-12-01 22:35:07 +00:00
|
|
|
shape = SubResource("CircleShape2D_uwrxv")
|
|
|
|
|
|
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="Player"]
|
|
|
|
|
ignore_rotation = false
|
|
|
|
|
position_smoothing_enabled = true
|
|
|
|
|
position_smoothing_speed = 8.0
|
|
|
|
|
rotation_smoothing_enabled = true
|
|
|
|
|
rotation_smoothing_speed = 15.0
|
|
|
|
|
|
2025-12-01 22:45:28 +00:00
|
|
|
[node name="Hitbox" type="Area2D" parent="Player"]
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape2D" parent="Player/Hitbox"]
|
|
|
|
|
shape = SubResource("CircleShape2D_lnu2h")
|
|
|
|
|
debug_color = Color(0.9686392, 0, 0.4696517, 0.41960785)
|
|
|
|
|
|
|
|
|
|
[node name="Asteroid" parent="." instance=ExtResource("3_lnu2h")]
|
|
|
|
|
position = Vector2(-42, -173)
|
|
|
|
|
|
|
|
|
|
[node name="Asteroid2" parent="." instance=ExtResource("3_lnu2h")]
|
|
|
|
|
position = Vector2(227, 37)
|
|
|
|
|
|
|
|
|
|
[node name="Asteroid3" parent="." instance=ExtResource("3_lnu2h")]
|
|
|
|
|
position = Vector2(-216, 134)
|
|
|
|
|
|
|
|
|
|
[node name="Asteroid4" parent="." instance=ExtResource("3_lnu2h")]
|
|
|
|
|
position = Vector2(-192, -427)
|