escape ending
This commit is contained in:
		
							parent
							
								
									2b021e2f43
								
							
						
					
					
						commit
						49c50c0baa
					
				
					 3 changed files with 104 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -216,7 +216,7 @@
 | 
			
		|||
			"set_value": "true"
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			"change_scene": "",
 | 
			
		||||
			"change_scene": "res://screens/escape_ending.tscn",
 | 
			
		||||
			"event_id": "dialogic_041"
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										16
									
								
								godot/screens/escape_ending.gd
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								godot/screens/escape_ending.gd
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,16 @@
 | 
			
		|||
extends Spatial
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Declare member variables here. Examples:
 | 
			
		||||
# var a = 2
 | 
			
		||||
# var b = "text"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Called when the node enters the scene tree for the first time.
 | 
			
		||||
func _ready():
 | 
			
		||||
	$blackscreen.visible = false
 | 
			
		||||
	var dialog = Dialogic.start("end")
 | 
			
		||||
	add_child(dialog)
 | 
			
		||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
 | 
			
		||||
#func _process(delta):
 | 
			
		||||
#	pass
 | 
			
		||||
							
								
								
									
										87
									
								
								godot/screens/escape_ending.tscn
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										87
									
								
								godot/screens/escape_ending.tscn
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,87 @@
 | 
			
		|||
[gd_scene load_steps=10 format=2]
 | 
			
		||||
 | 
			
		||||
[ext_resource path="res://effects/WorldEnvironment.tscn" type="PackedScene" id=1]
 | 
			
		||||
[ext_resource path="res://effects/grainy_shader.tscn" type="PackedScene" id=2]
 | 
			
		||||
[ext_resource path="res://assets/meat_bore/meat_tunnel_top.tscn" type="PackedScene" id=3]
 | 
			
		||||
[ext_resource path="res://assets/meat_bore/meat_module/level_lee.tscn" type="PackedScene" id=4]
 | 
			
		||||
[ext_resource path="res://screens/escape_ending.gd" type="Script" id=5]
 | 
			
		||||
[ext_resource path="res://assets/Starbox3.png" type="Texture" id=6]
 | 
			
		||||
 | 
			
		||||
[sub_resource type="Animation" id=1]
 | 
			
		||||
resource_name = "camera pan"
 | 
			
		||||
length = 10.0
 | 
			
		||||
tracks/0/type = "transform"
 | 
			
		||||
tracks/0/path = NodePath("Camera")
 | 
			
		||||
tracks/0/interp = 1
 | 
			
		||||
tracks/0/loop_wrap = true
 | 
			
		||||
tracks/0/imported = false
 | 
			
		||||
tracks/0/enabled = true
 | 
			
		||||
tracks/0/keys = PoolRealArray( 0, 1, -46.689, 16.1053, -2.91671, 0, -0.707107, 0, 0.707107, 1, 1, 1, 2, 1, -34.2336, 16.1053, -2.91671, 0, -0.707107, 0, 0.707107, 1, 1, 1, 3, 1, -25.3341, 16.1053, -2.91671, -0.183013, -0.683013, -0.183013, 0.683013, 1, 1, 1, 5, 1, -8.57989, 16.1053, -2.91671, -0.430459, -0.560986, -0.430459, 0.560986, 1, 1, 1, 7.5, 1, -8.57989, 9.14282, -2.91671, -0.430459, -0.560986, -0.430459, 0.560986, 1, 1, 1, 10, 1, -8.57989, -34.7238, -2.91671, -0.430459, -0.560985, -0.430459, 0.560985, 1, 1, 1 )
 | 
			
		||||
tracks/1/type = "value"
 | 
			
		||||
tracks/1/path = NodePath("blackscreen:visible")
 | 
			
		||||
tracks/1/interp = 1
 | 
			
		||||
tracks/1/loop_wrap = true
 | 
			
		||||
tracks/1/imported = false
 | 
			
		||||
tracks/1/enabled = true
 | 
			
		||||
tracks/1/keys = {
 | 
			
		||||
"times": PoolRealArray( 0, 9.8 ),
 | 
			
		||||
"transitions": PoolRealArray( 1, 2.82843 ),
 | 
			
		||||
"update": 1,
 | 
			
		||||
"values": [ false, true ]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
[sub_resource type="PanoramaSky" id=2]
 | 
			
		||||
panorama = ExtResource( 6 )
 | 
			
		||||
 | 
			
		||||
[sub_resource type="Environment" id=3]
 | 
			
		||||
background_mode = 2
 | 
			
		||||
background_sky = SubResource( 2 )
 | 
			
		||||
ambient_light_color = Color( 0.329412, 0.231373, 0.231373, 1 )
 | 
			
		||||
ambient_light_sky_contribution = 0.0
 | 
			
		||||
fog_enabled = true
 | 
			
		||||
fog_color = Color( 0.0117647, 0.0156863, 0.0156863, 1 )
 | 
			
		||||
fog_sun_color = Color( 0.639216, 0.541176, 0.345098, 1 )
 | 
			
		||||
fog_depth_begin = 0.0
 | 
			
		||||
fog_depth_end = 73.5
 | 
			
		||||
fog_depth_curve = 0.933033
 | 
			
		||||
fog_transmit_enabled = true
 | 
			
		||||
fog_transmit_curve = 1.03526
 | 
			
		||||
auto_exposure_min_luma = 0.58
 | 
			
		||||
auto_exposure_max_luma = 4.5
 | 
			
		||||
auto_exposure_speed = 0.63
 | 
			
		||||
ssao_enabled = true
 | 
			
		||||
ssao_radius2 = 2.0
 | 
			
		||||
ssao_bias = 0.05
 | 
			
		||||
dof_blur_far_distance = 5.0
 | 
			
		||||
dof_blur_near_enabled = true
 | 
			
		||||
dof_blur_near_distance = 1.33
 | 
			
		||||
dof_blur_near_amount = 0.66
 | 
			
		||||
dof_blur_near_quality = 2
 | 
			
		||||
glow_enabled = true
 | 
			
		||||
glow_bloom = 1.0
 | 
			
		||||
 | 
			
		||||
[node name="escape_ending" type="Spatial"]
 | 
			
		||||
script = ExtResource( 5 )
 | 
			
		||||
 | 
			
		||||
[node name="meat_tunnel_top" parent="." instance=ExtResource( 3 )]
 | 
			
		||||
 | 
			
		||||
[node name="shader" parent="." instance=ExtResource( 2 )]
 | 
			
		||||
 | 
			
		||||
[node name="level_lee" parent="." instance=ExtResource( 4 )]
 | 
			
		||||
 | 
			
		||||
[node name="Camera" type="Camera" parent="."]
 | 
			
		||||
transform = Transform( 0, 0, -1, 0, 1, 0, 1, 0, 0, -46.689, 16.1053, -2.91671 )
 | 
			
		||||
 | 
			
		||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
 | 
			
		||||
autoplay = "camera pan"
 | 
			
		||||
"anims/camera pan" = SubResource( 1 )
 | 
			
		||||
 | 
			
		||||
[node name="blackscreen" type="ColorRect" parent="."]
 | 
			
		||||
visible = false
 | 
			
		||||
anchor_right = 1.0
 | 
			
		||||
anchor_bottom = 1.0
 | 
			
		||||
mouse_filter = 2
 | 
			
		||||
color = Color( 0, 0, 0, 1 )
 | 
			
		||||
 | 
			
		||||
[node name="LessFogWorldEnvironment" parent="." instance=ExtResource( 1 )]
 | 
			
		||||
environment = SubResource( 3 )
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue