Compare commits
4 Commits
v0.5
...
fe117631f2
| Author | SHA1 | Date | |
|---|---|---|---|
| fe117631f2 | |||
| a417f6cb3d | |||
| 61d6338c8d | |||
| fb322f7e7b |
15
README.md
15
README.md
@@ -2,4 +2,17 @@
|
||||
|
||||
Volcano es un juego de plataformas y aventuras que transcurre en una isla. Se empezó a programar en Pascal en 2016 y acabó abandonado debido a la magnitud del proyecto por aquel entonces y a la falta de una idea clara de cómo afrontar el diseño final del juego.
|
||||
|
||||
Esta es la versión inacabada de 2016 tal y como se quedó, pero portada a C++.
|
||||
Esta es la versión inacabada de 2016 tal y como se quedó, pero portada a C++.
|
||||
|
||||
## Tecles
|
||||
* Cursors: Moure al jugador
|
||||
* F: Cambia a pantalla completa
|
||||
* ESC: Eixir al menu
|
||||
* F1: Activa el modo debug
|
||||
* F2: Activa el filtro d'imatge
|
||||
* T: Activa la habitació de test
|
||||
* H: Dona 255 vides i activa/desactiva la invencibilitat
|
||||
* G: Modifica la gravetat
|
||||
* Z: Mou al jugador cap amunt (util si no hi ha gravetat)
|
||||
* X: Mou al jugador cap avall (util si no hi ha gravetat)
|
||||
* W,A,S,D: Canvia d'habitació
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -874,7 +874,7 @@ void IniPlayer()
|
||||
player.jump_pressed_now = false;
|
||||
player.jump_pressed_before = false;
|
||||
player.standing = true;
|
||||
player.invulnerable = true;
|
||||
player.invulnerable = false;
|
||||
player.jumpforce = 10;
|
||||
player.active_animation = 0;
|
||||
player.enabled = true;
|
||||
@@ -1962,9 +1962,9 @@ void IniProgram()
|
||||
event = new SDL_Event();
|
||||
|
||||
prog.music_enabled = true;
|
||||
prog.filter = false;
|
||||
prog.filter = true;
|
||||
SetProgSection(SECTION_MENU);
|
||||
prog.debug = true;
|
||||
prog.debug = false;
|
||||
|
||||
/*if (prog.music_enabled) // [TODO] Jail_Audio encara no permet canviar el volum
|
||||
Mix_VolumeMusic(100);
|
||||
@@ -2008,7 +2008,7 @@ int main(int argc, char *args[])
|
||||
setExecutablePath(args[0]);
|
||||
|
||||
// Inicializa el audio
|
||||
JA_Init(22050, AUDIO_S16SYS, 2);
|
||||
JA_Init(44100, AUDIO_S16, 2);
|
||||
|
||||
allocatePointers();
|
||||
|
||||
|
||||
36
sync.sh
36
sync.sh
@@ -1,36 +0,0 @@
|
||||
#!/bin/bash
|
||||
readonly PROJECT=volcano_old
|
||||
|
||||
readonly USAGE="
|
||||
USAGE:
|
||||
$(basename "$0") [UPLOAD or DOWNLOAD]"
|
||||
|
||||
function help_message() {
|
||||
echo "$USAGE"
|
||||
}
|
||||
|
||||
PARAMETERS="UPLOAD DOWNLOAD upload download"
|
||||
|
||||
# check if there are all the parameters
|
||||
if [ "$#" -ne 1 ]; then
|
||||
help_message
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# check if the systems parameter is valid
|
||||
if ! echo "$PARAMETERS" | grep -w "$1" >/dev/null; then
|
||||
help_message
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# UPLOAD
|
||||
if [ "$1" = upload ] || [ "$1" = UPLOAD ]; then
|
||||
printf "\n%s\n" "uploading $PROJECT"
|
||||
rsync -azmPu --delete -e 'ssh -p 4545' . sergio@sustancia.synology.me:/home/sergio/backup/code/$PROJECT/
|
||||
rsync -azmPu -e 'ssh -p 4545' . sergio@sustancia.synology.me:/home/sergio/backup/code/$PROJECT.all/
|
||||
fi
|
||||
|
||||
if [ "$1" = download ] || [ "$1" = DOWNLOAD ]; then
|
||||
printf "%s\n" "downloading $PROJECT"
|
||||
rsync -azmP --delete -e 'ssh -p 4545' sergio@sustancia.synology.me:/home/sergio/backup/code/$PROJECT/* .
|
||||
fi
|
||||
Reference in New Issue
Block a user