Search found 8 matches

by The_JinJ
Thu Sep 14, 2017 10:06 am
Forum: General
Topic: Jagged filled shapes
Replies: 7
Views: 5667

Re: Jagged filled shapes

Same output :/ Ah, have you tried https://love2d.org/wiki/love.window.setMode ? You could do something like love.window.setMode(800, 600, {msaa = 16}) where the 800 and 600 are whatever width and height dimensions you want for your window, and the msaa = 16 is the level of anti aliasing (smooths out...
by The_JinJ
Wed Sep 13, 2017 11:28 pm
Forum: General
Topic: Jagged filled shapes
Replies: 7
Views: 5667

Re: Jagged filled shapes

Apologies, I meant to add that increasing segments doesn't have any effect...
by The_JinJ
Wed Sep 13, 2017 7:49 pm
Forum: General
Topic: Jagged filled shapes
Replies: 7
Views: 5667

Jagged filled shapes

Hi

Sorry, newbie question!

Is it possible to smooth filled shapes drawn? If I draw a rectangle with rounded corners the results are jagged edges. If I draw a line rectangle it is much smoother.

Image

Cheers!
by The_JinJ
Sun Jul 31, 2016 6:19 pm
Forum: Support and Development
Topic: [Custom] Physics Objects
Replies: 4
Views: 2677

Re: [Custom] Physics Objects

In love.draw you'd get the body coordinates and draw the image using those.

A quick search shows this thread which should be useful although for an earlier version of LOVE

viewtopic.php?t=8849
by The_JinJ
Thu Jul 28, 2016 9:51 pm
Forum: Libraries and Tools
Topic: Debug draw for box2d physics World
Replies: 30
Views: 24221

Re: Debug draw for box2d physics World

Very handy! Thanks :)
by The_JinJ
Wed Jul 27, 2016 4:00 pm
Forum: Support and Development
Topic: love-android-sdl2 0.10.1 working build setup
Replies: 2
Views: 2297

love-android-sdl2 0.10.1 working build setup

I have used and tested the following to build on Linux (Mint 17.3) Hopefully it will be of some use to others and should be possible to translate to Windows, I assume same versions will work ok there. I have installed tool versions independent of existing system installs, I use a shell script to set...
by The_JinJ
Mon Jul 25, 2016 6:39 pm
Forum: General
Topic: Multi resolution layout help, DP, DPI, Scale...
Replies: 7
Views: 3851

Re: Multi resolution layout help, DP, DPI, Scale...

Came across useful code in this thread:
viewtopic.php?f=4&t=78317&p=170558&hili ... DE#p170558

Still would like to see how others are handling things :)
by The_JinJ
Mon Jul 25, 2016 3:57 pm
Forum: General
Topic: Multi resolution layout help, DP, DPI, Scale...
Replies: 7
Views: 3851

Multi resolution layout help, DP, DPI, Scale...

Hi In the process of attempting to support Android and looking into the best way to deal with the different screen resolutions and density. I have came up with the following where the layout translates fine from desktop and onto my Android device (Galaxy S6). Interested in seeing other approaches an...