New answers tagged

0

After experimenting long time, I come to conclusion, it is not possible to catch isKeyJustPressed method without implementing input processor. So i have used isKeyPressed method only, without implementing InputProcessor in my Screens. I have used a boolean flag to get to know, if back button is continuously pressed pressed from last screen, so that I won't ...


0

OK so I don't understand why you are extending Stage but lemme provide an exemple of how to use the View port to fit your needs what ever the screen size: lets start with your show method you can get rid of this keyword and remove extend stage and do something like so instead : create a public static attribut stage : public static Stage stage; then ...



Top 50 recent answers are included