new test scene

This commit is contained in:
pennyrigate 2026-01-01 17:59:19 -05:00
parent a103ddcb8a
commit 9a6ea2c7b9
2 changed files with 104 additions and 44 deletions

55
scenes/1d_vslice.tscn Normal file
View file

@ -0,0 +1,55 @@
[gd_scene load_steps=8 format=3 uid="uid://dfwa3gwtoor3t"]
[ext_resource type="PackedScene" uid="uid://q2fys6o0jy6w" path="res://objects/starfield/starfield.tscn" id="1_gl3rp"]
[ext_resource type="Texture2D" uid="uid://cokpdf3gw10kr" path="res://space.png" id="2_nv70j"]
[ext_resource type="PackedScene" uid="uid://c714s5d7d5765" path="res://objects/player/player.tscn" id="3_fyu15"]
[ext_resource type="PackedScene" uid="uid://b1rm2x7lofhkm" path="res://objects/bosses/tesu.tscn" id="4_0cr18"]
[ext_resource type="AudioStream" uid="uid://dftw8ufcgjbft" path="res://audio/music/04 - Stage 2 (Purple Sea).mp3" id="5_yu621"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ikr60"]
size = Vector2(10, 320)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mmy68"]
size = Vector2(260, 11.25)
[node name="TestScene" type="Node"]
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
offset_right = 40.0
offset_bottom = 40.0
[node name="SubViewport" parent="SubViewportContainer" instance=ExtResource("1_gl3rp")]
size = Vector2i(240, 320)
[node name="Icon" type="Sprite2D" parent="."]
visible = false
position = Vector2(120, 160)
texture = ExtResource("2_nv70j")
[node name="Player" parent="." instance=ExtResource("3_fyu15")]
position = Vector2(124, 280)
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(245, 160)
shape = SubResource("RectangleShape2D_ikr60")
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-5, 160)
shape = SubResource("RectangleShape2D_ikr60")
[node name="CollisionShape2D3" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(120, 325.625)
shape = SubResource("RectangleShape2D_mmy68")
[node name="CollisionShape2D4" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(120, -5.75)
shape = SubResource("RectangleShape2D_mmy68")
[node name="Tesu" parent="." instance=ExtResource("4_0cr18")]
position = Vector2(124, 81)
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("5_yu621")
autoplay = true

View file

@ -1,55 +1,60 @@
[gd_scene load_steps=8 format=3 uid="uid://dfwa3gwtoor3t"]
[gd_scene load_steps=15 format=3 uid="uid://tt12jx4uauwn"]
[ext_resource type="Texture2D" uid="uid://cokpdf3gw10kr" path="res://space.png" id="1_ikr60"]
[ext_resource type="Texture2D" uid="uid://c50bfqprpitev" path="res://icon.svg" id="1_ufr73"]
[ext_resource type="PackedScene" uid="uid://c714s5d7d5765" path="res://objects/player/player.tscn" id="2_ikr60"]
[ext_resource type="PackedScene" uid="uid://b1rm2x7lofhkm" path="res://objects/bosses/tesu.tscn" id="4_mmy68"]
[ext_resource type="PackedScene" uid="uid://q2fys6o0jy6w" path="res://objects/starfield/starfield.tscn" id="5_e0h7n"]
[ext_resource type="AudioStream" uid="uid://dftw8ufcgjbft" path="res://audio/music/04 - Stage 2 (Purple Sea).mp3" id="5_wcm38"]
[ext_resource type="Script" uid="uid://cj2fj7snls8aa" path="res://systems/bullets/bullet_set.gd" id="3_hwssd"]
[ext_resource type="Script" uid="uid://pn143vuxc7wp" path="res://systems/bullets/bullet_actions/despawn_action.gd" id="4_4ctm6"]
[ext_resource type="Script" uid="uid://dntp60my5f65m" path="res://systems/bullets/bullet_behaviors/simple_linear_behavior.gd" id="5_jwla8"]
[ext_resource type="Script" uid="uid://dtuc6qerbfset" path="res://systems/bullets/spawn_patterns/ring_pattern.gd" id="6_5wg4x"]
[ext_resource type="Script" uid="uid://vus1a0flwtnm" path="res://systems/bullets/bullet_preset.gd" id="7_qckwa"]
[ext_resource type="Script" uid="uid://5scjonwmg8tw" path="res://systems/bullets/set_behaviors/rotation_set_behavior.gd" id="8_etx6j"]
[ext_resource type="Texture2D" uid="uid://du7gh3nk66mpo" path="res://graphics/bullets/normal_bullet/bullet_1.png" id="9_6buwp"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ikr60"]
size = Vector2(10, 320)
[sub_resource type="Resource" id="Resource_sle1e"]
script = ExtResource("4_4ctm6")
metadata/_custom_type_script = "uid://pn143vuxc7wp"
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mmy68"]
size = Vector2(260, 11.25)
[sub_resource type="Resource" id="Resource_c0i5a"]
script = ExtResource("5_jwla8")
initial_speed = 128.0
acceleration = -64.0
min_speed = 0.0
action_speed_clamped = SubResource("Resource_sle1e")
metadata/_custom_type_script = "uid://dntp60my5f65m"
[sub_resource type="Resource" id="Resource_cf1so"]
script = ExtResource("6_5wg4x")
bullet_count = 5
metadata/_custom_type_script = "uid://dtuc6qerbfset"
[sub_resource type="Resource" id="Resource_4oowd"]
script = ExtResource("8_etx6j")
rotation_speed = -1.5707963267948966
spawn_rotation_speed = 6.283185307179586
metadata/_custom_type_script = "uid://5scjonwmg8tw"
[sub_resource type="Resource" id="Resource_uu3sg"]
script = ExtResource("7_qckwa")
behavior = SubResource("Resource_c0i5a")
textures = Array[Texture2D]([ExtResource("9_6buwp")])
hitbox_size = Vector2i(6, 6)
pattern = SubResource("Resource_cf1so")
rounds = 100000
round_delay = 0.5
set_behavior = SubResource("Resource_4oowd")
metadata/_custom_type_script = "uid://vus1a0flwtnm"
[node name="TestScene" type="Node"]
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
offset_right = 40.0
offset_bottom = 40.0
[node name="SubViewport" parent="SubViewportContainer" instance=ExtResource("5_e0h7n")]
size = Vector2i(240, 320)
[node name="Icon" type="Sprite2D" parent="."]
visible = false
position = Vector2(120, 160)
texture = ExtResource("1_ikr60")
position = Vector2(110, 187)
texture = ExtResource("1_ufr73")
[node name="Player" parent="." instance=ExtResource("2_ikr60")]
position = Vector2(124, 280)
position = Vector2(100, 99)
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(245, 160)
shape = SubResource("RectangleShape2D_ikr60")
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-5, 160)
shape = SubResource("RectangleShape2D_ikr60")
[node name="CollisionShape2D3" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(120, 325.625)
shape = SubResource("RectangleShape2D_mmy68")
[node name="CollisionShape2D4" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(120, -5.75)
shape = SubResource("RectangleShape2D_mmy68")
[node name="Tesu" parent="." instance=ExtResource("4_mmy68")]
position = Vector2(124, 81)
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("5_wcm38")
autoplay = true
[node name="BulletSet" type="Node2D" parent="."]
position = Vector2(111, 152)
script = ExtResource("3_hwssd")
preset = SubResource("Resource_uu3sg")
metadata/_custom_type_script = "uid://cj2fj7snls8aa"