Aggiungi schermata istruzioni testuale (font IBM)
Schermata istruzioni mostrata all'inizio del livello 1, chiudibile con B, ri-apribile in gioco con SELECT. Testo con font IBM (stesso pattern del finale game_over==3 e della sconfitta game_over==1). Contenuto: titolo, obiettivo (find the hatch), controlli (DPAD walk, A jump abyss, B run), istruzioni di chiusura (press B, select help). Per fare spazio: rimosso claimed.png (schermata di morte ora testuale con lo stesso font, stesso pattern del finale).
This commit is contained in:
@@ -9,7 +9,7 @@ SCRIPTS_DIR = scripts
|
||||
BUILD_DIR = build
|
||||
|
||||
# C source files
|
||||
SRCS = $(SRC_DIR)/main.c $(SRC_DIR)/engine.c $(SRC_DIR)/globals.c $(SRC_DIR)/maze.c $(SRC_DIR)/sound.c $(SRC_DIR)/render.c $(SRC_DIR)/player_logic.c $(SRC_DIR)/enemy_logic.c $(SRC_DIR)/tiles.c $(SRC_DIR)/player.c $(SRC_DIR)/enemy.c $(SRC_DIR)/gameover.c $(SRC_DIR)/stamina.c $(SRC_DIR)/level.c $(SRC_DIR)/claimed.c $(SRC_DIR)/title_bg.c
|
||||
SRCS = $(SRC_DIR)/main.c $(SRC_DIR)/engine.c $(SRC_DIR)/globals.c $(SRC_DIR)/maze.c $(SRC_DIR)/sound.c $(SRC_DIR)/render.c $(SRC_DIR)/player_logic.c $(SRC_DIR)/enemy_logic.c $(SRC_DIR)/tiles.c $(SRC_DIR)/player.c $(SRC_DIR)/enemy.c $(SRC_DIR)/gameover.c $(SRC_DIR)/stamina.c $(SRC_DIR)/level.c $(SRC_DIR)/title_bg.c
|
||||
|
||||
all: $(BUILD_DIR)/hello_iso.gb $(BUILD_DIR)/test_gameover.gb $(BUILD_DIR)/test_finale.gb
|
||||
|
||||
@@ -29,7 +29,6 @@ generate_c_assets: generate_images
|
||||
$(PNG2ASSET) $(ASSETS_DIR)/stamina.png -c $(SRC_DIR)/stamina.c -bpp 2 -noflip -keep_palette_order
|
||||
$(PNG2ASSET) $(ASSETS_DIR)/level.png -c $(SRC_DIR)/level.c -sw 8 -sh 16 -bpp 2 -noflip -keep_palette_order -keep_duplicate_tiles
|
||||
$(PNG2ASSET) $(ASSETS_DIR)/title_bg.png -c $(SRC_DIR)/title_bg.c -map -bpp 2 -noflip -keep_palette_order -max_palettes 1
|
||||
$(PNG2ASSET) $(ASSETS_DIR)/claimed.png -c $(SRC_DIR)/claimed.c -map -bpp 2 -noflip -max_palettes 1
|
||||
|
||||
# Main ROM target
|
||||
$(BUILD_DIR)/hello_iso.gb: generate_c_assets $(SRCS)
|
||||
@@ -53,5 +52,4 @@ clean:
|
||||
rm -f $(SRC_DIR)/gameover.c $(SRC_DIR)/gameover.h
|
||||
rm -f $(SRC_DIR)/stamina.c $(SRC_DIR)/stamina.h
|
||||
rm -f $(SRC_DIR)/level.c $(SRC_DIR)/level.h
|
||||
rm -f $(SRC_DIR)/claimed.c $(SRC_DIR)/claimed.h
|
||||
rm -f $(SRC_DIR)/title_bg.c $(SRC_DIR)/title_bg.h
|
||||
|
||||
Reference in New Issue
Block a user