Help :)
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Help :)
You simply draw an image on 0, 0. See love.graphics.draw.
If you just want another colour as background, you can use love.graphics.setBackgroundColor
If you just want another colour as background, you can use love.graphics.setBackgroundColor
Help us help you: attach a .love.
Re: Help :)
As Robin said, you can simply draw an image in 0,0, but before drawing/printing anything else
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Help :)
Be sure you do this. If you do:Nixola wrote:but before drawing/printing anything else
Code: Select all
love.graphics.draw(player, ...)
love.graphics.draw(background, ...)
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Help :)
Learn to layer. Draw your background stuff first. Then your player and enemies and other objects. Then anything you might want overlayed, like in-game details like tree leaves or the tops of houses. And lastly, HUD text.
The order you draw in, the order it gets drawn. Easy as that.
The order you draw in, the order it gets drawn. Easy as that.
Who is online
Users browsing this forum: Ahrefs [Bot] and 10 guests