Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to make a game with my business but need to know about the GUI #131

Open
Wall3rHM2 opened this issue Sep 8, 2022 · 0 comments
Open

Comments

@Wall3rHM2
Copy link

Describe the bug
The GUI examples don't run as expected, so far only 1 example that comes with Acid works without needing modifications (TestPhysics), the rest of them crash on sight. I liked this engine a lot and wanted to use in my game with my team, but I don't where to start in the UI examples to fix them, so far i made the wubdiw creation be called in MainApp(), so now it doesn't crash anymore on sight.
But for some reason in the TestFont for example, the screen only gets the button color and fills it and there is nothing more besides a grey screen, which from what i tested, seems to be triggered by the Pannable.cpp code where it adds the child "settings". But even when i remove this, the screen just turns white and still nothing more appears, not a single text. If someone could only at least give a heads up to where is the issue (i.g outdated syntax for GUI)...

TLDR; Screen in TestFont turns grey and nothing more appears.

To Reproduce
In MainApp.cpp of the project TestFont, Write Windows::Get()->AddWindow(); below the line App("Test Font", {1, 0, 0}) { and move the lines where it says Windows::Get()->GetWindow(0)->SetTitle("Test Font"); and Windows::Get()->GetWindow(0)->SetIcons({...}); to below this.

Expected behaviour
A working example where it shows texts and other GUI elements

Screenshots

245595c8-96b4-46a7-b0f3-01352f0bf4af (1)

Hardware:

  • OS: Windows 11

Additional context
No significant context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant