游戏世界观界限

时间:2016-06-28 04:43:06

标签: java libgdx 2d coordinates scene2d

所以我在游戏中有两个阶段。一个用于我的游戏世界,另一个用于UI的东西(如触摸板控件和侧边栏)。我想要实现的设计就在下面。

Image of panning game area on left and UI stuff on right.

我已经设法在屏幕的右侧部分渲染侧面矩形,但问题是游戏位于屏幕中心并且不在游戏区域的中心。

我尝试在 <input type="password" name="password" ng-model="model.password" placeholder="Please type your password"> 的根组上设置边界和剔除区域,但是当我想在游戏区域周围有一个固定的矩形时,它会设置游戏坐标的界限。

由于

0 个答案:

没有答案
相关问题