feat: added fortress
This commit is contained in:
parent
6cfa0a88f9
commit
94641f81bb
79 changed files with 4278 additions and 76 deletions
60
godot/particles/hit_blood.tscn
Normal file
60
godot/particles/hit_blood.tscn
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://bilpy7hvr241x"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://b0tfy08j1ns7l" path="res://particles/materials/blood.tres" id="1_bxg6i"]
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_c6gb0"]
|
||||
script/source = "extends Node3D
|
||||
|
||||
func _ready():
|
||||
$GPUParticles3D.emitting = true
|
||||
"
|
||||
|
||||
[sub_resource type="Curve" id="Curve_3c0ta"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), -2.87185, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_jnejt"]
|
||||
curve = SubResource("Curve_3c0ta")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_g7xxc"]
|
||||
_data = [Vector2(0, 0.358491), 0.0, 0.115259, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_4xk1k"]
|
||||
curve = SubResource("Curve_g7xxc")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_3tk35"]
|
||||
direction = Vector3(0, 1, 0)
|
||||
spread = 9.948
|
||||
initial_velocity_min = 4.0
|
||||
initial_velocity_max = 5.0
|
||||
gravity = Vector3(0, -6, 0)
|
||||
scale_curve = SubResource("CurveTexture_4xk1k")
|
||||
alpha_curve = SubResource("CurveTexture_jnejt")
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_ycnbb"]
|
||||
material = ExtResource("1_bxg6i")
|
||||
size = Vector2(0.7, 0.7)
|
||||
|
||||
[node name="Node3D" type="Node3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0)
|
||||
script = SubResource("GDScript_c6gb0")
|
||||
|
||||
[node name="GPUParticles3D" type="GPUParticles3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.901349, -0.433093, 0, 0.433093, 0.901349, 0, -0.743526, -0.384688)
|
||||
emitting = false
|
||||
amount = 4
|
||||
lifetime = 0.2
|
||||
one_shot = true
|
||||
explosiveness = 0.95
|
||||
visibility_aabb = AABB(-0.755479, -0.7, -0.887261, 1.55896, 2.27885, 1.61314)
|
||||
draw_order = 2
|
||||
trail_lifetime = 0.1
|
||||
process_material = SubResource("ParticleProcessMaterial_3tk35")
|
||||
draw_pass_1 = SubResource("QuadMesh_ycnbb")
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
autostart = true
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="queue_free"]
|
||||
21
godot/particles/materials/blood.tres
Normal file
21
godot/particles/materials/blood.tres
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://b0tfy08j1ns7l"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://mohtx5ugbwv5" path="res://particles/textures/circle.tres" id="1_5lb7o"]
|
||||
|
||||
[resource]
|
||||
transparency = 3
|
||||
alpha_hash_scale = 0.14
|
||||
alpha_antialiasing_mode = 0
|
||||
shading_mode = 2
|
||||
diffuse_mode = 2
|
||||
specular_mode = 1
|
||||
albedo_color = Color(0.608618, 0, 0, 1)
|
||||
albedo_texture = ExtResource("1_5lb7o")
|
||||
emission_enabled = true
|
||||
emission = Color(0.316706, 0.0292181, 0.0292181, 1)
|
||||
emission_energy_multiplier = 0.1
|
||||
billboard_mode = 3
|
||||
billboard_keep_scale = true
|
||||
particles_anim_h_frames = 1
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
11
godot/particles/textures/circle.tres
Normal file
11
godot/particles/textures/circle.tres
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[gd_resource type="GradientTexture2D" load_steps=2 format=3 uid="uid://mohtx5ugbwv5"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_277u5"]
|
||||
interpolation_mode = 2
|
||||
colors = PackedColorArray(1, 1, 1, 1, 0.269186, 0.269186, 0.269186, 0)
|
||||
|
||||
[resource]
|
||||
gradient = SubResource("Gradient_277u5")
|
||||
fill = 1
|
||||
fill_from = Vector2(0.5, 0.5)
|
||||
fill_to = Vector2(0.95, 0.5)
|
||||
Loading…
Add table
Add a link
Reference in a new issue