unrust / unrust

unrust - A pure rust based (webgl 2.0 / native) game engine
Apache License 2.0
376 stars 24 forks source link

imgui custom widget guide #64

Open alanpoon opened 5 years ago

alanpoon commented 5 years ago

How to create a custom imgui widget?

edwin0cheng commented 5 years ago

Sorry, Right now there are no simple way to do it.

On Fri, 18 Jan 2019 at 15:12, alanpoon notifications@github.com wrote:

How to create a custom imgui widget?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/unrust/unrust/issues/64, or mute the thread https://github.com/notifications/unsubscribe-auth/AKgP5wCGKcTaI8hjvxfKDPtCqDepFA3Oks5vEXP5gaJpZM4aHWgD .

-- Cheers,

Edwin Cheng

alanpoon commented 5 years ago

can i overlay your game engine with html input element with event poll?

edwin0cheng commented 5 years ago

Of course, you can use js! macro to get the html input element value.

On Fri, 18 Jan 2019 at 16:59, alanpoon notifications@github.com wrote:

can i overlay your game engine with html input element with event poll?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/unrust/unrust/issues/64#issuecomment-455473609, or mute the thread https://github.com/notifications/unsubscribe-auth/AKgP54XJvzC2mvBbzz4ZRPKknfLtkhfkks5vEY0BgaJpZM4aHWgD .

-- Cheers,

Edwin Cheng