DEVLOG 14 - the project is super star!
boss update
the current boss is very lazy in design so i decided to change it completely! with a snake boss, what i did is create a self generating floor and a snake with custom pathfinding
boring technical stuff
the floor has a function that does holes in it and makes sure the snake
cannot get soft locked(since it cant pass through its own body) then the
snake turns its positon + the player’s position into a tile in the map
and using breadth first search from the head’s tile to the player’s tile it finds the next tile it needs to travel to
this sounds so simple why did it take 5 hours?
the reason is that this mf floor does not like generating how i want it to and i am very bad at algorithms so i had to try again and again and again and then i had to do the same thing with the snake because i havnt touched bfs in like 1.5 years
THANKS FOR THE SUPER STAR
as you can see while i was on vacation this project got a super star! i am very grateful for it!
when will it be in the game?
as you can see in the video it just follows the player right now, it has no attacks or something like it so i hope i can get it done by the end of this week(its saturday now so by next saturday) and it isnt wired into the game yet so its still just the old boss
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.