Commit Graph

2 Commits

Author SHA1 Message Date
Claude
7943aba360 Fix chat UI position, font initialization, and input handling
- Move chat Y position from 200 to 50 to display correctly at top-left
- Fix font initialization to use lucasFont.createDefaultFont() instead of raw lucasFont
- Add fallback font (Tahoma) if Arial fails to load
- Use bindKey for T key binding for more reliable chat toggle
- Define key code constants with fallbacks for SDLK_* values
- Filter control characters from text input
- Add test message on resource load to verify chat is working
- Improve native chat disabling with proper function checks
2026-01-25 18:39:16 +00:00
Claude
5ab25c0c98 Add custom chat UI with modern glossy design and welcome/leave messages
- Create client.js with glassmorphism-style chat UI matching mod menu theme
- Add animated player join/leave notifications (slide-in from right)
- Implement custom chat rendering with timestamps, scrolling, and message types
- Support for multiple chat types: normal, action, whisper, shout, OOC, local, system
- Add smooth fade animation when chat is idle
- Update server.js with network events for custom UI communication
- Add OnPlayerJoined/OnPlayerQuit handlers for welcome/leave broadcasts
2026-01-25 18:17:14 +00:00