Hi,
I'm currently playing around with Löve as I'm looking for something new for my future little game. So far it's great !
Quick question though : is there a way to choose the scale filter used ? Right now if you scale an image or an animation, it's smoothed, which I don't want.
Second question : is there a way to scale the global scene ? Like, for example, rendering everything to an image, scale this image and display it ?
My game is a tiny pixel-shooter and I'd like to add a 2x & 4x size option (to give you an idea, a character is 13 pixels tall at max).
Thanks
Tom
Scaling & Bilinear filter
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Scaling & Bilinear filter
You can't set the scale filter, sorry. I'll add it to the task list, though.
As for scaling the whole scene, you can use the undocumented love.graphics.scale( sx, sy ), but note that I haven't really tested it.
As for scaling the whole scene, you can use the undocumented love.graphics.scale( sx, sy ), but note that I haven't really tested it.
- Gunroar:Cannon()
- Party member
- Posts: 1143
- Joined: Thu Dec 10, 2020 1:57 am
Re: Scaling & Bilinear filter
Sorry for bumping but look how far everything 's come
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Scaling & Bilinear filter
then don't? at least not without giving constructive feedback, which in this case is kind of hard?
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
- Gunroar:Cannon()
- Party member
- Posts: 1143
- Joined: Thu Dec 10, 2020 1:57 am
Re: Scaling & Bilinear filter
Just thought it was cool to see, saw this while searching and seeing it wasn't really useful since it was from 2008 and scale was untested. Nostalgia you know.
Though I kind of knew I would get ... clapped
Would have posted this in GENERAL,
couldn't...
...
But sorry.
Though I kind of knew I would get ... clapped
Would have posted this in GENERAL,
couldn't...
...
But sorry.
Who is online
Users browsing this forum: Ahrefs [Bot] and 4 guests