- Изменено
Configuring Starter Context with LibGdx in Java
I have precisely followed the starting point of LibGdx to create a project that works with the logo of Bad Logic displayed in a window. As I'm trying to set the window to a proper size, name, etc. like on libgdx starter content. I have an error that I can't find the solution under Google search. How to change simply the Context ? SetTtle is not found in the LwGl library. What's wrong before to start a complete project . I use IdeaJ.
This isn't really the right place to ask about libgdx when it's not related to using Spine with libgdx. Try the libgdx Discord:
https://libgdx.com/community/
Anyway, you should look at the source. LwjglApplicationConfiguration doesn't have any setTitle
method:
https://github.com/libgdx/libgdx/blob/master/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/LwjglApplicationConfiguration.java
It does have a public title
field, so just set that.
config.title = "Hello";