#example #swamp #game #engine #2d #2d-game

app swamp-examples

Examples for the swamp 2D game engine

1 unstable release

new 0.0.10 Nov 14, 2024

#283 in Game dev

MIT license

320KB

Swamp examples 🐊

The Swamp Examples are designed to help developers quickly get started with the Swamp Render API by providing ready-to-run examples.

Usage

  • List the available examples:
cargo run --example
  • Run one of the examples with:
cargo run --release --example <example_name>

Replace <example_name> with the specific example you want to run.

  • To see detailed logs of the application’s behavior, you can run with logging enabled:
RUST_LOG=debug,wgpu_core=warn,naga=warn,wgpu_hal=warn,winit=warn cargo run --example <example_name>

Replace <example_name> with the specific example you want to run.

Asset Licenses

All assets used in the examples are sourced from platforms that provide open and free licenses. Please refer to each asset’s respective page for specific licensing information.

Dependencies

~25–62MB
~1M SLoC