swamp-app

Crates.ioswamp-app
lib.rsswamp-app
version0.0.9
sourcesrc
created_at2024-11-01 16:17:39.194089
updated_at2024-11-04 15:23:00.623523
descriptionApplication management for 2D pixel perfect sprite rendering
homepage
repositoryhttps://github.com/piot/swamp-render
max_upload_size
id1432004
size21,674
Peter Bjorklund (piot)

documentation

README

swamp-app 🐊

Crates.io Documentation

Swamp App is a Rust crate that provides a high-level abstraction for creating and managing game applications using winit and wgpu. It leverages the power of swamp-wgpu-window and swamp-render to handle window creation, rendering surfaces, and the application lifecycle. By implementing the Application trait, developers can focus on application logic without worrying about the underlying rendering and window management details.

✨ Features

  • Simplified Window Management: Easily create and manage application windows using swamp-wgpu-window.
  • Rendering Abstraction: Utilize swamp-render for efficient sprite-based rendering with minimal setup.
  • Application Lifecycle Management: Implement the Application trait to handle initialization, ticking, and rendering seamlessly.
  • Async Support: Leverage asynchronous initialization for smooth and non-blocking application setup.
  • Cross-Platform Compatibility: Works across all major operating systems supported by winit and wgpu.

📦 Installation

Add swamp-app to your project’s Cargo.toml:

[dependencies]
swamp-app = "0.0.9"

License

This project is licensed under the MIT License - see the LICENSE file for details.

Commit count: 71

cargo fmt