Multi-layer Background
Posted: Fri Jun 21, 2019 5:37 pm
Hello,
My name is Kirk. I have just started playing around with Love2D, maybe for 2 weeks or so now. I was impressed at how quick I was able to put something together and completed a small shooting gallery game in a single evening.
(Crosshair attached to mouse hidden in screenshot for some reason)
I am now going to complete a slightly bigger project in which it has multiple images used as the background to create a parallax effect. I seem to be having problems of the bat just loading these images. I have attached the 2 of the 4 layers I am using for the background 1-4 in which the order they should be drawn.
I am getting a black background and no errors. After further investigation it looks like image 1 loads and can be drawn just fine but the other 3 do not load at all.
Is there some issue with loading images which have alpha?
My name is Kirk. I have just started playing around with Love2D, maybe for 2 weeks or so now. I was impressed at how quick I was able to put something together and completed a small shooting gallery game in a single evening.
(Crosshair attached to mouse hidden in screenshot for some reason)
I am now going to complete a slightly bigger project in which it has multiple images used as the background to create a parallax effect. I seem to be having problems of the bat just loading these images. I have attached the 2 of the 4 layers I am using for the background 1-4 in which the order they should be drawn.
I am getting a black background and no errors. After further investigation it looks like image 1 loads and can be drawn just fine but the other 3 do not load at all.
Is there some issue with loading images which have alpha?