Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thanks!

most of the time they do move in a random direction, every so often (based on random chance) they try to move closer to the player. As for the levels, yes they are randomly generated. Not exactly in an elegant way, but it works :)

it does work, and it's something I want to learn how to do soon. The jitter was a nice minimal way to get across the enemy temperament too

(+1)

Well, if you want to know how I did it, here is the file that generates the grid https://github.com/lenscas/glitch_dungeon/blob/master/src/grid/grid.rs (Warning, not nice code)

I also made https://github.com/lenscas/arena_keeper_quick/blob/master/src/structs/grid/field... which uses a module to generate a noise map and turns those values into various tiles.

(+1)

Ah thanks for that. I don't really understand it, but its appreciated. I'm  a beginner when it comes to programming and have only learnt the basics of unity and C# so far