'How do I combine all the layered images for my background?
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
Solution 1:[1]
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Dharman |