Skip to content

Add Godot 4 native application conversion of Sight Words#1

Open
brenk28 wants to merge 1 commit into
mainfrom
claude/godot-conversion-phase-4-juZDw
Open

Add Godot 4 native application conversion of Sight Words#1
brenk28 wants to merge 1 commit into
mainfrom
claude/godot-conversion-phase-4-juZDw

Conversation

@brenk28

@brenk28 brenk28 commented Feb 8, 2026

Copy link
Copy Markdown
Owner

Summary

This PR introduces a complete Godot 4.x native application implementation of the Sight Words web app, providing feature parity with the React/TypeScript version while leveraging native platform capabilities.

Key Changes

  • Project Setup: Created Godot 4.2+ project configuration with GL Compatibility renderer, 800x600 window, and proper icon/assets
  • Global State Management: Implemented GameState autoload singleton managing word list, display settings, and persistence via ConfigFile
  • Text-to-Speech Integration: Created TTSManager autoload wrapping Godot's DisplayServer TTS API with voice selection, rate/pitch control, and platform detection
  • Main Scene & UI: Built programmatic UI layout in main.gd with header, word display area, footer, and settings overlay (no scene files needed for UI)
  • Word Display Component: Implemented word_display.gd with styled card panel, large centered text, click/spacebar input handling, and fade-in animations
  • Settings Panel: Created full-screen settings overlay with word list editing, display options (random/auto-advance), speech configuration, and voice selection
  • Persistence: Integrated ConfigFile-based save/load for all settings and word lists
  • Polish: Added toast notifications, proper input handling, indigo color scheme matching the web app, and auto-advance timer

Feature Parity

All features from the React web app are now available in the native Godot version:

  • Word display and navigation (click, spacebar, auto-advance)
  • Sequential and random word ordering
  • Text-to-speech with adjustable rate and pitch
  • Voice selection from system voices
  • Editable word list with reset to defaults
  • Persistent settings storage
  • Smooth fade-in animations and toast notifications

Implementation Notes

  • UI is built entirely in GDScript (no .tscn files for UI components) for maintainability and reliability
  • Uses Godot's native DisplayServer TTS API instead of Web Speech API
  • ConfigFile handles persistence to user://settings.cfg
  • Autoload singletons provide global state and TTS management
  • Tween animations for smooth transitions
  • Proper input handling prevents settings panel from interfering with word advance controls

https://claude.ai/code/session_01QAFNe6JnRKyJ5A8aUwETP8

Complete Godot 4.x port of the Sight Words web app with full feature
parity. Includes GameState/TTSManager autoload singletons, programmatic
UI (word display, settings overlay, toast notifications), DisplayServer
TTS integration with voice selection, fade-in word animations, and
ConfigFile-based persistence.

https://claude.ai/code/session_01QAFNe6JnRKyJ5A8aUwETP8
@vercel

vercel Bot commented Feb 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sightwords Ready Ready Preview, Comment Feb 8, 2026 9:47pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants