Sand Snakes (Python) These levels are throwing me for a loop[SOLVED]

that seems a little wierd

1 Like

yep. im completely stumped.

how do you die? or lose the level?

my character just walks into the nearest mine. (the one with my curser pointing to it)

hmmmm maybe you dont have enought health? or maybe your taking the short way around?

and why is the hero targeting the farthest item he can see?

Wow, I looked back, and discovered that I had used XY coordinates. So I’m no help. lol

Cheddar, your not supposed to take any damage in this level. I even tried Psyko’s code and got the same result.

ahem did you see this?

Yeah I did @Psyko2k maybe look in your console.

sorry, my kid woke up.
what do you mean?

Nervermind what I said.

well you see that coin that i circled with a markerwith the red shadow? the means the hero is trying to get to that item or place which is what I mean by why is the hero trying to get the farthest coin

I know I know no need to explain.
Maybe it’s because of those glasses probably not though.

To be honest I think until Chaboi comes, just use direct link to access the next level.

omg. it was a typo…
im an idiot.

nearestDistace = distance

should be…

nearestDistance = distance

thanks so much guys for looking. sorry for wasting time. as i said earlier. i’m an idiot lol.

3 Likes

It’s fine, I didn’t even notice that. The thing with programing is you have to get every letter correct.

i know right.
2 hours because of a typo lol.

thank god i dont do this for a job :joy:

2 Likes

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.