Posted May 04, 2022 by Thiago Hilger
#miner
hi!
as promised, here's the next micro functionality: adding miners
i created+coded the new popup that opens when you click the mainframe, plus coded the miner spawning
in the gif below, you can see me clicking in the miner button on the popup, then configuring the new miner to a different resource
you know it's not yet art, right? it's dev art, so i can prototype fast
and as you can see below, with too many miners, come too many pathing issues:
this fix can be postponed, i want now to refactor some code
i found an easier way to detect clicking on the robots and i'm prioritizing refactoring every single time
it keeps the code always clean and easy to understand
also well commented, thanks, that's important