
Image Layering/generating
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 8
- Joined: Sat Sep 12, 2015 12:34 am
Image Layering/generating
So probably a stupid question but I'm kinda new to love and 2d game making, but in simple game i want to create you "jump between planets" in your spaceship, now each planet I want to be randomly generated by having some base images like cloud cover and planet color and moons. Now I realize I could just save the data for that planet but is there anyway just to compile the images into one image just to refer back to when the player visits the planet again, and if this images saving technique is possible how would i go about that? thanks in advance to anyone who helps 

Re: Image Layering/generating
You can use canvases to do that, just draw the planet to it once and then draw the canvas instead of all the parts.CosmicFloppyDisk wrote:So probably a stupid question but I'm kinda new to love and 2d game making, but in simple game i want to create you "jump between planets" in your spaceship, now each planet I want to be randomly generated by having some base images like cloud cover and planet color and moons. Now I realize I could just save the data for that planet but is there anyway just to compile the images into one image just to refer back to when the player visits the planet again, and if this images saving technique is possible how would i go about that? thanks in advance to anyone who helps
s-ol.nu
Code: Select all
print( type(love) )
if false then
baby:hurt(me)
end
-
- Prole
- Posts: 8
- Joined: Sat Sep 12, 2015 12:34 am
Re: Image Layering/generating
Ok ill try that thanks
Who is online
Users browsing this forum: Bing [Bot] and 2 guests