Draft
Conversation
- Press F12 or use 'gif' console command to start recording - Records 5 seconds of gameplay at 15 FPS - Saves frames as PNG files in user://gifs/ directory - Includes FFmpeg conversion scripts for Windows/Linux/Mac - Shows recording indicator with countdown timer - Integrated with dev console help system - Added comprehensive documentation in README_GIF_RECORDING.md Technical features: - Viewport texture capture for frame recording - Automatic directory creation for organized output - Cross-platform conversion script generation - Non-blocking frame capture during gameplay - Timestamped filenames for multiple recordings
- Integrated Imgur API for direct GIF uploads from game - Share dialog appears after recording with online/local options - Anonymous uploads with 50 daily limit per IP - Automatic clipboard copy of share link - Upload progress notifications and error handling - Rate limiting with local tracking - Comprehensive documentation for API setup Technical implementation: - GifSharer singleton handles Imgur API communication - ShareDialog UI for user choice (share online vs save locally) - Non-blocking HTTP uploads with status callbacks - Base64 encoding for image data transfer - Client-side rate limit enforcement - Currently uploads single frame as proof of concept UI/UX features: - Share dialog with remaining upload count - Upload progress indicator - Success notification with clickable link - Error messages for failed uploads - Maintains original local save functionality
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.
Summary
Features
Recording
Web Sharing
Local Save
Setup Required
IMGUR_CLIENT_IDinscripts/GifSharer.gdTest Plan
Future Enhancements
Documentation