Skip to content

Completely new game was added#136

Open
Devanch-hub wants to merge 5 commits intograntjenks:masterfrom
Devanch-hub:specific-part
Open

Completely new game was added#136
Devanch-hub wants to merge 5 commits intograntjenks:masterfrom
Devanch-hub:specific-part

Conversation

@Devanch-hub
Copy link

No description provided.

Introduces the DaychIO class to handle the .daych binary image format.
This utility allows for high-performance reading and writing of
24-bit RGB data directly to pygame.Surface objects.

Key features:
- Support for both disk (SSD) and memory (BytesIO) operations.
- Direct buffer-to-surface conversion using pygame.image.frombytes.
- Static methods for easy integration: load_surface, save_surface, and to_buffer.
- Header validation (Signature: 'DAYCH') to prevent corrupted data loading.

This format is optimized for pixel art workflows (Aseprite) and
minimizes SSD wear by allowing full RAM-based processing.
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.

1 participant