started work on lab

This commit is contained in:
pennyrigate 2023-09-08 15:39:13 -04:00
parent 398e39ff1b
commit 0693bd91d3
10 changed files with 430 additions and 174 deletions

58
menus/results.tscn Normal file
View file

@ -0,0 +1,58 @@
[gd_scene load_steps=8 format=2]
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=1]
[ext_resource path="res://objects/player/player_death_particles.tscn" type="PackedScene" id=2]
[ext_resource path="res://graphics/collectibles/shard.png" type="Texture" id=3]
[ext_resource path="res://graphics/player/sg_idle_color.png" type="Texture" id=4]
[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 1 )
shader_param/border_color = Color( 0, 0, 0, 1 )
shader_param/border_corners = false
[sub_resource type="Gradient" id=2]
interpolation_mode = 2
offsets = PoolRealArray( 0, 0.734694, 1 )
colors = PoolColorArray( 0.576471, 0.980392, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 )
[sub_resource type="Animation" id=3]
resource_name = "New Anim"
length = 2.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("DeathSplatter:emitting")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
[node name="Results" type="Node2D"]
[node name="Sprite" type="Sprite" parent="."]
material = SubResource( 1 )
position = Vector2( 47, 39 )
texture = ExtResource( 3 )
[node name="DeathSplatter" parent="." instance=ExtResource( 2 )]
position = Vector2( 95, 64 )
emitting = true
amount = 64
lifetime = 1.0
one_shot = false
explosiveness = 1.0
texture = ExtResource( 4 )
gravity = Vector2( 0, 150 )
initial_velocity = 250.0
scale_amount = 1.0
scale_amount_curve = null
color_ramp = SubResource( 2 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "New Anim"
"anims/New Anim" = SubResource( 3 )