Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Fun game, but at bigger sizes, the frame rate gets buggy, and walking is a little weird.

(1 edit) (+1)

yeah the lag is not entirely unexpected...
i'm guessing the lag in this case comes from civilians.
basically i found there to be 3 major sources of lag when making this game:
-pathfinding tiles, which lags so bad it crashes the game if i dont cap it to a 128*128 chunk around the player (could be optimised to be less without impacting pathfinding whatsoever but i couldnt be asked to actually implement it lol)

-a metric ton of enemies simultaniously doing movement calculations, even if they ignore terrain and pathfinding. but this is limited by a hard mobcap

-this is probably what causes the lag in this case: civilian AI which is only active while theyre within sqrt(size)*C pixels of the player, and they interact with the physics layer.

so at large sizes more civilians become active simultaniously.

as for the walking being weird; yes.. yes it is, but i kinda like it :p.
(oh btw i see i forgot to mention you can use lmb for targeted stomps imma go update description RQ)