Search found 5 matches

by HellzoneByron
Fri Sep 01, 2017 6:43 pm
Forum: Support and Development
Topic: Drawing to a canvas with a closed window.
Replies: 4
Views: 4729

Re: Drawing to a canvas with a closed window.

Apologies for such a belated response. I've decided to go with the software rendering approach -- something I wasn't aware of beforehand. Granted it's not going to be as fast but speed is not a large concern in practice considering this image is only called upon once every 10 seconds. I am tempted t...
by HellzoneByron
Fri Aug 25, 2017 6:57 pm
Forum: Support and Development
Topic: Drawing to a canvas with a closed window.
Replies: 4
Views: 4729

Drawing to a canvas with a closed window.

I've been implementing a headless server for my game and I'm implementing a feature that effectively draws a simple approximation of the world and draws it to a canvas, sending it to the server admin over HTTP. However, I'm running into an issue: when running it in a completely headless operation by...
by HellzoneByron
Wed Aug 02, 2017 12:49 pm
Forum: General
Topic: Trying the new stuff in 0.11.0
Replies: 40
Views: 30037

Re: Trying the new stuff in 0.11.0

I've (very quickly) written a library for this purpose: -- 0.11.0 color compatibility library TwoFiftyFive = { Functions = {}, Init = function(t) for i = 1, #t do TwoFiftyFive.Make(t[i]) end end, Make = function(x) TwoFiftyFive.Functions[x] = love.graphics[x] love.graphics[x] = function(r,g,b,a) ret...
by HellzoneByron
Mon Jul 31, 2017 7:55 pm
Forum: Support and Development
Topic: Detecting/interrupting when a user is quitting the program
Replies: 2
Views: 2577

Re: Detecting/interrupting when a user is quitting the program

Excellent, thank you. :-)

I'm now worried to see what else I missed on the love function callbacks page!
by HellzoneByron
Sun Jul 30, 2017 11:29 am
Forum: Support and Development
Topic: Detecting/interrupting when a user is quitting the program
Replies: 2
Views: 2577

Detecting/interrupting when a user is quitting the program

I'm working on a multiplayer game, and I'm currently looking into a way to prepare the client for a shutdown with Alt-F4 or ⌘Q if a user tries to midgame. As it stands, both sides work, however if a player quits, it currently leaves the player on the server for a few brief moments. I've tried the us...