Headless mode?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
mrjames
Prole
Posts: 2
Joined: Sun May 08, 2016 9:56 pm

Headless mode?

Post by mrjames »

Hi! First post from me!

I'm just getting started. I would like to play with some client/server socket-type code on the one machine. Is there some way to get LÖVE2D to start with no GUI/headless for the server side? I'm trying to keep my dev environment SUPER simple and want to dive in to Lua programming at both ends (I'm a C++ greybeard).

Thanks!

James
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Headless mode?

Post by Nixola »

You can set t.window to false in [wiki]love.conf[/wiki]. That should do it.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
mrjames
Prole
Posts: 2
Joined: Sun May 08, 2016 9:56 pm

Re: Headless mode?

Post by mrjames »

That worked a treat. Thanks!
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 2 guests