updated prompt.md :3

This commit is contained in:
dvorakmortonxd 2026-09-01 17:49:43 +02:00
commit e91f9e023d
2 changed files with 150 additions and 22 deletions

View file

@ -12,7 +12,7 @@ Delta Time: Fixed time-step used for consistent updates; delta time passed to in
2. Cinematic Text System
Typewriter Effect: A custom-built system that reveals two messages letter-by-letter.
Message 1: "Hello, human." (large font, 120pt)
Message 2: Multi-line Undertale-themed message about C being the best programming language (small font, 24pt)
Message 2: Multi-line Undertale-themed message about C being the best programming language (small font, 24pt) with the words "Undertale", "rewritten", "opensourced", "C", "GPL3.0" rendered in yellow and shifted up for better centering
Timing: Uses SDL_GetTicks() to trigger a new character reveal every ~333ms for message 1 and ~36ms for message 2 (after 3.5s delay).
Rendering: Uses SDL_ttf for high-quality text. The text is dynamically centered on the screen by calculating surface dimensions relative to window size, supporting multi-line strings.
Memory Safety: Implemented strict null-termination (\0) on text buffers to prevent memory leakage/artifacts.