ok so update, I changed its location and put it in my setup loop and now it will go but when reaching full night will just jump to daytime, then after a few seconds will go dark and start the normal night to day cycle.. very strange.. well ill keep testing..
I will!
so we have the normal AI code for making a sprite follow you, I am trying to make one that only makes it follow you if you come close enough, like in its view range.
but I think it will be a simple if x<(something) and y<() then (ai code)
nm
Could be pretty simple. My advice is just to think things through thoroughly before starting. Sometimes it's worse and longer to fix code that was written hastily than just thinking it through. I've learned this from experience. Also try explaining as much of the code with ' so that if you come back to this project after a long time, you can remember what everything does.
yes, I probably have more ' in my code then actual code (jk) but yeah I use that a lot, especially for sprites and stuff like 'change this to do whatever
I spent a few hours yesterday figuring out the best way to make an inventory.. it finally works except I haven't wrote it all yet (lol)