Commit Graph

1513 Commits

Author SHA1 Message Date
Adrien Ufferte cf46d84b56 Debug highlight fx system 2026-04-24 12:06:13 +02:00
Adrien Ufferte a37dbd9dd7 Merge pull request #310 from Excello-Recherche-Education/debug-difficulty
Debug difficulty system
2026-04-24 11:09:07 +02:00
Adrien Ufferte 1d387d1ea6 Debug difficulty system 2026-04-24 10:41:40 +02:00
Adrien Ufferte a1faf7e154 Merge pull request #309 from Excello-Recherche-Education/add-moving-clouds
Add moving clouds
2026-04-24 09:24:18 +02:00
Adrien Ufferte d4c883da47 Add moving clouds to penguin minigame 2026-04-23 17:09:06 +02:00
Adrien Ufferte 9c6ffa1b28 Add clouds to monkeys minigame 2026-04-23 17:03:11 +02:00
Adrien Ufferte 0a51a42410 Merge pull request #308 from Excello-Recherche-Education/optimize-monkeys-minigame
Optimize monkeys minigame
2026-04-23 16:54:39 +02:00
Adrien Ufferte 3c4d85f032 Nomenclature 2026-04-23 16:43:33 +02:00
Adrien Ufferte 915b6c45ee Further optimize monkeys initialization 2026-04-23 16:33:24 +02:00
Adrien Ufferte d2b406da06 Optimize monkey architecture for coconut and fx 2026-04-23 16:09:35 +02:00
Adrien Ufferte bac87eb46a Add frame delay in _setup_minigame() to optimize minigame loading and avoid ram overload 2026-04-23 15:49:36 +02:00
Adrien Ufferte 3d8399a341 Merge pull request #307 from Excello-Recherche-Education/Improve-boss-score-gauge
Better color and special effect when victory threshold reached
2026-04-23 15:17:35 +02:00
Adrien Ufferte 72c01cc338 Better color and special effect when victory threshold reached 2026-04-23 15:15:01 +02:00
Adrien Ufferte 00face5e26 Merge pull request #306 from Excello-Recherche-Education/ants-sentence-position
Ants sentence position
2026-04-23 13:56:24 +02:00
Adrien Ufferte d9a1a35e13 Debug long sentences and background positioning 2026-04-23 12:02:33 +02:00
Adrien Ufferte 8e58ad537f Center sentence 2026-04-23 12:02:14 +02:00
Adrien Ufferte 195f2305d5 Position lower and more to the right 2026-04-23 11:30:56 +02:00
Adrien Ufferte a71f451ecc Merge pull request #305 from Excello-Recherche-Education/ants-travel-together
Ants spawn all at once and travel together
2026-04-23 11:22:10 +02:00
Adrien Ufferte b307c86e4f Ants spawn all at once and travel together 2026-04-23 11:19:50 +02:00
Adrien Ufferte 9bc76488c0 Merge pull request #304 from Excello-Recherche-Education/debug-sparks-fx
Sparks fx now appears correctly on the "first" video button of look a…
2026-04-23 10:40:19 +02:00
Adrien Ufferte 9d518d038f Sparks fx now appears correctly on the "first" video button of look and learn. 2026-04-23 10:36:35 +02:00
Adrien Ufferte 193ac84e15 Merge pull request #303 from Excello-Recherche-Education/dev-option-larger-input
Larger button for developer menu
2026-04-20 12:09:34 +02:00
Adrien Ufferte 9afd95213a Larger button for developer menu 2026-04-20 12:00:47 +02:00
Adrien Ufferte 32ecaf698a Merge pull request #302 from Excello-Recherche-Education/readable-login-error
Readable login error
2026-04-20 11:10:48 +02:00
Adrien Ufferte 5e6ddf3f53 Debug gut tests 2026-04-20 10:53:25 +02:00
Adrien Ufferte 5e8807a664 GUT tests 2026-04-20 10:36:17 +02:00
Adrien Ufferte f61639f9ae Reset password button only show if password is invalid and hides in other cases 2026-04-20 09:51:41 +02:00
Adrien Ufferte 5797c040d7 Make login error readable for frontend/backend 2026-04-20 09:32:07 +02:00
Adrien Ufferte bbc0cd449a Merge pull request #301 from Excello-Recherche-Education/reset-language
Add CHANGE_LANGUAGE feature to teacher settings
2026-04-20 09:09:00 +02:00
Adrien Ufferte 790260e2fd Add CHANGE_LANGUAGE feature to teacher settings
Reorders the left sidebar so risky actions sit at the bottom with a gap:
Dashboard, Synchronize, Logout | Change Language (red), Delete Account.

