No description, website, or topics provided.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src update to amethyst 0.10.0, relax versions Dec 8, 2018
.agignore convenience Aug 18, 2018
.editorconfig convenience Aug 18, 2018
.gitignore Initial Aug 17, 2018
Cargo.lock update to amethyst 0.10.0, relax versions Dec 8, 2018
Cargo.toml prepare to publish to crates Dec 8, 2018
README.md readme upd Aug 19, 2018
mplus-1p-regular.ttf Initial Aug 17, 2018

README.md

Usage:

  1. Add this to your Stage:
	.with_pass(amethyst_imgui::DrawUi::default())
  1. Add this to your handle_event:
	amethyst_imgui::handle_imgui_events(data.world, &event);
  1. Add this to the beginning of your main update:
	let ui = amethyst_imgui::open_frame(state.world);
	if let Some(ui) = ui {
		ui.show_demo_window(&mut true);
	}
  1. Add this to the end of your main update:
	if let Some(ui) = ui { amethyst_imgui::close_frame(ui) }