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
09abd8d2
authored
Apr 24, 2025
by
Jaime de la Chica Bergillos
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Mas visual cues en la cama
parent
e73706be
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
4 deletions
Executable
Historia.cpp
PantallaCama.cpp
assets/cama.png
assets/puzleMover.jpeg
Executable
View file @
09abd8d2
No preview for this file type
Historia.cpp
View file @
09abd8d2
...
...
@@ -62,7 +62,7 @@ static Objeto generarObjetoPuerta() {
play_video
(
"assets/LaPuertaEstaCerrada"
,
"es"
);
return
false
;
};
Sprite
sprPuerta
(
"assets/
camino
Inventado.png"
);
Sprite
sprPuerta
(
"assets/
spr
Inventado.png"
);
Hitbox
hitPuerta
(
1000000
,
-
10000000
,
350
,
0
);
Objeto
Puerta
(
sprPuerta
,
sprPuerta
,
sprPuerta
,
hitPuerta
,
0
,
0
,
0
,
0
,
normal
,
funcionPuerta
);
return
Puerta
;
...
...
@@ -252,13 +252,13 @@ static void iniciarLlaveVista(){
getPantalla1
()
->
anadirObjeto
(
llave
);
Sprite
sprCama
(
"assets/
rutaInventad
a.png"
);
Sprite
sprCama
(
"assets/
cam
a.png"
);
Hitbox
hitCama
(
800
,
760
,
10000000
,
-
10000000
);
auto
funcionCama
=
[](
Objeto
*
Cama
,
Handle
&
handle
)
->
bool
{
handle
.
addPantalla
(
getPantallaCama
());
return
false
;
};
Objeto
cama
(
sprCama
,
sprCama
,
sprCama
,
hitCama
,
100
,
150
,
50
,
5
0
,
normal
,
funcionCama
);
Objeto
cama
(
sprCama
,
sprCama
,
sprCama
,
hitCama
,
950
,
500
,
250
,
40
0
,
normal
,
funcionCama
);
getPantalla1
()
->
anadirObjeto
(
llave
);
getPantalla1
()
->
anadirObjeto
(
cama
);
...
...
PantallaCama.cpp
View file @
09abd8d2
...
...
@@ -133,7 +133,8 @@ void PantallaCama::renderizar(SDL_Renderer *renderer, int tamx, int tamy) {
obstaculos
[
7
].
renderizar
(
renderer
,
1090
,
250
,
170
,
170
,
tamx
,
tamy
);
mano
.
renderizar_cola
(
renderer
,
tamx
,
tamy
);
mano
.
renderizar
(
renderer
,
tamx
,
tamy
);
Sprite
brazoExtra
(
"assets/brazoArriba.png"
);
brazoExtra
.
renderizar
(
renderer
,
870
,
830
,
170
,
170
,
tamx
,
tamy
);
atras
.
renderizar
(
renderer
,
tamx
,
tamy
);
reiniciar
.
renderizar
(
renderer
,
tamx
,
tamy
);
...
...
assets/cama.png
0 → 100644
View file @
09abd8d2
65.1 KB
assets/puzleMover.jpeg
View file @
09abd8d2
1.15 MB
|
W:
|
H:
1.17 MB
|
W:
|
H:
2-up
Swipe
Onion skin
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