Wow, that's easier than what I was trying to do...lol. Thank you, osgeld!
quad = love.graphics.newQuad( x, y, width, height, sw, sh )
x, y = starting point of sprite
width, height = just the w/h of the sprite, not the x/y coordinates of the sprite's corner
sw, sh = total size of the spritesheet
Search found 2 matches
- Wed Dec 28, 2011 12:01 pm
- Forum: Support and Development
- Topic: [Solved] quad spritesheet assistance
- Replies: 2
- Views: 3384
- Mon Dec 26, 2011 5:33 am
- Forum: Support and Development
- Topic: [Solved] quad spritesheet assistance
- Replies: 2
- Views: 3384
[Solved] quad spritesheet assistance
Hi, new to love2d, and having a little trouble understanding using quads with a spritesheet. I can use love.graphics.draw to show the whole sheet, but quads don't show up. Adjusted image in Gimp to 256x256 as per a post about non-2* image having trouble with some video cards (mine is a GT430, which ...