Hello!
I'm certain this has been answered before, but I'm still very much a love2d noob so I don't know exactly what to look for.
I have a game using pixelart, and I want to be able to call stuff like love.graphics.line() and love.graphics.rectangle() and have the line/rectangle scaled according to the scale set by love.graphics.scale(). Right now the result of love.graphics.line() looks like this:
Scaling love.graphics calls
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Jasoco
- Inner party member
- Posts: 3728
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Scaling love.graphics calls
Create a canvas of the resolution you want the pixel stuff to be and draw to that, then scale that up instead.
Who is online
Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 8 guests