http://gamedev.stackexchange.com/questions/80503/is-table-the-only-layout-that-i-can-use-in-libgdx
Is Table the only layout that I can use in libgdx?
![](http://engine.adzerk.net/i.gif?e=eyJhdiI6NjMzMDUsImF0Ijo0LCJidCI6MCwiY20iOjQ5MTE0OSwiY2giOjE2NTMxLCJjayI6e30sImNyIjoxNzIxMzAwLCJkaSI6ImFkZmY5ZTA5ZmE1YjRmZmNiYWVlYTA0NTlkYzc3NDE4IiwiZG0iOjEsImZjIjoyMDQzNzMyLCJmbCI6MjQ2NjAwMywiaXAiOiIxMTkuMTk0LjIyNi4xOTAiLCJrdyI6ImxpYmdkeCx4LWNvbW11bml0eSx4LWhvc3QtZ2FtZWRldi5zdGFja2V4Y2hhbmdlLmNvbSIsIm53IjoyMiwicGMiOjQuNSwiZWMiOjQuNSwicHIiOjU3MzM3LCJydCI6MiwicmYiOiJodHRwczovL3d3dy5nb29nbGUuY28ua3IvIiwic3QiOjU2NzYzLCJ1ayI6InVlMS00YzgwYTg0MWE0MGI0YTUzYjk4ZGM1NGE2ZDc4MTZhMiIsInpuIjoyOSwidHMiOjE0NzgyNzQ0ODE3MDQsImJmIjp0cnVlLCJwbiI6ImFkemVyazE1MjE3NzM3MjYiLCJmcSI6MjU2fQ&s=qpmtLICVJcNag6F8SmJ461ktOVM)
1 1 | I'm looking for the common way to handle the layout in libgdx. I searched google and found only table layout. Meanwhile I don't use any layout and just insert coordination into each visual object but I think that this is not the proper way to do it... p.s The game layout should split into two parts, left is smaller that the right and contains things like score time and info about stuff in the game. The right part will display the game-play itself | ||
add a comment |
3 | Definitely not. Two alternatives to
When positioning manually One piece advice, though, if you decide to position your widgets manually: don't use absolute pixel coordinates. If you your screen is 400px wide and you want a widget's X coordinate to be 200px, set it to Edit: The
| |||
'개발 > 게임' 카테고리의 다른 글
Game menu always at bottom (0) | 2016.11.05 |
---|---|
LibGDX 구조 (0) | 2016.11.03 |
How can I map regions on a world map image? (0) | 2016.11.01 |
HorizontalGroup
or twoStage
instances. But since your world doesn't move, theHorizontalGroup
is a better solution because it's simpler. :) – Paul Manta Jul 19 '14 at 9:00