Search found 383 matches

by Santos
Tue Sep 26, 2017 11:22 am
Forum: General
Topic: Offline LÖVE documentation for download
Replies: 94
Views: 209839

Re: Offline LÖVE documentation for download

Hi Fuzzlix :) Thanks for pointing out the external links, I think this might be due to how Chrome (and maybe other browsers) saves the HTML file. It seems that right clicking on the links to the URLs above and selecting "Save link as..." will save the file with relative links, but opening the page a...
by Santos
Mon Sep 25, 2017 3:04 pm
Forum: General
Topic: Trying the new stuff in 0.11.0
Replies: 40
Views: 11224

Re: Trying the new stuff in 0.11.0

Here is another sound recording example, showcasing what is clearly the ultimate use case.

Speak, whistle, scream, hum, or curse into the microphone at the same time as you press any key. This can be repeated.
by Santos
Mon Sep 25, 2017 2:53 pm
Forum: General
Topic: The Complete Works of Santos
Replies: 0
Views: 1378

The Complete Works of Santos

I wanted to have one place which links to everything I've helped make, so here it is. :crazy: One-page LÖVE API reference Tutorials for making simple games with LÖVE Introduction to LÖVE Code explanations: Rebound's particle effects Sprite sheet maker Recursive resource loading function Recursive re...
by Santos
Mon Sep 25, 2017 2:04 pm
Forum: General
Topic: Offline LÖVE documentation for download
Replies: 94
Views: 209839

Re: Offline LÖVE documentation for download

I've changed the design of the one-page reference and added translations. Right-click and select "Save link as..." to save the file with relative links for offline viewing. English Deutsch Français 日本語 한국어 Português Русский (These URLs are probably temporary.) Much of the translated text is from Goo...
by Santos
Mon Sep 25, 2017 2:02 pm
Forum: Support and Development
Topic: API questions
Replies: 14
Views: 2992

Re: API questions

Weird indeed, thanks slime.
by Santos
Mon Sep 25, 2017 12:00 pm
Forum: Support and Development
Topic: API questions
Replies: 14
Views: 2992

Re: API questions

So this is probably an SDL thing and maybe a "my computer is just weird" thing, but when I press this laptop's Fn key and press the function keys, I get unexpected results from love.keypressed. For example, when I press Fn and F1 (which is mute), I get the key "d" (the scancodes are the same as the ...
by Santos
Fri Sep 22, 2017 12:46 pm
Forum: Support and Development
Topic: API questions
Replies: 14
Views: 2992

Re: API questions

Neat, thanks! :) function love.load() imagedata = love.image.newImageData('image.png') width, height = imagedata:getDimensions() compressed = love.math.compress(imagedata, 'gzip') filedata = love.filesystem.newFileData(compressed:getString(), '') decompressed = love.math.decompress(filedata, 'gzip')...
by Santos
Fri Sep 22, 2017 11:45 am
Forum: Support and Development
Topic: API questions
Replies: 14
Views: 2992

Re: API questions

(Excuse the double post again!) The description for love.math.decompress says it can accept a previously compressed Data object along with a CompressedDataFormat as arguments. I'm confused as to when this would be possible. What other types of Data objects, other than CompressedData, can be decompre...
by Santos
Fri Sep 15, 2017 6:46 am
Forum: General
Topic: Jagged filled shapes
Replies: 7
Views: 1900

Re: Jagged filled shapes

I suspect that maybe a MSAA value of 16 is higher than the maximum possible MSAA value of the computer that you're using (like the computer that I'm using). Maybe you could try 8: love.window.setMode(800, 600, {msaa = 8}) This can also be set in love.conf to avoid the flickering of the window as it ...
by Santos
Thu Aug 17, 2017 8:46 am
Forum: Support and Development
Topic: API questions
Replies: 14
Views: 2992

Re: API questions

Cool, thanks again slime! :) Question number 4: Can a SoundData object be compressed and decompressed and remade? Based on how it works with ImageData I imagined love.sound.newSoundData might undocumentedly work like this: function love.load() sounddata = love.sound.newSoundData('sound.wav') sampleC...