如何将所有分层图像合并为背景?
在此处输入图像描述我目前正在尝试构建视频游戏,但我下载的背景图像Itch.IO 上有 3 层背景图像。我不知道如何将所有 3 张图像放在一起形成一个深入的背景。
**const background = new Sprite({
position: {
x: 0,
y: 0
},
imageSrc: './img/background/background_layer_1.png',
})**
我尝试将所有三个图像添加到一行上,但失败了。抱歉,您只能看到 3 张图片中的一张。此帖子只允许我发布一张图片
enter image description hereI'm currently trying to build a videogame but the background images that I downloaded on Itch.IO are 3 layered bg images. I don't know how to put all 3 images together to form one in-depth background.
**const background = new Sprite({
position: {
x: 0,
y: 0
},
imageSrc: './img/background/background_layer_1.png',
})**
i've tried adding all three images on one line but it couldn't. I apologize that you can only see one of the 3 images. This posting only allows me to post one image
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我弄清楚了!单击文件夹中的第1层,用MS涂料或3D涂料进行编辑,或任何地方,然后将每个后续层插入第一个并保存。
I figured it out! Click on layer 1 in your folder, edit in MS paint or 3D paint, or wherever, then insert each subsequent layer onto the first and save.