The new Change Language button opens a warning popup with a language
dropdown. On confirm, if the selected locale differs from the current
one, the client calls POST /reset_language. On success it wipes the
local teacher folder (progression, remediation, confusion matrix…),
applies the new language to device and teacher settings, logs out and
reloads from the splash screen. On error the user sees an error popup
and nothing local changes.
2026-04-17 16:38:00 +02:00
Adrien Ufferte ee6d7d9626 Merge pull request #300 from Excello-Recherche-Education/new-gardens
New gardens
2026-04-17 10:22:57 +02:00
Adrien Ufferte c6f7ef833d Cleaning 2026-04-17 10:10:58 +02:00
Adrien Ufferte e169f066ac Clean github checks 2026-04-17 09:35:06 +02:00
Adrien Ufferte 9413c1fd89 reload base_step scene 2026-04-16 16:57:10 +02:00
Adrien Ufferte d3d5565b2a Debug unit test account creation language selection 2026-04-16 16:52:50 +02:00
Adrien Ufferte 5fc11072e5 Small fixes 2026-04-16 16:12:26 +02:00
Adrien Ufferte af6ae59120 Clean nomenclature 2026-04-16 15:57:40 +02:00
Adrien Ufferte b1edce3fa4 Remove placeholder background colors from gardens 06-12
Background colors are set manually in the editor, not by code.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 15:45:31 +02:00
Adrien Ufferte 803e163de8 Set background color directly on Background node in garden scenes
Removed code-side background.modulate override from set_background() —
background tint is now baked into each scene's Background node. Gardens
06-12 use placeholder colors pending final design specs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 15:42:40 +02:00
Adrien Ufferte e3dda5e8b0 Set correct colors and titles for gardens 01-05 from design specs
Blue Jellyfish, Purple Turtle, Ant, Crab, Yellow Parakeet gardens
now use the final color values from the design spreadsheet.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 15:38:10 +02:00
Adrien Ufferte 24d77e19e0 Replace single garden scene with 12 fixed garden scenes with per-garden colors
Each garden (garden_01.tscn through garden_12.tscn) now has its own color
palette for lesson buttons (unlocked/completed fill and text colors).
Lesson count is validated to be between 12 and 60. The old dynamic
duplication of a single garden.tscn is replaced by instantiating the
correct scene per garden index.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 15:35:45 +02:00
Adrien Ufferte 8d0a07f55c cleaning variables 2026-04-16 14:01:31 +02:00
Adrien Ufferte cf49765d67 Fix path lines to read button positions from scene nodes
Path now reads actual button positions and sizes from the visible
LessonButton nodes instead of SLOT_CENTERS constants. This means
editing button positions in the Godot editor automatically updates
the path line.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:54:16 +02:00
Adrien Ufferte 9b90ba6d00 Small fixes 2026-04-16 13:54:16 +02:00
Adrien Ufferte 2b5f5f2e28 Make gardens assets hard-placed instead of generated 2026-04-16 13:54:16 +02:00
Adrien Ufferte aa161cf21e Reduce lesson button size by 20% (300→240px)
Buttons, pivot offsets and font size scaled down proportionally.
Same center positions preserved.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:54:16 +02:00
Adrien Ufferte 884b481d30 Place plants and buttons directly in garden scene
All 8 plants are now TextureRect nodes in garden.tscn instead of being
instantiated at runtime. Positions, sizes and colors are editable
directly in the Godot editor. Buttons were already scene nodes.

Removed _create_plants(), PLANT_LAYOUTS, PLANT_PATH_MODEL and all
runtime instantiation code from garden.gd. Plants container is now
placed between Background and Buttons for correct z-ordering.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:54:16 +02:00
Adrien Ufferte 0a8a725625 Tint garden plants with dark teal (#0a555b) matching mockup
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:54:16 +02:00
Adrien Ufferte 49d5fcd38b Replace old flower system with new plant assets and progressive reveal
- Add 8 garden plant assets (garden_plant_01 to 08) from victory assets
- Remove entire old flower system (FlowerSizes enum, flower generation,
  flower VFX transitions, flower_controls, flowers_visible, flowers_sizes)
- Remove Flower class from GardenLayout
- Plants are created programmatically in Garden._create_plants() at fixed
  positions matching the Explanation.png mockup layout
- All plants hidden by default, revealed progressively based on completed
  minigames ratio: 0 completed = 0 visible, all completed = all 8 visible
- Add lowercase file naming rule to CLAUDE.md
- Fix current_garden lookup to use _get_garden_index_for_lesson instead
  of removed flower_info system

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:54:16 +02:00
Adrien Ufferte 17f5048eb7 Fix: replace removed get_lesson_button_scene with constant size
Button size is fixed at 300x300 in the scene, no need to instantiate
and measure at runtime.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:54:16 +02:00