Search found 19 matches

by Substance12
Mon Jun 25, 2018 4:25 am
Forum: Support and Development
Topic: Possible to run LOVE2D entirely from TTY? (console)
Replies: 2
Views: 2235

Re: Possible to run LOVE2D entirely from TTY? (console)

I've tried disabling both modules and setting t.window to nil, but it still gives me an error asking for a graphical server
by Substance12
Mon Jun 25, 2018 1:32 am
Forum: Support and Development
Topic: Possible to run LOVE2D entirely from TTY? (console)
Replies: 2
Views: 2235

Possible to run LOVE2D entirely from TTY? (console)

A while ago I asked if there was a way to run LOVE2D without a window and I was told that it's possible, and I tried and it can indeed be done :awesome: However, as I was developing a server for a multiplayer game, I tried to run it on a Linux server and I got an SDL error saying that it required a ...
by Substance12
Wed Jan 10, 2018 12:00 am
Forum: Support and Development
Topic: How to ensure an action is performed 60 times a second?
Replies: 2
Views: 2504

How to ensure an action is performed 60 times a second?

So, I'm working on a networked game and I need some data to be stored 60 times a second. Right now I'm only calling a function every love.update(), but I know that's not gonna work because framerate can vary a lot. I've thought of doing it so a counter adds the delta time to a variable, and every ti...
by Substance12
Wed Dec 20, 2017 3:35 pm
Forum: Support and Development
Topic: Making a custom build of LÖVE that can be run on CLI?
Replies: 4
Views: 2780

Re: Making a custom build of LÖVE that can be run on CLI?

Damn, I feel dumb now :o: glad to hear it's so easy though, thanks a lot! And I don't think I'll use io.read, but I'll keep that in mind.
by Substance12
Wed Dec 20, 2017 1:27 pm
Forum: Support and Development
Topic: Making a custom build of LÖVE that can be run on CLI?
Replies: 4
Views: 2780

Making a custom build of LÖVE that can be run on CLI?

I'm developing a multiplayer game and I want to know if it's possible to build a version of LÖVE that doesn't show any window, allowing it to be run in a command line. I would need to do this to run the servers, as I'd rather not have to port all of my game to plain Lua and figure out a new way to u...
by Substance12
Mon Jan 02, 2017 2:19 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 411468

Re: "Questions that don't deserve their own thread" thread

So I'm currently following this tutorial: https://gamedevelopment.tutsplus.com/tutorials/how-to-write-a-smoke-shader--cms-25587 It's for JS but since it uses GLSL I'm trying to port the shader and code. However the shader is supposed to change values over time by using a buffer texture, but I haven'...
by Substance12
Fri Jul 15, 2016 3:24 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 411468

Re: "Questions that don't deserve their own thread" thread

Well, that's the problem, the new canvas won't go any higher than 800x600, even if you resize the screen

EDIT: Nevermind, it was a completely unrelated issue. Already fixed it
by Substance12
Fri Jul 15, 2016 12:37 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 411468

Re: "Questions that don't deserve their own thread" thread

How do I make it so I can keep my game pixel-perfect scaled 2x at any resolutions? I've tried with Canvases and HUMP.camera, and it can draw, but I can't manage to change the size of the canvas any higher than the resolution the window had when I created the canvas first. Even if I create the canvas...
by Substance12
Sun Jul 10, 2016 6:52 pm
Forum: Support and Development
Topic: Grease/ENET not working
Replies: 4
Views: 2517

Re: Grease/ENET not working

Yeah, server is launched before the client. I have tried switching the update(dt) functions so the server updates before the client and vice versa but I get the same result. I used netstat and noticed that the 1337 port is used both with an UDP and ENET server when the game is launched, so, at least...
by Substance12
Sun Jul 10, 2016 6:18 pm
Forum: Support and Development
Topic: Grease/ENET not working
Replies: 4
Views: 2517

Re: Grease/ENET not working

Ah, yes, it returns err, "Could not connect"