Search found 509 matches

by MrFariator
Mon Jan 02, 2023 2:06 pm
Forum: Support and Development
Topic: [Closed] Change stencil when depth test fails
Replies: 5
Views: 1460

Re: Change stencil when depth test fails

As far as I know, the stencil function can only alter the values of pixels it touches, as per the StencilAction page on the wiki (except maybe Invert? Never used it). As such, depending on if you want to limit your rendering to things the stencil touches, or to limit to things the stencil is not tou...
by MrFariator
Fri Dec 30, 2022 6:56 pm
Forum: General
Topic: Java Love2D?
Replies: 12
Views: 3584

Re: Java Love2D?

Frankly, it'd be such a monumental task that you're better off using libGDX or similar than waiting for it to happen. That, or write a language with syntax similar to Java that transpiles to lua, basically your own moonscript . But perhaps more importantly, while having preferences on various things...
by MrFariator
Fri Dec 23, 2022 9:51 am
Forum: Games and Creations
Topic: Gravity Circuit
Replies: 14
Views: 11760

Re: Gravity Circuit - Demo available

We announced yesterday that we'll be bringing Gravity Circuit to consoles too. Namely, Nintendo Switch, PlayStation 4 and PlayStation 5 . To mark the occasion, we also created a new trailer, check it out below: Dc39hMCBSaQ Since the demo went up, a whole bunch of gameplay tweaks and adjustments have...
by MrFariator
Fri Dec 23, 2022 4:53 am
Forum: General
Topic: Are there any Love2D alternatives?
Replies: 15
Views: 8772

Re: Are there any Love2D alternatives?

If you like libGDX, XNA, and PascalCase, then perhaps take a look at C# frameworks or engines. Unity is a game engine, not game framework. I did specify "or engines", after all. I'm making that library by the way :P But I get a "userdata value" error. Guess you could share your ...
by MrFariator
Thu Dec 22, 2022 8:54 pm
Forum: General
Topic: Are there any Love2D alternatives?
Replies: 15
Views: 8772

Re: Are there any Love2D alternatives?

If you like libGDX, XNA, and PascalCase, then perhaps take a look at C# frameworks or engines. Here's a quick list provided by a google search . I hear Unity is a popular one. Also for what it is worth, PascalCase is more of a convention, and not strictly enforced by any language. Due to lua's monke...
by MrFariator
Wed Dec 14, 2022 1:41 pm
Forum: Support and Development
Topic: Fullscreen Resolution incorrect when using windows scaling
Replies: 4
Views: 1396

Re: Fullscreen Resolution incorrect when using windows scaling

Here's a relevant forum post, although I'm not sure how up-to-date that information is. You may try love.graphics.getDPIScale, but I'm not sure if it helps on Windows.
by MrFariator
Wed Dec 07, 2022 6:33 pm
Forum: Support and Development
Topic: Some way to check if running from source code vs. .love file? (solved)
Replies: 8
Views: 1515

Re: Some way to check if running from source code vs. .love file? (solved)

Yeah, my solution might require some extra steps - but I found it to be a necessary thing when sharing builds for testers and the like. Basically, in my build script (just a batch file for Windows fused releases), I have it do this as part of the bundling process: echo return { BUILD_DATE='%YYYY%-%M...
by MrFariator
Wed Dec 07, 2022 1:09 am
Forum: Support and Development
Topic: Some way to check if running from source code vs. .love file? (solved)
Replies: 8
Views: 1515

Re: Some way to check if running from source code vs. .love file?

Personally, I wound up going with a build system that includes a file that's only present in .love or fused builds, when those get made. If this file is not present, then the game assumes it's running from source.
by MrFariator
Thu Dec 01, 2022 1:28 am
Forum: General
Topic: is it possible to create a png?
Replies: 4
Views: 1582

Re: is it possible to create a png?

If you give the encode function a filename to use (the second parameter if you check the wiki), it will save the resulting image file in your save folder . The save folder location will depend on system, whether your project is running in fused mode or not, and what your project's app identity is se...
by MrFariator
Wed Nov 30, 2022 11:43 pm
Forum: Support and Development
Topic: Physics max velocity tied to framerate
Replies: 3
Views: 2629

Re: Physics max velocity tied to framerate

The default love.run will basically call love.update as often it can (well, to a degree). This will affect your physics simulation, particularly if the delta time between update ticks is not stable. Like how GVovkiv posted, box2d instead expects a fixed tick rate for physics steps - and this is whe...