Can you color quads in a Spritebatch?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
NoreoAlles
Party member
Posts: 107
Joined: Mon Jan 03, 2022 5:42 pm

Can you color quads in a Spritebatch?

Post by NoreoAlles »

The question im having is if its possible to do something like this

Code: Select all

setcolor(dark)
addQuad to Spritebatch

setcolor(white)
draw Spritebatch
thanks
"Why do they call it oven when you of in the cold food of out hot eat the food?" - Jon Arbuckle
User avatar
slime
Solid Snayke
Posts: 3140
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Can you color quads in a Spritebatch?

Post by slime »

User avatar
NoreoAlles
Party member
Posts: 107
Joined: Mon Jan 03, 2022 5:42 pm

Re: Can you color quads in a Spritebatch?

Post by NoreoAlles »

slime wrote: Thu Oct 19, 2023 10:59 am Yes: SpriteBatch:setColor
Thanks
"Why do they call it oven when you of in the cold food of out hot eat the food?" - Jon Arbuckle
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest