Search found 497 matches

by dusoft
Sun Feb 04, 2024 9:19 pm
Forum: Libraries and Tools
Topic: [LIBRARY] language.lua A simple string manager for localization in pure lua
Replies: 4
Views: 1394

Re: [LIBRARY] language.lua A simple string manager for localization in pure lua

Any new open source library is welcome, so thanks. I checked it and it seems similar to: https://github.com/kikito/i18n.lua Both yours and Kikito's will work great for smaller number of text strings. Once your need is in hundreds to thousands of strings (e.g. adventure game with lots of dialogs etc....
by dusoft
Sat Feb 03, 2024 11:38 pm
Forum: General
Topic: tileGrid function
Replies: 4
Views: 1271

Re: tileGrid function

I think https://love2d.org/wiki/ParticleSystem would be good for falling sand simulation.

Sure, you can do it with tiles as well, but the physics will get difficult.
by dusoft
Sun Jan 28, 2024 9:39 am
Forum: Support and Development
Topic: Hardon collider Problem coming in dectectings collision properly
Replies: 6
Views: 1703

Re: Hardon collider Problem coming in dectectings collision properly

Yeah, forgot about Bump, but I hit the same issue - I needed to detect polygon collisions.
by dusoft
Sat Jan 27, 2024 6:10 pm
Forum: General
Topic: Camera jittering
Replies: 13
Views: 2185

Re: Camera jittering

Where is the rounding happening? Just the translate line might cause it without proper rounding / flooring.

Also this is recommended, but you might have that:

Code: Select all

love.graphics.setDefaultFilter("nearest", "nearest")
by dusoft
Sat Jan 27, 2024 6:09 pm
Forum: Libraries and Tools
Topic: ngui - Structured GUI framework for Love2D
Replies: 0
Views: 2635

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: 1703

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: 1703

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: 1010

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: 959

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,
}