Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
José Pardo Madera
/
ProjectoMultimeda2025
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9c70e27d
authored
Mar 27, 2025
by
Jaime de la Chica Bergillos
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Estado funcionales
parent
43ca362e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
Executable
Historia.cpp
assets/MiedoCalendario2_es.vtt
Executable
View file @
9c70e27d
No preview for this file type
Historia.cpp
View file @
9c70e27d
...
...
@@ -17,6 +17,7 @@ void Historia::limpiarEstado(){
};
static
void
iniciarInicio
()
{
Sprite
sprPantalla
(
"assets/pantalla.png"
);
Hitbox
hitPantalla
(
300
,
200
,
500
,
-
1000000000
);
...
...
@@ -31,6 +32,18 @@ static void iniciarInicio() {
getPantalla1
()
->
anadirObjeto
(
Pantalla
);
}
static
void
iniciarCalendarioVisto
(){
Sprite
sprPantalla
(
"assets/pantalla.png"
);
Hitbox
hitPantalla
(
300
,
200
,
500
,
-
1000000
);
auto
funcionPantalla
=
[](
Objeto
*
Pantalla
)
->
bool
{
play_video
(
"assets/MiedoCalendario2"
,
"es"
);
return
false
;
};
Objeto
Pantalla
(
sprPantalla
,
sprPantalla
,
sprPantalla
,
hitPantalla
,
0
,
100
,
400
,
400
,
normal
,
funcionPantalla
);
getPantalla1
()
->
anadirObjeto
(
Pantalla
);
}
void
Historia
::
siguienteEstado
(
Secuencia
estado
){
switch
(
estado
){
case
Inicio
:
...
...
@@ -38,6 +51,7 @@ void Historia::siguienteEstado(Secuencia estado){
break
;
case
CalendarioVisto
:
iniciarCalendarioVisto
();
break
;
case
CalendarioQuitado
:
...
...
assets/MiedoCalendario2_es.vtt
0 → 100755
View file @
9c70e27d
WEBVTT
1
00:00:00.550 --> 00:00:05.000
No puedo pasar
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment