1595 Commits

Author SHA1 Message Date
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
Adrien Ufferte b13fe0638d Hard-place 5 lesson buttons in garden scene with show/hide logic
Replace dynamic button instantiation with 5 fixed LessonButton instances
(Slot1-Slot5) positioned at hardcoded coordinates in the garden scene.
Garden._configure_slots() shows/hides slots based on lesson count using
the SLOT_SELECTION mapping (5→all, 4→skip middle, 3→1,3,5, etc.).

- Add error log if lesson count exceeds MAX_LESSONS (5)
- Remove dynamic _ensure_button_controls_count from garden.gd
- Replace position generation functions with SLOT_CENTERS constant
- Buttons are clickable via existing _set_up_lessons signal wiring

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:54:16 +02:00
Adrien Ufferte d45318606b Implement fixed 5-slot diagonal layout for garden lesson buttons
Buttons are placed at 5 fixed positions on a diagonal from bottom-left
to upper-right. When fewer lessons exist, evenly spaced slots are selected.
Reduced spread radius to keep all buttons inside the circle.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:54:16 +02:00
Adrien Ufferte 56f003d433 Simplify: remove dead code, unused exports, and duplicate colors
- Remove dead functions: _get_garden_background_image, _is_position_on_garden_texture,
  _get_garden_dimensions, and associated constants/caches
- Remove unused base_color/completed_color exports from LessonButton
  (colors now driven by constants in _update_visual_state)
- Use LessonButton.UNLOCKED_FILL_COLOR instead of duplicate Color("176d78")
- Inline garden dimensions as constant expression
- Remove unused color parameter from _handle_lesson_button
- Fix missing blank line in garden.gd constant block

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:54:16 +02:00
Adrien Ufferte dc83e7b4e2 Fix garden visuals: tint, sizing, button layout and colors
- Tint garden background #176d78 via modulate in set_background()
- Fix background as 1700x1700 centered square instead of stretched
- Make TextureButton self_modulate transparent so Center/Border are visible
- Diagonal lesson layout from bottom-left to upper-right matching mockup
- Center buttons on generated positions instead of top-left alignment
- Increase garden size back to 2400 with 850px circle radius

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:54:16 +02:00
Adrien Ufferte d9522bc922 Redesign gardens with circular layout and new ocean theme
Replace rectangular garden backgrounds with circular Garden_01.png asset,
arrange lesson buttons in a circular pattern instead of sine-wave layout,
and introduce three visual states for buttons (locked/unlocked/completed)
using the new lesson_circle.png texture. Add jellyfish mascot to gardens.

- Add new assets: Garden_01.png, lesson_circle.png, jellyfish.png
- Update garden background to use keep_aspect_centered circular display
- Implement circular lesson positioning with configurable radius
- Simplify position validation to circle-distance check
- Add layout cache versioning to invalidate old layouts
- Update boss_button.tscn to match new button design

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:54:16 +02:00
Adrien Ufferte 4cc67b0f83 Auto reimport 2026-04-16 13:54:16 +02:00
Adrien Ufferte 496b01b26b Merge pull request #299 from Excello-Recherche-Education/readme-release-desktop
Update FAQ
2026-04-02 16:48:39 +02:00
Adrien Ufferte 228eeccc1d Update FAQ 2026-04-02 16:46:44 +02:00
Adrien Ufferte 6f3f0e3c4e Project settings direct config instead of UID 2026-04-02 16:03:53 +02:00
Adrien Ufferte 38b26c6ebb Better pause system 2026-04-02 16:03:53 +02:00
Adrien Ufferte 58fe768457 Make Export All button dynamic based on selected tool
The button label and export presets now change depending on the
dropdown selection. Game exports to Autobuild/Kalulu_Game/<version>,
Prof Tool exports to Autobuild/Prof_Tool/<version>. Shows an alert
and aborts if the version folder already exists.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 16:03:53 +02:00
Adrien Ufferte b3566bdab4 Switch app config (name, icon, scene) from editor dropdown
The export_tool_manager dropdown now applies project settings
immediately when toggling between "Kalulu Game" and "Prof Tool",
replacing the need to manually apply prof_tool_patch.diff.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 16:03:53 +02:00
Adrien Ufferte 0a4984f0bb Add zoom possibility in Developer Settings 2026-04-02 16:03:53 +02:00
Adrien Ufferte ec70668d59 Merge pull request #298 from Excello-Recherche-Education/readme/add-related-repositories
Better readme
2026-04-02 16:02:03 +02:00
Adrien Ufferte b9ffb8accf Better readme 2026-04-02 15:59:41 +02:00
Adrien Ufferte 08005b8347 Add line spacing in release description 2026-03-24 15:35:00 +01:00
Adrien Ufferte 939d8ea835 Add macOS release 2026-03-24 14:45:37 +01:00
Adrien Ufferte c488958bc5 Add release instructions 2026-03-24 14:36:16 +01:00