Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iolivia/imgui-ggez-starter

Starter projects connecting ggez and imgui in Rust.
https://github.com/iolivia/imgui-ggez-starter

Last synced: 2 months ago
JSON representation

Starter projects connecting ggez and imgui in Rust.

Awesome Lists containing this project

README

        

# imgui-ggez-starter

## :dart: What is it?
This project does pretty much what it says on the tin, it adds imgui to a ggez starter sample. I spent quite a few hours digging through documentation and figuring this out so I am putting it here do you don't have to.

You can find examples for:
* rendering imgui UI on top of ggez game objects
* responding to mouse events in UI
* responding to keyboard events in UI
* imgui
* windows
* popups
* menu bars and menu items
* nested menu items
* loading and rendering UI textures

![Demo](demo.gif)

## :running: How to run it?
The usual cargo commands will do.

```rust
// Building
cargo build

// Running
cargo run

// Running in release
cargo run --release
```

## :muscle: Contributing
If you'd like to contribute and make this easier in any way feel free to:
1. Create an issue
1. Open a PR with an improvement or bug fix

## :car: License
MIT