Is there a way to integrate spritesheets?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Giantfishy
- Prole
- Posts: 3
- Joined: Wed Sep 28, 2011 8:48 am
- Location: New Zealand
Is there a way to integrate spritesheets?
If you want to make an animated sprite, is there an easier way of having a list of all of the images in the animation in a table and cycling through them (i.e. being able to set coordinates on an image to show only a certain part of that image). If there's a way to do that, it'd be awesome, thanks
- Giantfishy
- Prole
- Posts: 3
- Joined: Wed Sep 28, 2011 8:48 am
- Location: New Zealand
Re: Is there a way to integrate spritesheets?
Awesome, thanks!
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: Is there a way to integrate spritesheets?
I don't think spritebatch is what you want.
You want a quad:
love.graphics.newQuad Quad
and to draw a quad:
love.graphics.drawq
You want a quad:
love.graphics.newQuad Quad
and to draw a quad:
love.graphics.drawq
Re: Is there a way to integrate spritesheets?
Yeh my bad. I was clearly not awake when I read your question.
Who is online
Users browsing this forum: Ahrefs [Bot] and 3 guests