EndScreen
This commit is contained in:
parent
c8a10968dc
commit
406bd89f7c
BIN
Audio/music01.wav
Executable file
BIN
Audio/music01.wav
Executable file
Binary file not shown.
23
Audio/music01.wav.import
Normal file
23
Audio/music01.wav.import
Normal file
@ -0,0 +1,23 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamSample"
|
||||
path="res://.import/music01.wav-991659a267f03a2aa8300804daceb76d.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Audio/music01.wav"
|
||||
dest_files=[ "res://.import/music01.wav-991659a267f03a2aa8300804daceb76d.sample" ]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=0
|
4
HUD.tscn
4
HUD.tscn
@ -6,7 +6,7 @@
|
||||
[ext_resource path="res://Audio/menumusic.ogg" type="AudioStream" id=4]
|
||||
[ext_resource path="res://Options.gd" type="Script" id=5]
|
||||
|
||||
[sub_resource type="DynamicFont" id=4]
|
||||
[sub_resource type="DynamicFont" id=12]
|
||||
size = 19
|
||||
outline_size = 2
|
||||
outline_color = Color( 0, 0, 0, 1 )
|
||||
@ -15,7 +15,7 @@ use_filter = true
|
||||
font_data = ExtResource( 3 )
|
||||
|
||||
[sub_resource type="Theme" id=8]
|
||||
default_font = SubResource( 4 )
|
||||
default_font = SubResource( 12 )
|
||||
|
||||
[sub_resource type="Shader" id=6]
|
||||
code = "shader_type canvas_item;
|
||||
|
@ -5,7 +5,7 @@ extends Spatial
|
||||
# var a = 2
|
||||
# var b = "text"
|
||||
var enemycount = 1
|
||||
onready var NEXTSCENE = "res://Levels/Level10.tscn"
|
||||
onready var NEXTSCENE = "res://Scenes/End.tscn"
|
||||
|
||||
onready var WinMess = $Messages/Win
|
||||
onready var EndTimer = $End
|
||||
|
65
Scenes/End.tscn
Normal file
65
Scenes/End.tscn
Normal file
@ -0,0 +1,65 @@
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://fonts/TorontoSubwayRegular.ttf" type="DynamicFontData" id=1]
|
||||
[ext_resource path="res://Spatial.gd" type="Script" id=2]
|
||||
[ext_resource path="res://Audio/music01.wav" type="AudioStream" id=3]
|
||||
|
||||
[sub_resource type="DynamicFont" id=5]
|
||||
size = 88
|
||||
outline_size = 5
|
||||
outline_color = Color( 0, 0, 0, 1 )
|
||||
use_filter = true
|
||||
font_data = ExtResource( 1 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=4]
|
||||
size = 19
|
||||
outline_size = 2
|
||||
outline_color = Color( 0, 0, 0, 1 )
|
||||
use_mipmaps = true
|
||||
use_filter = true
|
||||
font_data = ExtResource( 1 )
|
||||
|
||||
[sub_resource type="Theme" id=6]
|
||||
default_font = SubResource( 4 )
|
||||
|
||||
[node name="Spatial" type="Spatial"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Control"]
|
||||
margin_right = 1916.0
|
||||
margin_bottom = 1084.0
|
||||
color = Color( 0.109804, 0.054902, 0.054902, 1 )
|
||||
|
||||
[node name="Title" type="Label" parent="Control"]
|
||||
margin_left = 532.0
|
||||
margin_top = 353.0
|
||||
margin_right = 1414.0
|
||||
margin_bottom = 455.0
|
||||
custom_fonts/font = SubResource( 5 )
|
||||
text = "FIRST PERSON SLAPPER"
|
||||
|
||||
[node name="Level" type="Label" parent="Control"]
|
||||
margin_left = 493.0
|
||||
margin_top = 345.0
|
||||
margin_right = 1414.0
|
||||
margin_bottom = 526.0
|
||||
theme = SubResource( 6 )
|
||||
text = "You have been playing"
|
||||
align = 1
|
||||
|
||||
[node name="Level2" type="Label" parent="Control"]
|
||||
margin_left = 493.0
|
||||
margin_top = 498.0
|
||||
margin_right = 1414.0
|
||||
margin_bottom = 526.0
|
||||
theme = SubResource( 6 )
|
||||
text = "Thank you!"
|
||||
align = 1
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 3 )
|
||||
autoplay = true
|
17
Spatial.gd
Normal file
17
Spatial.gd
Normal file
@ -0,0 +1,17 @@
|
||||
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():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _input(event):
|
||||
if event is InputEventKey and event.pressed:
|
||||
get_tree().quit()
|
Loading…
Reference in New Issue
Block a user