Love backend

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
mongrol
Prole
Posts: 33
Joined: Fri Nov 30, 2012 1:01 am

Love backend

Post by mongrol »

Hi folks,
I'm just starting learning LUA and love (after 3 years of C++ and SFML) and really like it so far. I have a question though that I can't find the answer to by looking through the official docs. What does Love use for a backend? I see references to both SDL and OpenGL but can't figure out which it is. Also what is the nLove project?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Love backend

Post by bartbes »

It uses both SDL and OpenGL, and a lot more (see the bottom of License).

And nlove was a project to replace most non-portable things with SDL, thereby making it a more portably distribution of love.
mongrol
Prole
Posts: 33
Joined: Fri Nov 30, 2012 1:01 am

Re: Love backend

Post by mongrol »

So the renderer is opengl and all the input/audio etc is SDL?
User avatar
Boolsheet
Inner party member
Posts: 780
Joined: Wed Dec 29, 2010 4:57 am
Location: Switzerland

Re: Love backend

Post by Boolsheet »

Input yes, audio no. Here's a small overview what module uses what library. Might be incomplete.

Code: Select all

love.audio:      OpenAL
love.event:      SDL
love.filesystem: PhysicsFS
love.font:       FreeType
love.graphics:   SDL for the window creation, GLee for the symbol loading, and then straight up OpenGL for the drawing.
love.image:      DevIL
love.joystick:   SDL
love.keyboard:   SDL
love.mouse:      SDL
love.physics:    Box2D
love.sound:      libogg and libvorbis, libmpg123, libmodplug
love.thread:     SDL
love.timer:      SDL
Shallow indentations.
mongrol
Prole
Posts: 33
Joined: Fri Nov 30, 2012 1:01 am

Re: Love backend

Post by mongrol »

Excellent info. Thanks a lot. Shame not to see OpenGLES in there as a backend.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests