Hello,
I'm looking to make a retro vector based game like Asteroids, but with some added graphical effects on the lines and possibly other shapes like glow etc.
Is that possible at all in Love2D?
Also would it handle drawing a load of lines on screen smoothly?
Any help would be greatly appreciated.
Line drawing capabilities of Love2D
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Line drawing capabilities of Love2D
Yes. Glow can be achieved with shades. How many lines you can draw smoothly depends mostly on how you implement it.
-
- Prole
- Posts: 5
- Joined: Wed Dec 11, 2013 1:47 pm
Re: Line drawing capabilities of Love2D
Ah nice one thanks. Are there any tutorials on shaders and how to implement them knocking about?veethree wrote:Yes. Glow can be achieved with shades. How many lines you can draw smoothly depends mostly on how you implement it.
Re: Line drawing capabilities of Love2D
There's a beginners guide written by a community member. There's also the share a shader thread where you an find tons of examples.
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Line drawing capabilities of Love2D
That Shader guide is super helpful. I've been using xXxMoNkEyMaNxXx's "perspective" library shader to do my 3D texturing for a while but had been struggling to understand how it worked so I could try changing things I need. Thanks to that guide I understand a lot better.
- parallax7d
- Citizen
- Posts: 82
- Joined: Wed Jul 02, 2014 11:44 pm
Re: Line drawing capabilities of Love2D
Speaking of drawing lines, how good do Love lines look? Anti aliased? What are the based on, OpenGL?
- slime
- Solid Snayke
- Posts: 3161
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Line drawing capabilities of Love2D
'smooth' lines (the default line style) are antialiased, whereas 'rough' lines aren't, unless you have FSAA enabled for the window.
Like everything else in love.graphics they're drawn using OpenGL - they don't use OpenGL's default line rendering though, because it has some nasty issues and isn't very nice-looking.
Like everything else in love.graphics they're drawn using OpenGL - they don't use OpenGL's default line rendering though, because it has some nasty issues and isn't very nice-looking.
Who is online
Users browsing this forum: No registered users and 4 guests