Grant Morgan · @ryuuguu
0 followers · 8 posts · Server mstdn.games
Loregret · @loregret
15 followers · 15 posts · Server mastodon.gamedev.place

@teahands @gamedev

Basic is not hard. What hard is to make it use less resources and calculate as much paths as possible.

I just throw at you some links to study:

* How to implement A*
redblobgames.com/pathfinding/a

* How to optimize A* for bigger maps
youtube.com/watch?v=RMBQn_sg7D
youtube.com/watch?v=anGdYJu_eH
web.archive.org/web/2019041104

#pathfinding

Last updated 1 year ago

Olivia · @Oliviastarstuff
19 followers · 27 posts · Server fosstodon.org
Olivia · @Oliviastarstuff
2 followers · 11 posts · Server fosstodon.org

My current project is working on creating a visualisation of algorithm. I'm using to produce the visuals. but before I can do that I have to build out the grid. I've made it especially hard on myself it seems but creating a hexagon grid. Working slowly to fix the bugs.

#astar #pathfinding #pygame #python

Last updated 1 year ago

Ike · @ike
280 followers · 1075 posts · Server pkm.social

about "Dijkstra Maps"

TLDR a map of the the "costs" (time/effort) associated with traversing each node/edge of a space to a specified location.

Commonly applied to video games pathfinding AI (eg Dijkstra's). Neat use cases in adding factors to influence NPC AI behavior (eg fleeing monsters).

It makes me wonder if there is an equivalent in graph theory and thus applicable to real life domains of graph theory.

roguebasin.com/index.php?title

#til #graphtheory #pathfinding #ai #dijkstra

Last updated 1 year ago

Josh Hale · @joshhale
11 followers · 89 posts · Server toot.io

My clone has a stable (ish) out now on !! See my there and my frustrations with in , specifically for the stupid mining commands. ⛏️

josh-hale.itch.io/dfclone

#dwarffortress #demo #itchio #devlog #pathfinding #gdscript #godot #Godot4 #gamedev

Last updated 1 year ago

Josh Hale · @joshhale
3 followers · 40 posts · Server toot.io

@Achie7240 Love the progress! I just have to say, the site is AMAZING to learn about A* so I had to make sure everyone saw it. 🔴

redblobgames.com/pathfinding/a

#redblobgames #pathfinding

Last updated 1 year ago

Shiny Shinken · @shinyshinken
11 followers · 104 posts · Server mastodon.gamedev.place
Shiny Shinken · @shinyshinken
8 followers · 48 posts · Server mastodon.gamedev.place

I implemented a (somewhat nice) debug-view of my "pathfinding" code. It is actually a FlowField.

The way it works is like this: You start at the end cell, make a breadth-first-search and write down the cost for each cell.

Then you just check what cell the unit is on, check the 4 neighbours and walk towards the lowest one.

This way you only have to generate one flowfield for n units. The calculation is somewhat expensive.

#godotengine #towerdefense #pathfinding #visualization

Last updated 1 year ago

Happy Coding Bot · @HappyCodingBot
1 followers · 45 posts · Server botsin.space

When was the last time you felt truly alive and invigorated by life?

Our response can tell us a lot about:
- what might be missing now
- what brings us the most joy
- what it might be worth aiming towards

#joinin #mindfulness #joy #pathfinding

Last updated 2 years ago

Implemented a for the enemy to better deal with many enemies attempting to reach the player.

youtube.com/watch?v=Z1V3vQxrbl

#pathfinding #flowfield

Last updated 2 years ago

Aaron Wilson · @AaronWilson
11 followers · 18 posts · Server mastodon.gamedev.place

Just posted on procedurally generating dynamic maps in ! Learn how to create strategic gameplay with rivers and roads using , and . Check it out for tips and code snippets for your game dev projects!

awilsoncs.github.io/posts/rive

#tcod #roguelike #gamedev #pathfinding #simplexnoise #horderl

Last updated 2 years ago

KIAVC · @kiavc
14 followers · 9 posts · Server mastodon.gamedev.place

Managed to make another important enhancement before the year ends: this PR adds a much needed smoothening of the results! Previously, pathfinding often gave us a zig-zaggy walk for actors in presence of multiple walkboxes, due to the navmesh nature of the nodes we pass to the A* algorithm. This patch adds a helper function that uses Berenham to compute line of sight between the points in the path, in order to prune uneeded ones: if we can skip steps, we do!

github.com/lminiero/kiavc/pull

#pathfinding

Last updated 2 years ago

Tommy van Son ✔ · @TommyvanSon
88 followers · 135 posts · Server mastodon.gamedev.place

I think the basics are here

#gamedev #pathfinding

Last updated 2 years ago

Samuel Tardieu :verified: · @rfc1149
547 followers · 155 posts · Server masto.ai

Version 4.0.0 of the has been released, just in time for crates.io/crates/pathfinding

#pathfinding #adventofcode #aoc2022 #rust

Last updated 2 years ago

Kyzrati · @Kyzrati
354 followers · 45 posts · Server mastodon.gamedev.place

Ooh that's a gem (which constantly reminds me how I failed to further optimize it, but...), found a visualization of all the AI units in running their routines.

#pathfinding #cogmind

Last updated 2 years ago

Around the time I realized I would probably need to stop using the built-in Unity NavMesh components for navigation.

From Orbit Dev Log - November 2017

#gamedev #pathfinding #fromorbit #devlog

Last updated 2 years ago

fedi: are there any websites where one could interactively learn pathfinding algorithms? i'd love to get into that, but i'd prefer not having to write the testbed (maps, nodes, etc) myself if i could instead start with an environment that'll let me get right into messing around

boosts appreciated

#programming #gamedev #pathfinding

Last updated 2 years ago

Duke of Germany · @duke_of_germany
134 followers · 347 posts · Server mastodon.gamedev.place

Jesus Christ, finally! 🙏

I just wanted to "quickly" write a small path finding routine that is pixel perfect and works in concave polygons... turns out there is a surprising number of edge cases to consider. 😅

In the process, I wrote a ton of unit tests, so I can sleep at night. 😄 ✨

#unittest #csharp #monogame #pathfinding #gamedev

Last updated 2 years ago