Page 1 of 1
Can I use spritesheets with löve
Posted: Tue Jun 16, 2020 6:08 am
by WortWal
Can I use spritesheets with löve ? I hadn't found anything in the docs
Re: Can I use spritesheets with löve
Posted: Tue Jun 16, 2020 9:15 pm
by Stifu
WortWal wrote: ↑Tue Jun 16, 2020 6:08 am
Can I use spritesheets with löve ? I hadn't found anything in the docs
Yes, but you have to code the whole thing.
Example:
https://github.com/thomasgoldstein/zabu ... r/rick.lua
Re: Can I use spritesheets with löve
Posted: Wed Jun 17, 2020 5:07 am
by zorg
Re: Can I use spritesheets with löve
Posted: Thu Jun 18, 2020 3:57 pm
by steVeRoll
I think they meant sprite
sheets, as in drawing parts of an image.
You can do just that using Quads. First, you
create the quads, then you
draw the original image with the quad as the second parameter.
Re: Can I use spritesheets with löve
Posted: Sat Jun 20, 2020 6:33 pm
by D0NM
WortWal wrote: ↑Tue Jun 16, 2020 6:08 am
Can I use spritesheets with löve ? I hadn't found anything in the docs
This nifty tool could help u to obtain sprites quads (regions) from the spritesheet and
generate a ready to use .lua file
https://github.com/25A0/Quadtastic
Re: Can I use spritesheets with löve
Posted: Sun Jun 21, 2020 1:33 am
by hoistbypetard
Wow. Thank you for sharing that. That's great.