mirror of
https://github.com/deunix-educ/aventuriers-des-mots.git
synced 2026-10-13 10:21:58 +02:00
97a065879c
Phase "habillage" of the post-0.1.0 plan. Rendering was reviewed on real screenshots (new tools/screenshot.gd, `make screenshot`), which also caught and fixed map markers overlapping and truncated titles. - Global Godot theme (Atkinson Hyperlegible font, cream/green/gold palette, raised buttons, rounded cards, thick keyboard focus). - Original vector art: forest/marsh backdrops, Plume the owl, stars, exercise-type icons, correct/try-again icons, 10 collection items. - Redesigned world map (markers as cards with icon, title and stars, responsive layout), profile screens, mission intro, exercise host, rule/feedback panels, reward screen and collection grid. - Motion helper (pop-in, fade) honouring an animations setting. - Settings: animations flag; base window 1152x648 with canvas_items. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
GODOT_BIN := .godot-bin/godot
|
|
VENV := .venv
|
|
GDLINT := $(VENV)/bin/gdlint
|
|
GDFORMAT := $(VENV)/bin/gdformat
|
|
PYRIGHT := $(VENV)/bin/pyright
|
|
PYTHON := $(VENV)/bin/python3
|
|
GD_SOURCES := autoload scripts tests
|
|
|
|
.PHONY: setup run lint format validate-data test check content-review generate-dictation-audio export-linux export-windows package screenshot
|
|
|
|
setup:
|
|
tools/setup.sh
|
|
|
|
run:
|
|
$(GODOT_BIN) --path .
|
|
|
|
lint:
|
|
$(GDLINT) $(GD_SOURCES)
|
|
$(PYRIGHT) tools/
|
|
|
|
format:
|
|
$(GDFORMAT) $(GD_SOURCES)
|
|
|
|
validate-data:
|
|
$(GODOT_BIN) --headless --path . -s res://scripts/data/validate_data_cli.gd
|
|
|
|
test:
|
|
$(GODOT_BIN) --headless --path . -s res://addons/gut/gut_cmdln.gd -gdir=res://tests -ginclude_subdirs -gexit
|
|
|
|
check: lint validate-data test
|
|
|
|
content-review:
|
|
$(PYTHON) tools/generate_content_review.py
|
|
|
|
generate-dictation-audio:
|
|
$(PYTHON) tools/generate_dictation_audio.py
|
|
|
|
export-linux:
|
|
mkdir -p build/linux
|
|
$(GODOT_BIN) --headless --path . --export-release "Linux" build/linux/aventuriers_des_mots.x86_64
|
|
|
|
export-windows:
|
|
mkdir -p build/windows
|
|
$(GODOT_BIN) --headless --path . --export-release "Windows" build/windows/aventuriers_des_mots.exe
|
|
|
|
package:
|
|
tools/package.sh
|
|
|
|
# Capture d'une scene dans une vraie fenetre (voir tools/screenshot.gd) :
|
|
# make screenshot SCENE=res://scenes/world/world_map.tscn OUT=/tmp/map.png ARGS="CE2"
|
|
screenshot:
|
|
$(GODOT_BIN) --path . -s res://tools/screenshot.gd -- $(SCENE) $(OUT) $(ARGS)
|