滚动背景
我正在尝试纵向模式下的简单游戏的新功能,我想为游戏添加无缝滚动背景,图像为512x512px。
我想要的主要滚动是垂直滚动,但我希望也能够在图像大小的范围内横向滚动。我应该如何处理这个问题,我正在使用cocos2d。 大卫
I'm trying out new things for a simple game in Portrait mode, I want to add a seamless scrolling background to a game, the image is 512x512px.
The Main scrolling I want to have is Vertically, but I want to be able to scroll sideways too within the bounds of the image size. How should I go about with this, I'm using cocos2d.
David
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试重复纹理(在本例中在 2000 像素内)
Try repeating the texture (in this case within 2000px)