Skip to main content

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

The code for the boss is actually pretty simple: there is a fixed chance to dash every second when not dashing, and it randomly picks a spot to dash to, which is offset from the player to make the mechanic fair. Otherwise it just moves straight towards the player. Make sure to save stamina during the "moon down" phase so you can dash into and away from the boss to deal extra damage/avoid being hit.