nimble-sample-step

Crates.ionimble-sample-step
lib.rsnimble-sample-step
version0.0.17-dev
sourcesrc
created_at2024-09-23 08:31:16.695647
updated_at2024-10-24 10:26:36.42164
descriptionNimble Sample Step Type
homepage
repositoryhttps://github.com/nimble-rust/nimble
max_upload_size
id1383727
size5,933
Peter Bjorklund (piot)

documentation

README

🎮 nimble-sample-step

Crates.io Documentation

This crate provides an example Step implementation to use in tests or for other similar purposes. It's built with flexibility and simplicity in mind, giving you basic game-pad-like inputs such as moving left, right, jumping, or doing nothing.

✨ Features

  • 🚶 MoveLeft(i16): Move your character to the left with a specified amount.
  • 🏃 MoveRight(i16): Move your character to the right.
  • 🦘 Jump: Make your character jump.
  • ⛔ Nothing: No game-pad input.
  • 🗃️ SampleState: A simple state structure to simulate stateful deserialization with a buffer of data.

These actions are ready for you to plug into your test cases!

📦 Installation

Add the following to your Cargo.toml file:

[dependencies]
nimble-sample-step = "0.0.17-dev"

License

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

Commit count: 151

cargo fmt