started working on a boss room.
This commit is contained in:
131
src/scenes/boss_room_test.tscn
Normal file
131
src/scenes/boss_room_test.tscn
Normal file
File diff suppressed because one or more lines are too long
49
src/scenes/boss_room_test.tscn82339472517.tmp
Normal file
49
src/scenes/boss_room_test.tscn82339472517.tmp
Normal file
File diff suppressed because one or more lines are too long
144
src/scenes/fire.tscn
Normal file
144
src/scenes/fire.tscn
Normal file
@@ -0,0 +1,144 @@
|
||||
[gd_scene format=3 uid="uid://dlpxvxijydpob"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dwthqtcn5sqoj" path="res://assets/gfx/fx/flames/nedladdning (14).png" id="1_52nqi"]
|
||||
[ext_resource type="Script" uid="uid://dvqusisdxpobp" path="res://scripts/fire.gd" id="1_xqmqg"]
|
||||
[ext_resource type="Shader" uid="uid://c40fb6mfe76g3" path="res://shaders/fire_light.gdshader" id="3_g5mbl"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_w00nx"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("../AnimationPlayer:current_animation")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [&""]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("../TorchLight:texture_scale")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [1.0]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_6c2w1"]
|
||||
resource_name = "burning"
|
||||
length = 0.42
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.03333333, 0.06666666, 0.099999994, 0.13333333, 0.16666667, 0.2, 0.23333333, 0.26666668, 0.3, 0.33333334, 0.36666667),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("../TorchLight:texture_scale")
|
||||
tracks/1/interp = 2
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.03333334, 0.06666667, 0.1, 0.13333334, 0.16666667, 0.2, 0.23333333, 0.26666668, 0.3, 0.33333334, 0.36666667),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [1.0, 1.01, 1.04, 1.0, 1.06, 1.0, 0.95, 1.0, 1.0, 1.05, 1.0, 1.02]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_go3kq"]
|
||||
resource_name = "firestart"
|
||||
length = 0.18
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.03333334, 0.1, 0.13333336),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 0, 1, 2]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("../AnimationPlayer:current_animation")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0.16666667),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [&"burning"]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_rd7dh"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_w00nx"),
|
||||
&"burning": SubResource("Animation_6c2w1"),
|
||||
&"firestart": SubResource("Animation_go3kq")
|
||||
}
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_rach5"]
|
||||
shader = ExtResource("3_g5mbl")
|
||||
shader_parameter/brightness_multiplier = 3.0
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_lquwl"]
|
||||
offsets = PackedFloat32Array(0.743, 0.74418604)
|
||||
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 0)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_w00nx"]
|
||||
gradient = SubResource("Gradient_lquwl")
|
||||
fill = 1
|
||||
fill_from = Vector2(0.508547, 0.487179)
|
||||
fill_to = Vector2(0.974359, 0.0470085)
|
||||
|
||||
[node name="Fire" type="Node2D" unique_id=250449909]
|
||||
script = ExtResource("1_xqmqg")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=546834922]
|
||||
texture = ExtResource("1_52nqi")
|
||||
hframes = 4
|
||||
vframes = 4
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1975648299]
|
||||
root_node = NodePath("../Sprite2D")
|
||||
libraries/ = SubResource("AnimationLibrary_rd7dh")
|
||||
autoplay = &"firestart"
|
||||
|
||||
[node name="TorchLight" type="PointLight2D" parent="." unique_id=1247002843]
|
||||
modulate = Color(1.353256, 1.353256, 1.353256, 1)
|
||||
z_index = 10
|
||||
material = SubResource("ShaderMaterial_rach5")
|
||||
position = Vector2(0, -1)
|
||||
blend_mode = 2
|
||||
texture = SubResource("GradientTexture2D_w00nx")
|
||||
Reference in New Issue
Block a user