restarted from scratch!


hey!

i was thinking to myself these days: this game is slow... and buggy... and i have so much spaghetti code... and i now i will change it all to tileset... soooo...

new year, new godot project!

i reached a point of experimentation on the previous version that there was a lot of to be changed if i wanted to start using tiles for the map and the robots

so it was easier to just restart from scratch

most of the assets could stay the same or be edited a little... it didn't seem like a tough task

and actually it wasn't, but there's another reason

i had a new idea on how to tackle the idea of bots in mars... the game felt slow having a single bot to mine and a single bot to transport, so i thought... why not have more bots at the beginning? we can upgrade them later in the game, that way we can have more resource collection already at the start

it definitely will feel less slow once i reimplement the mining system


so far, i have remade all the map and movement of bots in it

using the magic of AStarGrid2D that this video teaches, i sorted out the navigation issues i had so far

that's only for godot 4 though and upgrading your project to godot 4 might have a few issues here and there


anyway, now the bots never occupy the same spot and walk to the destination you set by right clicking the map

you can see below a small preview:

next up, they will mine resources from those pink-ish tiles and bring back to the mainframe (who also is solid and bots don't walk over)

that's it for today

and cheers to new year's motivation, that's a thing for me sometimes :)

Leave a comment

Log in with itch.io to leave a comment.