hajimehoshi / ebiten

Ebitengine - A dead simple 2D game engine for Go
https://ebitengine.org
Apache License 2.0
10.78k stars 649 forks source link

a utility package for a small GUI library for debugging like ImGUI #3068

Open hajimehoshi opened 3 weeks ago

hajimehoshi commented 3 weeks ago

Operating System

What feature would you like to be added?

Ebitengine lacks a simple GUI library just for debugging, so why not :-) ?

There is an ImGUI binding for Ebitengine https://github.com/gabstv/ebiten-imgui, but unfortunately this uses Cgo and then this doesn't work on browsers.

I've not decided to create an original API or convert ImGUI to pure Go yet.

Why is this needed?

This was inspired by https://www.reddit.com/r/golang/comments/1exl1bi/my_experience_with_ebitengine_and_raylibgo_gmtk/

Also there were some requests for this in the Discord server.

A GUI library should be nice even for the current examples to manipulate parameters in a more intuitive way.

hajimehoshi commented 3 weeks ago

We should go with ImGUI instead of inventing our own thing so that we can save time.

We'd be happy if somenoe could help us!

hajimehoshi commented 3 weeks ago

We can use the C version of ImGUI (https://github.com/cimgui/cimgui) with the API defintion in JSON (https://github.com/cimgui/cimgui/blob/master/generator/output/definitions.json)

hajimehoshi commented 2 weeks ago

https://github.com/ebitengine/microui