Hello and welcome to the Code Combat discourse. We have some amazing people who would LOVE to help you with bugs, creating levels, and getting through levels. Don’t forget though, when you need help, create a new level, and format your code correctly Or, you can just chat with others in topics. Please go to this topic: here to see more details. We would be happy to just chat with you to!
Hi @Evan_Barclay and welcome to the discourse This is a friendly place where you can ask for help on levels, report bugs, and chat with other coders. Hope you enjoy your time here.
hey thank you for trying to help me I didn’t include the full text sorry here it is , also could somebody tell me how i would find the coordinates of the closest enemy so i could fire a fireball at them
and that is all you need. Because the 1st line means that your hero will find the nearest enemy.
The second line is for the hero to move to the enemy’s x and y position. the computer will solve the x and y co-ordintates as the enemy you are looking for will move around most of the time and the hero is trying to navigate its way to the nearest enemy and attack it.
Yeah, thats actually all you need unless you fight with a munchkin. You’ll need to calculate speed in also. I’m under 12. Haven’t officially entered middle school yet(Though I went in to see a friend).
@Aaron_Li
Hi dear user I have seen you try to respond to two topics from 2-3 years ago to help everyone out do you mind not replying to topics on level help when the posts you have responded to were created back in 2021. So me and everyone else on the discourse, don’t reply to old topics you had no business replying to. Like bro, you shouldn’t be posting on those old posts as it brings the topic back up, and when people like me and others want to help others then it just floods the with new posts that don’t need to be revived, but we all make mistakes, so next time look at the day of the post and then see if it is actually appropriate to reply, but with all that said, I hope your day is going well and please try not to do this anymore. Have a good day!