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?
Love backend
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Love backend
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.
And nlove was a project to replace most non-portable things with SDL, thereby making it a more portably distribution of love.
Re: Love backend
So the renderer is opengl and all the input/audio etc is SDL?
Re: Love backend
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.
Re: Love backend
Excellent info. Thanks a lot. Shame not to see OpenGLES in there as a backend.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 3 guests