Search found 512 matches

by MrFariator
Sat Sep 11, 2021 9:17 pm
Forum: Support and Development
Topic: Worth using love physics for basic rpg-like map?
Replies: 6
Views: 3840

Re: Worth using love physics for basic rpg-like map?

You don't need to do anything special with bump to detect any interactables. Just have some flag (eq. isInteractable) in the objects in the objects you put into the bump world, and then pass a filter that detects them - whether it happens during the player movement step, or as a separate queryRect c...
by MrFariator
Fri Sep 03, 2021 3:36 am
Forum: Support and Development
Topic: [Solved] Callback functions executed from a folder?
Replies: 2
Views: 3561

Re: Callback functions executed from a folder?

Guess I'll break the whole thing down, just to cover everything... When you run the require() call, it looks for either a file called "sti", or a folder by that name. If it's a folder, the require() call then checks if it contains an init.lua file, runs it, and returns a value, usually a t...
by MrFariator
Wed Sep 01, 2021 10:55 pm
Forum: Support and Development
Topic: bump.lua problem: Player pushed through wall
Replies: 8
Views: 6112

Re: bump.lua problem: Player pushed through wall

Good to know you got the thing sorted out. Those zips can be a bit annoying to track down at times. I scratch my head at ppl that use BUMP Bump and Box2d tackle collisions differently, and one is not superior over the other. Box2d aims to provide a realistic simulation, while bump is geared towards ...
by MrFariator
Tue Aug 31, 2021 12:07 pm
Forum: Support and Development
Topic: bump.lua problem: Player pushed through wall
Replies: 8
Views: 6112

Re: bump.lua problem: Player pushed through wall

As far as I can tell, this seems like typical "zipping" (a term used when describing odd behavior, where the game actively tries to push an object, such as player , out of a wall). You usually see this behavior with bump when an object finds itself overlapping something it's supposed to co...
by MrFariator
Thu Aug 26, 2021 8:02 pm
Forum: Support and Development
Topic: Logic only affected last index in table
Replies: 1
Views: 3874

Re: Logic only affected last index in table

This is because you're assigning a value to LET_BUTTON_SELECTED every time the button.highlight() function is called. As such, you're overwriting it over and over again, until you reach the last element in your buttons table. This ensures that only the last button actually matters. I think in your c...
by MrFariator
Mon Aug 23, 2021 9:39 am
Forum: Support and Development
Topic: Question: what is an underscore?
Replies: 5
Views: 6817

Re: Question: what is an underscore?

This has more to do with the arguments love.draw accepts, than what an underscore is. As per löve wiki , the third argument is rotation, fed by radians. If the third argument is any non-zero number value, the drawn image will be rotated. In lua, it's a convention to use a single underscore as a shor...
by MrFariator
Tue Aug 17, 2021 10:58 pm
Forum: General
Topic: Löve Windows Distribution & Custom icon [Youtube]
Replies: 2
Views: 6854

Re: Löve Windows Distribution & Custom icon [Youtube]

I think for the purposes of a video like this, it could've been good to show a diagram of what the zip's contents should look like internally. 7zip does things nicely, but windows' own zipping tools can be a bit weird, if someone happens to be using them. Could've maybe also zoomed in more on the fi...
by MrFariator
Sat Jul 31, 2021 10:16 am
Forum: Support and Development
Topic: online single player
Replies: 12
Views: 6568

Re: online single player

How many games do this? Technically a fair bunch of them, because a lot of "gacha" titles on mobile devices don't have direct player-to-player interactions. They may have some social features or ranking systems, but not necessarily anything where players directly play with or against one ...
by MrFariator
Sat Jul 31, 2021 9:04 am
Forum: Support and Development
Topic: Problem with love.filesystem.getInfo returning nil.
Replies: 3
Views: 3190

Re: Problem with love.filesystem.getInfo returning nil.

GVovkiv is correct in that you can only load files from your project's "folder" or archive (where main.lua is), and save folder (appdata on windows, etc), but it does not answer the problem here. Lets take a deeper look. If you take a look at the wiki page for love.filesystem.getInfo , it ...
by MrFariator
Wed Jul 28, 2021 12:44 pm
Forum: General
Topic: LOVE2D games on steam
Replies: 2
Views: 3817

Re: LOVE2D games on steam

To add to darkfrei's answer, whatever game or app you release on Steam will have a löve logo or watermark only if you implement it yourself. The löve executable (ie. löve.exe on windows, etc) that you use for your distribution may have the löve icon, but that can be changed by building the executabl...