Search found 492 matches

by dusoft
Sat Jan 27, 2024 6:09 pm
Forum: Libraries and Tools
Topic: ngui - Structured GUI framework for Love2D
Replies: 0
Views: 2585

ngui - Structured GUI framework for Love2D

Found this on Mastodon:
https://github.com/codecat/ngui

ReadMe is not very clear on how laying items out works. But give it a try.
by dusoft
Sat Jan 27, 2024 10:55 am
Forum: Support and Development
Topic: Hardon collider Problem coming in dectectings collision properly
Replies: 6
Views: 1696

Re: Hardon collider Problem coming in dectectings collision properly

Sorry to bear bad news, but HC is pretty outdated. You can search forum for mentions, I also mention there using older version that was less buggy. Thanks to insure that I was looking for physics library what do you think which is the best Difficult to say. I tried them (probably) all - breezefield...
by dusoft
Fri Jan 26, 2024 1:22 pm
Forum: Support and Development
Topic: Hardon collider Problem coming in dectectings collision properly
Replies: 6
Views: 1696

Re: Hardon collider Problem coming in dectectings collision properly

Sorry to bear bad news, but HC is pretty outdated. You can search forum for mentions, I also mention there using older version that was less buggy.
by dusoft
Mon Jan 22, 2024 9:30 pm
Forum: Support and Development
Topic: How to get the pointer to a file ?
Replies: 2
Views: 1003

Re: How to get the pointer to a file ?

Is it self explanatory, though?

Code: Select all

file
is your variable that you can use with functions like open or close...

https://love2d.org/wiki/File

And if by pointer you mean position, then:
https://love2d.org/wiki/(File):seek
by dusoft
Sun Jan 21, 2024 4:00 pm
Forum: Support and Development
Topic: Isometric Pathfinding Bugs
Replies: 3
Views: 953

Re: Isometric Pathfinding Bugs

Just a random pointer - do you provide map rows as subtables?

e.g.:

Code: Select all

local map = {
	{0,1,0,1,0},
	{0,1,0,1,0},
	{0,1,1,1,0},
	{0,0,0,0,0},
}
This will not work (or rather would be just one straight row of 20 columns):

Code: Select all

local map = {
	0,1,0,1,0,
	0,1,0,1,0,
	0,1,1,1,0,
	0,0,0,0,0,
}
by dusoft
Fri Jan 19, 2024 11:34 pm
Forum: Support and Development
Topic: remove file
Replies: 5
Views: 5680

Re: remove file

It does, yes.
by dusoft
Tue Jan 16, 2024 10:53 pm
Forum: Support and Development
Topic: remove file
Replies: 5
Views: 5680

Re: remove file

I made a file and want to remove it in löve2d. when I use the love.filesystem.remove("wow.lua") it doesn't delete the file Check that you are referring to the same path as the filesystem module is: This module provides access to files in specific places: The root folder of the .love archi...
by dusoft
Mon Jan 08, 2024 11:45 am
Forum: Libraries and Tools
Topic: [LIBRARY] srt.lua A simple srt caption parser
Replies: 8
Views: 74642

Re: [LIBRARY] srt.lua A simple srt caption parser

Nice. Are you developing a video player?
by dusoft
Thu Jan 04, 2024 12:06 pm
Forum: General
Topic: Audio Source GC
Replies: 10
Views: 103530

Re: Audio Source GC

I only ever create the audio source once, on load, and I reference the table that contains those sounds. I can iterate thousands of sounds on every frame with basically no performance hit at all. This is indeed good to know. No performance hits and you tested it on multiple systems? If I understand...
by dusoft
Wed Jan 03, 2024 1:30 pm
Forum: Support and Development
Topic: How to path around blocked tiles with jumper?
Replies: 12
Views: 78421

Re: How to path around blocked tiles with jumper?

Brah wrote: Wed Jan 03, 2024 11:40 am Either Dijkstra, Breadth First Search or Flood Fill. I have no idea which one to use
You might need to experiment with speed of finding your path. Just run a test over 100 times using one algo, then a diferrent one and benchmark times.