Search found 2755 matches

by slime
Mon Nov 05, 2018 12:06 am
Forum: Support and Development
Topic: love.exe and hello world code won't run. No reaction at all.
Replies: 11
Views: 4062

Re: love.exe and hello world code won't run. No reaction at all.

Sorry about that, I've updated the link with fixed download links. We're working on getting an official release out ASAP.
by slime
Tue Oct 30, 2018 11:18 pm
Forum: Support and Development
Topic: 3D lighting -- vertex normals?
Replies: 2
Views: 1053

Re: 3D lighting -- vertex normals?

You can access custom vertex attributes you've set via mesh vertex formats, by declaring them with the same name as an attribute in the vertex shader code. e.g. in your shader code you'd do something like this, since you have the "VertexNormal" attribute as part of your mesh's vertex format: attribu...
by slime
Wed Oct 24, 2018 1:08 am
Forum: Support and Development
Topic: A valid parameter set for setCanvas() isn't documented?
Replies: 2
Views: 1065

Re: A valid parameter set for setCanvas() isn't documented?

It's not a mistake, it's just work that hasn't been done yet.
by slime
Mon Oct 22, 2018 10:21 pm
Forum: Support and Development
Topic: [SOLVED] setCanvas() expects a number argument?
Replies: 3
Views: 733

Re: setCanvas() expects a number argument?

If the canvas is an array texture or cubemap or 3D texture, you need to give it a layer/cube index to render to as an argument in setCanvas.
by slime
Mon Oct 22, 2018 9:37 pm
Forum: Support and Development
Topic: What was the reasoning for changing setColor from RGB 0-255 to 0-1 interval?
Replies: 39
Views: 8174

Re: What was the reasoning for changing setColor from RGB 0-255 to 0-1 interval?

It's not an implementation detail, it's consistency and extensibility. Previous love versions already had colors in the 0-1 range... but only in shaders, which is not consistent. love 11 also allows you to create and modify ImageData at different bit depths than 8 bits per color component (e.g. via ...
by slime
Sun Oct 14, 2018 12:38 pm
Forum: Support and Development
Topic: Documentation on BOX2D Locks
Replies: 2
Views: 1091

Re: Documentation on BOX2D Locks

I think only the World:setCallbacks page should have it, since almost every love.physics object method that modifies the object can't be used (that's a lot of things to document), whereas World:setCallbacks is what affects those functions, so people who don't use that method won't care about those n...
by slime
Sat Oct 13, 2018 4:53 am
Forum: General
Topic: I demand that LÖVE add support of lua 5.3
Replies: 7
Views: 4579

Re: I demand that LÖVE add support of lua 5.3

EliterScripts wrote:
Sat Oct 13, 2018 2:58 am
string.pack()

string.unpack()
I've got good news, those are already in love (in a different module, but the code for them is from Lua 5.3's source code.) :)

love.data.pack

love.data.unpack
by slime
Thu Oct 11, 2018 11:16 am
Forum: General
Topic: May love2d planned move to github?
Replies: 20
Views: 7536

Re: May love2d planned move to github?

karolek wrote:
Thu Oct 11, 2018 6:56 am
Bitbucket also uses git, you know. So there's no difference in usage from console or any git client :|
LÖVE's repository uses Mercurial.
by slime
Tue Oct 09, 2018 11:47 pm
Forum: Support and Development
Topic: How does love.dll expose love2d's functions?
Replies: 4
Views: 1257

Re: How does love.dll expose love2d's functions?

Most C++ classes aren't exported publicly from the dll I think. In ImageData::setPixel's case, it's actually a lot faster to call ImageData:mapPixel (from Lua) than setPixel, because that has a very fast FFI implementation.

What do you want to do in C++ with love's API?
by slime
Sat Oct 06, 2018 3:05 am
Forum: Support and Development
Topic: love.exe and hello world code won't run. No reaction at all.
Replies: 11
Views: 4062

Re: love.exe and hello world code won't run. No reaction at all.

Windows 10 version 1809 changed the behaviour of an API love uses during startup, unfortunately. There's a build with a fix here until an official release happens: https://bitbucket.org/rude/love/issues/ ... t-48155677