Hi all, first post here just got into the game recently. Not used Javascript really so I went through the tutotial to get some base syntax to take apart and have been slowly learning the engine of the game and how to define things and such.
My first big issue is finding a way to check if a creep has lived its last tick and automatically recreate it. From there I can plan things out much further. I am not really interested in copy/pasting code since that doesn't help me learn or understand.
Curious if there are good resources for examples or some ideas to get me started into detecting if a creep has died etc. (I found tickstolive but it doesn't seem to want to spawn the creep if I use that property in a condition. There is a chance my code is just incorrect but just curious, hadn't found other posts about this and maybe Im just thinking along the wrong path for this particular game.
Thanks!