Repository navigation
Trailer: in-game recorder, Minecraft-style edit, score and voice-over - #1
Merged
Merged
Conversation
…ce-over TrailerRecorder (HYPEBLOCK_TRAILER=1 runClientGameTest) flies the camera through the sample world at 30 fps and pipes the frames into ffmpeg; the server is stepped one tick per recorded tick so countdowns and heartbeats run at real speed. tools/trailer renders the edit (block-crack shatter, block wipe, mosaic, redstone wipe, chunk loading, dirt loading screen, pixel logo, game-font tooltips and toasts), records the ElevenLabs voice-over in English and German and mixes a synthesised score. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Project settings, file upload fields (26.3, Fabric, Beta, Fabric API as required dependency), screenshot captions, description and an upload checklist, in the same style as the SusRate listing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…links The trailer sits right under the stats, with a "Trailer" button in the hero. Nothing is loaded from YouTube until play is clicked (own thumbnail, then youtube-nocookie.com); the German page shows the German thumbnail. The video is in the JSON-LD as VideoObject and in llms.txt. Download links pointed at releases/latest, which skips pre-releases, so the 0.1.0 beta was not found; they now point at the releases page. tools/trailer/thumbnail.py renders the YouTube/website thumbnails. Co-Authored-By: Claude Opus 5.5 <[email protected]>
CurseForge answers "425 is not a valid Game Category For ClassId 6" when Miscellaneous is picked for a mod project, so the listing names only Redstone and Utility & QoL. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Tooling that produces the HypeBlock trailer (2:18, 1080p30, English and German) from the sample world.
TrailerRecorder(gametest,HYPEBLOCK_TRAILER=1 ./gradlew runClientGameTest): builds the sample world, flies the camera along spline/orbit paths at 30 fps using partial ticks, scripts BPM changes per shot and pipes the frames straight into ffmpeg (one PNG on disk at a time).HYPEBLOCK_TRAILER_SHOTS=a,bredoes single shots.tools/trailer/(Python with numpy, pillow, scipy):render.py: the edit, with Minecraft-style transitions (block-crack shatter, block wipe, mosaic, redstone wipe, chunk loading, dirt "Loading terrain" screen, heartbeat punch), a pixel-by-pixel logo build, tooltips, advancement toasts and titles in the game's bitmap font (read from the client jar, umlauts included).--lang en|de.voiceover.py: ElevenLabs TTS (eleven_v4). The key is read from git-ignoredelevenlabs-api-key.txt.mix.py: synthesised score in D minor at 100 BPM with a heartbeat kick, sound design on transitions and events, VO placement with ducking, mux.script.py: VO lines (EN/DE) with clip-relative cue times.SampleWorldBuilder: a few members are now package-private so the recorder can reuse them.HeartRateClientGameTestskips when the trailer runs.CLAUDE.md: a Trailer section..gitignore: the ElevenLabs key file.Why it records like this
The integrated server ticks in real time, but recording only reaches about 4–5 ticks/s. Without intervention, countdowns and heartbeats run about 4x too fast in the video. The recorder therefore freezes the server and runs
tick step 1per recorded tick. It also refreshes the BPM inHeartRatesevery tick, becauseHeartRatesages values by wall clock and the block would otherwise drop to OFFLINE.Notes for review
build/and are not committed.git grepagainst both key files.render.py. Check them after changing shot events in the recorder.🤖 Generated with Claude Code