Search found 70 matches

by ReFreezed
Sun Jul 14, 2019 6:50 pm
Forum: Support and Development
Topic: Playing music with 2 sources
Replies: 5
Views: 236

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
Replies: 8
Views: 2894

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: 8279

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: 1444

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...
by ReFreezed
Sun Jun 16, 2019 12:55 am
Forum: Support and Development
Topic: What are the names of RT/LT/RB/LB buttons for Love 2D ?
Replies: 4
Views: 1394

Re: What are the names of RT/LT/RB/LB buttons for Love 2D ?

If joystick:isGamepad() returns false then you'll need to bind buttons/axes using setGamepadMapping() before any of the gamepad methods will work.
by ReFreezed
Tue Jun 11, 2019 5:32 pm
Forum: Libraries and Tools
Topic: LuaPreprocess
Replies: 8
Views: 2894

Re: LuaPreprocess

Awesome! I'll have a look at that blog post. :)
by ReFreezed
Sat Feb 02, 2019 7:55 pm
Forum: Support and Development
Topic: "Islands" not being generated after certain x/y value
Replies: 3
Views: 1360

Re: "Islands" not being generated after certain x/y value

Are you maybe drawing outside the 5000x5000 canvas? I don't see any other limits in the code.
by ReFreezed
Mon Jan 14, 2019 10:52 pm
Forum: Support and Development
Topic: Create .apk File
Replies: 6
Views: 1669

Re: Create .apk File

1. You can make .apk files on any operative system.
2. Please share your .apk file so people can help you find the problem instead of blindly guessing what the issue is.

The wiki may help you, if you didn't check it already.
by ReFreezed
Mon Jan 14, 2019 10:32 pm
Forum: Support and Development
Topic: [Solved] Streaming video hosted online?
Replies: 2
Views: 1095

Re: Streaming video hosted online?

No, you can't stream online videos with LÖVE alone (as far as I know). That seems like very unusual functionality for a game anyway. You have to download the file and then play it locally.
by ReFreezed
Sun Jan 06, 2019 7:20 pm
Forum: Support and Development
Topic: Is it possible to adjust the opacity of cursor in Love2D?
Replies: 4
Views: 647

Re: Is it possible to adjust the opacity of cursor in Love2D?

There's no way to dynamically change the opacity of the cursor. You can load the cursor image as ImageData and then change the alpha value for all pixels. Then you use the ImageData as argument for love.mouse.newCursor().