Jump to content

Josh

Staff
  • Posts

    23,141
  • Joined

  • Last visited

Posts posted by Josh

  1. I think it might be a good idea to render point and spot lights in this manner using a sphere or cone mesh with a special shader. You would need the material set to use blending, and the mesh would have to reference the light it belongs to. That would save you from stepping through a lot of empty space.

  2. Makes sense to me. The local variable goes out of scope when the function finishes, and the variable is collected and the value deleted.

    In Ultra, we can actually make use the Lua's garbage collection :)

  3. The error is on IntersectsPoint. I am testing it in the editor console.

    Ah, I see. There is an extra padding argument you must supply:
    aabb:IntersectsPoint(Vec3(0), 0)

    I will add an overload so this is not required.

  4. I do not know what those all are. You only need the file I linked to. Installing repackaged redistributables from a third party that "removes bloat" is highly suspicious.

    Installing Visual Studio Community Edition 2022 is also a guaranteed way to get it installed right.

  5. You do have the Lua debugger extension installed, right?: https://marketplace.visualstudio.com/items?itemName=devCAT.lua-debug

    Do you have other Lua extensions installed that might be interfering with this?

    5 hours ago, Alienhead said:

    PS: Are projects bound to the documents folder? Only thing I can think of is I use an alternative directory for projects ( I try and avoid the documents folder at all costs. )

    Projects can be created in any folder.

    This is the only mention I can find of this same error: https://stackoverflow.com/questions/76122037/how-do-i-set-up-to-run-love2d-lua-game-when-i-want-to-the-only-way-i-can-finagl

    Have you tried added a variable "program"? Do the JSON settings recognize this value, or does it show a yellow curvy underline under the word "program"?

    "program": "${workspaceFolder}/Controller_d.exe",

     

×
×
  • Create New...