intro cutscene
This commit is contained in:
parent
0f8f737bc0
commit
608c4a73c7
4 changed files with 279 additions and 4 deletions
|
|
@ -10,9 +10,7 @@ var start_time_msec := 0
|
||||||
|
|
||||||
static func start_game() -> void:
|
static func start_game() -> void:
|
||||||
if level:
|
if level:
|
||||||
level.active = true
|
level._start_sequence()
|
||||||
level.level_started.emit()
|
|
||||||
level.start_time_msec = Time.get_ticks_msec()
|
|
||||||
|
|
||||||
|
|
||||||
static func is_active() -> bool:
|
static func is_active() -> bool:
|
||||||
|
|
@ -21,6 +19,14 @@ static func is_active() -> bool:
|
||||||
else:
|
else:
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
func _start_sequence() -> void:
|
||||||
|
%IntroCutscene.play("intro_cutscene")
|
||||||
|
|
||||||
|
func _anim_intro_cutscene_done() -> void:
|
||||||
|
level.active = true
|
||||||
|
level.level_started.emit()
|
||||||
|
level.start_time_msec = Time.get_ticks_msec()
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
%ResultsScreen.hide()
|
%ResultsScreen.hide()
|
||||||
level = self
|
level = self
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
BIN
models/ticket.glb
Normal file
BIN
models/ticket.glb
Normal file
Binary file not shown.
42
models/ticket.glb.import
Normal file
42
models/ticket.glb.import
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://d4lnd0ashda7l"
|
||||||
|
path="res://.godot/imported/ticket.glb-263b8bce55f6773da5ee01210a539bb7.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/ticket.glb"
|
||||||
|
dest_files=["res://.godot/imported/ticket.glb-263b8bce55f6773da5ee01210a539bb7.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/root_script=null
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_name_suffixes=true
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/naming_version=2
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
Loading…
Add table
Add a link
Reference in a new issue