#help with imgui

27 messages · Page 1 of 1 (latest)

safe hemlock
#

hi guys, i skidded code from an imgui tutorial that creates a very simple gui with im gui since ive never made one before and want to learn. i just wanted to get this to compile but idk whats wrong, would appreciate some help if anyone can find the issue! full code: https://pastebin.com/dufcukcv

bleak bisonBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

safe hemlock
#

when i run the executable nothing happens, when i run in debug mode, i get the error in the screenshot

trail plume
#

Sounds like device is null

#

Looks like you ignore the return value of gui::CreateDevice()

wraith island
#

Dx9 sus
What tutorial are you following?

safe hemlock
# wraith island Dx9 <:sus:906696855960829962> What tutorial are you following?

In this video we code a "gui" namespace which uses WinAPI, Directx & ImGui to create an external ImGui cheat menu. It works by creating a Windows window, creating a directx device with the window and then using those to draw an ImGui menu on the window. I hope you enjoyed the video, and remember to subscribe for more!

Need Help? Join my discord...

▶ Play video
safe hemlock
wraith island
#

Yeah we don't help with cheats.

wraith island
safe hemlock
wraith island
#

Oh, well in that case, the imgui directory has a bunch of examples ^^
They're definitely not a tutorial, but it's honestly made so well you don't really need a tutorial imo

safe hemlock
#

yea maybe its cause that tutorial is old

wraith island
# safe hemlock

Well if you're looking for pretty stuff, imgui ain't it kek sure is easy as fuck tho

trail plume
safe hemlock
#

can you customize everything in imgui?

#

like the way the arrows look and stuff

wraith island
#

Yes

wraith island
# safe hemlock can you recommend something?

Honestly I'm going to get flak for it, but the Cherno's game engine series on youtube taught me a lot, both in the code itself and in how to actually design shit.
It's not centered around imgui, but he does have a few videos in how to integrate it into your code

#

You shouldn't take what he says as gospel of the ideal codebase, but if your goal really is just to do gui in c++ for fun, it's good enough

safe hemlock
#

thanks a lot guys

wraith island
#

Good luck raldHeart

bleak bisonBOT
#

@safe hemlock Has your question been resolved? If so, type !solved :)

safe hemlock
#

!solved