Hi there,
I was wondering if there was any way to set an image as your drawing. I've found a bit of code on these forums to create rounded rectangles, and I want to make one with an image fill. I know I could use .drawq() but that doesn't work with arcs, I don't think. Is there any way to do it?
The code for the rounded rectangle is included in my .love file.
Thanks in advance,
RealFighter64
Set image as drawing colour?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 1
- Joined: Sun Apr 05, 2015 11:48 am
Set image as drawing colour?
- Attachments
-
- bluelua.love
- .love file
- (3.19 KiB) Downloaded 81 times
Re: Set image as drawing colour?
I believe what you're talking about can be done with love.graphics.setStencil().
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 1 guest