| … | … | @@ -1,17 +1,17 @@ |
| 1 | 1 | [gd_scene load_steps=11 format=2] |
| 2 | 2 | |
| 3 | [ext_resource path="res://assets/shaders/FireMask.png" type="Texture" id=1] | |
| 4 | [ext_resource path="res://assets/shaders/HoleNoise.png" type="Texture" id=2] | |
| 5 | [ext_resource path="res://assets/shaders/stylized_fire.shader" type="Shader" id=3] | |
| 3 | [ext_resource path="res://assets/shaders/stylized_fire.shader" type="Shader" id=1] | |
| 4 | [ext_resource path="res://assets/shaders/FireMask.png" type="Texture" id=2] | |
| 5 | [ext_resource path="res://assets/shaders/HoleNoise.png" type="Texture" id=3] | |
| 6 | 6 | |
| 7 | 7 | [sub_resource type="ShaderMaterial" id=1] |
| 8 | shader = ExtResource( 3 ) | |
| 8 | shader = ExtResource( 1 ) | |
| 9 | 9 | shader_param/emission_intensity = 2.0 |
| 10 | 10 | shader_param/time_scale = 3.0 |
| 11 | 11 | shader_param/texture_scale = Vector2( 1, 1 ) |
| 12 | 12 | shader_param/edge_softness = 0.1 |
| 13 | shader_param/noise_texture = ExtResource( 2 ) | |
| 14 | shader_param/texture_mask = ExtResource( 1 ) | |
| 13 | shader_param/noise_texture = ExtResource( 3 ) | |
| 14 | shader_param/texture_mask = ExtResource( 2 ) | |
| 15 | 15 | |
| 16 | 16 | [sub_resource type="Gradient" id=2] |
| 17 | 17 | colors = PoolColorArray( 0.980957, 0.801817, 0, 1, 1, 0, 0.447059, 0 ) |
| … | … | @@ -54,5 +54,6 @@ process_material = SubResource( 6 ) |
| 54 | 54 | draw_pass_1 = SubResource( 7 ) |
| 55 | 55 | |
| 56 | 56 | [node name="OmniLight" type="OmniLight" parent="."] |
| 57 | transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00670671, 0, 0.00680065 ) | |
| 57 | 58 | light_color = Color( 1, 0.901961, 0.560784, 1 ) |
| 58 | 59 | light_energy = 2.0 |
| … | … | @@ -0,0 +1,54 @@ |
| 1 | [gd_scene load_steps=11 format=2] | |
| 2 | ||
| 3 | [ext_resource path="res://assets/shaders/FireMask.png" type="Texture" id=1] | |
| 4 | [ext_resource path="res://assets/shaders/HoleNoise.png" type="Texture" id=2] | |
| 5 | [ext_resource path="res://assets/shaders/stylized_fire.shader" type="Shader" id=3] | |
| 6 | ||
| 7 | [sub_resource type="ShaderMaterial" id=1] | |
| 8 | shader = ExtResource( 3 ) | |
| 9 | shader_param/emission_intensity = 2.0 | |
| 10 | shader_param/time_scale = 3.0 | |
| 11 | shader_param/texture_scale = Vector2( 1, 1 ) | |
| 12 | shader_param/edge_softness = 0.1 | |
| 13 | shader_param/noise_texture = ExtResource( 2 ) | |
| 14 | shader_param/texture_mask = ExtResource( 1 ) | |
| 15 | ||
| 16 | [sub_resource type="Gradient" id=2] | |
| 17 | colors = PoolColorArray( 0.980957, 0.801817, 0, 1, 1, 0, 0.447059, 0 ) | |
| 18 | ||
| 19 | [sub_resource type="GradientTexture" id=3] | |
| 20 | gradient = SubResource( 2 ) | |
| 21 | width = 128 | |
| 22 | ||
| 23 | [sub_resource type="Curve" id=4] | |
| 24 | _data = [ Vector2( 0, 0 ), 0.0, 3.65289, 0, 0, Vector2( 0.556561, 1 ), 0.0, 0.0, 0, 0 ] | |
| 25 | ||
| 26 | [sub_resource type="CurveTexture" id=5] | |
| 27 | width = 128 | |
| 28 | curve = SubResource( 4 ) | |
| 29 | ||
| 30 | [sub_resource type="ParticlesMaterial" id=6] | |
| 31 | lifetime_randomness = 0.81 | |
| 32 | direction = Vector3( 0, 1, 0 ) | |
| 33 | spread = 0.0 | |
| 34 | gravity = Vector3( 0, 0, 0 ) | |
| 35 | initial_velocity = 0.5 | |
| 36 | linear_accel = 4.0 | |
| 37 | scale = 2.0 | |
| 38 | scale_random = 1.0 | |
| 39 | scale_curve = SubResource( 5 ) | |
| 40 | color_ramp = SubResource( 3 ) | |
| 41 | ||
| 42 | [sub_resource type="QuadMesh" id=7] | |
| 43 | size = Vector2( 0.5, 0.5 ) | |
| 44 | ||
| 45 | [node name="Fire" type="Particles"] | |
| 46 | transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.26708, 0 ) | |
| 47 | material_override = SubResource( 1 ) | |
| 48 | cast_shadow = 0 | |
| 49 | amount = 50 | |
| 50 | randomness = 0.74 | |
| 51 | local_coords = false | |
| 52 | draw_order = 1 | |
| 53 | process_material = SubResource( 6 ) | |
| 54 | draw_pass_1 = SubResource( 7 ) |
| … | … | @@ -1,8 +1,9 @@ |
| 1 | [gd_scene load_steps=6 format=2] | |
| 1 | [gd_scene load_steps=7 format=2] | |
| 2 | 2 | |
| 3 | 3 | [ext_resource path="res://game/player/player_core.tscn" type="PackedScene" id=1] |
| 4 | 4 | [ext_resource path="res://game/player/player_core_local_input.gd" type="Script" id=2] |
| 5 | 5 | [ext_resource path="res://game/player/player_core_local_input_special.gd" type="Script" id=3] |
| 6 | [ext_resource path="res://assets/shaders/HeadFire.tscn" type="PackedScene" id=4] | |
| 6 | 7 | [ext_resource path="res://game/player/player_core_local_debugui.tscn" type="PackedScene" id=5] |
| 7 | 8 | [ext_resource path="res://assets/sounds/player/fire_grapplinghook1.mp3" type="AudioStream" id=9] |
| 8 | 9 | |
| … | … | @@ -34,6 +35,14 @@ far = 8192.0 |
| 34 | 35 | |
| 35 | 36 | [node name="PlayerDebugUI" parent="." index="7" instance=ExtResource( 5 )] |
| 36 | 37 | |
| 38 | [node name="OmniLight" parent="." index="9"] | |
| 39 | transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.73959, 0 ) | |
| 40 | light_color = Color( 1, 0.901961, 0.560784, 1 ) | |
| 41 | omni_attenuation = 4.75683 | |
| 42 | ||
| 43 | [node name="Fire" parent="OmniLight" index="0" instance=ExtResource( 4 )] | |
| 44 | transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.123843, 0 ) | |
| 45 | ||
| 37 | 46 | [connection signal="player_jump" from="Input" to="." method="_on_Input_player_jump"] |
| 38 | 47 | [connection signal="player_mousemotion_event" from="Input" to="." method="_on_Input_player_mousemotion_event"] |
| 39 | 48 | [connection signal="player_move" from="Input" to="." method="_on_Input_player_move"] |