Search found 576 matches

by ReFreezed
Fri Feb 14, 2020 3:58 pm
Forum: Games and Creations
Topic: Lissajous curves
Replies: 2
Views: 4930

Re: Lissajous curves

You can get some interesting patterns with higher speeds.
lissajous.png
lissajous.png (18.79 KiB) Viewed 4729 times
by ReFreezed
Mon Jan 06, 2020 1:43 pm
Forum: Support and Development
Topic: Execution speed varies wildly (47x) between (but not during) runs
Replies: 15
Views: 7730

Re: Execution speed varies wildly (47x) between (but not during) runs

I tested it and I seem to get similar inconsistency between different runs. Sometimes the test takes 0.008 seconds every time, sometimes they take 0.120 every time. I'm not sure this information will help with your situation in any way, and it may have nothing to do with the inconsistency, but in my...
by ReFreezed
Mon Jan 06, 2020 10:56 am
Forum: Libraries and Tools
Topic: Steamworks FFI
Replies: 45
Views: 55052

Re: Steamworks FFI

Nice, this is very useful!
by ReFreezed
Sat Aug 03, 2019 12:21 pm
Forum: Libraries and Tools
Topic: Another Lua Vector library
Replies: 14
Views: 12727

Re: Another Lua Vector library

If you really care about performance (maybe just in special areas of some innerloops where you need the best possible performance) you could easily localize the methods in question, shortcutting all the overhead described above and directly call them with your tables. I just want to add that the ab...
by ReFreezed
Fri Jul 26, 2019 9:31 am
Forum: Support and Development
Topic: Windows 32-bit OpenAL32.dll crashes
Replies: 3
Views: 4119

Re: Windows 32-bit OpenAL32.dll crashes

This would probably be good to report in the issue tracker: https://bitbucket.org/rude/love/issues

(Looking at the properties of the 11.2 love.exe reveals that the file version value is 11.1.0.0. I assume the LÖVE team just forgot to update the value when compiling the exe.)
by ReFreezed
Sun Jul 14, 2019 6:50 pm
Forum: Support and Development
Topic: Playing music with 2 sources
Replies: 5
Views: 3001

Re: Playing music with 2 sources

To make sure one sound is played exactly after another with no interruption you need to use a queueable source. (Your example actually plays seamlessly for me but that's just luck.)
by ReFreezed
Thu Jul 11, 2019 6:13 pm
Forum: Libraries and Tools
Topic: LuaPreprocess - straightforward preprocessor with simple syntax
Replies: 75
Views: 138857

Re: LuaPreprocess

Cool! I read through it. There's one thing in step #4 I think is a bit confusing/misleading: //this is how to use the luapreprocess as a code block, remember the syntax ! to denote the start and end of the code block to be preprocessed An ! without a parenthesis simply means the rest of the line is ...
by ReFreezed
Thu Jun 27, 2019 7:35 am
Forum: Support and Development
Topic: Cannot create image (OpenGL error: invalid operation)
Replies: 2
Views: 12449

Re: Cannot create image (OpenGL error: invalid operation)

I'm not sure if it's the problem, but that image uses 16 bits per sample instead of the more common 8 bits.
by ReFreezed
Wed Jun 19, 2019 2:40 am
Forum: Support and Development
Topic: [HELP] Problem to understand how implement Joystick/Controller works
Replies: 1
Views: 3914

Re: [HELP] Problem to understand how implement Joystick/Controller works

joystick:getGamepadAxis() returns a number, not a boolean, which is why both prints trigger. Don't bother using love.joystickaxis() if you just want to know the current value of a joystick axis in love.update() - simply call joystick:getGamepadAxis() inside love.update(). love.joystickaxis() gets c...