Zykino

joined 2 months ago
[–] Zykino 4 points 1 day ago (1 children)

I'm on Linux and a prebuit PC would be a nice change. But at the same price or lower than Windaube, since I don't want a licence for them.

I will prefer to build myself rather than paying an extra k…

[–] Zykino 1 points 1 week ago

Did you tried UnCiv ? Feels like garbage to play to me. Maybe it is just too complete for my mobile game sessions... (And I don't really like civilisation turn based games anymore.)

Mindustry (factorio like) plays badly on mobile (everything is too small, touch is not precise need to zoom a lot but you don't see anything/can't build long belt that way). But now I want to play it on PC.

On the other hand, Feudal Tactics is really nice to play on mobile.

[–] Zykino 1 points 1 week ago (1 children)

Apparently stow -t exist too.

[–] Zykino 4 points 1 week ago (3 children)
  1. You need a license
  2. usage should just be help (avoid extra step)
  3. connect does not exist (see add and cmd list)
  4. You can git clone <REPO> <DEST FOLDER>, no need to cd
  5. maybeCreateDir is not used each time, there are some mkdir
  6. "changes" is not a helpfull commit message. Accept an optional argument string and {MESSAGE:=change}
  7. Accept a different repo path
  8. set -euxo pipefail at the start of the script if you want to exit at any error. Some sort of bash strict mode
  9. shellcheck does not like iterating over ls's output

I'm too lazy to open issues/PR for all that, and I still need to learn stow. Hopfully this might help me ? (I don't really need help with git that this sçript look to abstract too much for me.)

[–] Zykino 1 points 1 week ago

Thanks. I think your message is not very clear at first (since I did not know about "nav mesh"). But reading Wikipedia is clear now. It also helped me find the official page (added the link in the post).

[–] Zykino 3 points 1 week ago (1 children)

La faute à qui ? Qui aurait pu prévoir que le groupe présidentiel ne retrouverait pas la majorité au lendemain des européenes ?

[–] Zykino 4 points 1 week ago (1 children)

Yup, pull requests are an invention from git's servers (I think github came up with that first). The built in way (famously used by the linux kernel) is git-send-email.

22
submitted 2 weeks ago* (last edited 1 week ago) by Zykino to c/godot
 

I have been looking for a way to move non player entities on the map. For example I want cars to move around road, a parking lot, … I found way too many options without comparaison to see pro/cons. Is there a ressource telling which option is privileged?

I saw (in 2D, but I suspect all/most have their 3D equivalent):

Option My understanding
Path2D Very rigid path to follow (only saw used with tween). Can be nice to follow tracks, insert cubes in slot, … But when trying to have a more natural movement, with a bit of variety thanks to physic I don’t see how to do it.
AStar2D (and the AStar2DGrid variant) Robust algo known everywhere. Can add weight to connections. I suspect to make it work we have to give points to reach so we should "cover" the maps with points and link them together
NavigationServer2D Same as AStar2D but experimental, more automatic. Instead of specifying all the point we specify accessible zones. But adding weight to the connection is less obvious (using NavigationObstacle2D?) may be less customizable also?

Are there more options?
Is my understanding of each correct or completely wrong?
What is "the best" one (in Godot 4.3)? Like is there big performance drawback for some (at 100 entities there are lags or whatever)?

Keep in mind that I want my game as little as I can to understand how Godot/game engines work (I’m a developer so that part is easy, Scenes and Nodes choice less so), I don’t really care if using experimental feature means it disappear at some point or change behavior.

Edit: Just found out the official page explaining the different methodes.
So AStar is for grid/pathing on a set of points while NavigationServer can navigate to any point on the accessible area and uses A* as an implementation detail.

=> I think for my use case A* is better suited since I want to move on roads (that look like a grid with weight being the length).

[–] Zykino 3 points 4 weeks ago

Oh, didn't knew about Alt d. Thx

[–] Zykino 15 points 4 weeks ago (2 children)

When I'm unsure, I ls <the-glob>, chek, then replace ls with rm.

[–] Zykino 2 points 1 month ago

Sadly I can't recommand pop-os. In 2 years, the updates broke twice on me.

The resolutions where simple enough if you can use the command line to run sudo apt update, sudo apt upgrade. But the GUI shop updater just crashed on me without the apt error message visible.

It is a nice distro overall with which you can even try tiled windows without commiting to it.

-> pop-os is nice but it may break from times to times. So if (like me or most dev) you are ok with the CLI and just a bit of fixes from times to times then go for it. But if you are affraid of the CLI or never want to fix anything, then some other distro may be a better choice.

[–] Zykino 6 points 1 month ago (1 children)

Just use this one... or any of this 4 others.

This is the issue for us, python outsiders. Each time we try we get a different answer with new tools. We are outside of the comtunity, we don't know the trend, old and new, pro and cons.

Your first recommandation is hatch... first time I've heard of it. Uv seems trendy in this thread, but before that it was unknown to me too.

As I understands it, it should be pip's job. When it detect I'm in a project it install packages in it and python use them. It can use any tool under the hood, but the default package manager shoud be able to do it on its own.

[–] Zykino 1 points 1 month ago (1 children)

On that note, I'm hesitant between writing my scripts in perl or python right now. Bash prevent sharing with Windows peoples... I just want to provide easy wrappers tools that are usually aroud 10 lines of shell, but testers ain't on linux so they cannot use them.

I don't know perl, but each time I interract with pyton's projects I have a different venv/poetry/... to setup. Forget adout it the next time and nothing is kept easy to reuse.

view more: next ›