8 releases

0.0.17-dev Oct 24, 2024
0.0.16 Oct 22, 2024
0.0.12-dev Sep 23, 2024

#2344 in Game dev

Download history 341/week @ 2024-09-20 80/week @ 2024-09-27 14/week @ 2024-10-04 107/week @ 2024-10-11 493/week @ 2024-10-18 105/week @ 2024-10-25 29/week @ 2024-11-01 7/week @ 2024-11-08 2/week @ 2024-11-15

239 downloads per month
Used in 8 crates

MIT license

8KB
66 lines

🎮 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.

Dependencies

~125KB