10 releases
0.0.10 | Nov 14, 2024 |
---|---|
0.0.9 | Nov 4, 2024 |
#2224 in Game dev
195 downloads per month
Used in 11 crates
(10 directly)
59KB
1K
SLoC
swamp-app 🐊
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.10"
License
This project is licensed under the MIT License - see the LICENSE file for details.
Dependencies
~0.5–1MB
~21K SLoC