Broken circle help [solved]

i don’t understand how do i complete the level please help, thank you

# Collect the treasure.
# No flags.
# No summons.
# No jumps.
# No magic.
# Infringes will be punished.

# Useful constants.
trapAttackRange = 3;
radiusStep = 10;
center = {"x": 68, "y": 68};
pos = {'x': 136, 'y': 68}
# Go, Go, GO!
hazards = hero.findHazards()
for hazard in hazards:
    x = Math.round(hazard.pos.x)
    y = Math.round(hazard.pos.y)
    if hero.isPathClear(pos, center):
        hero.moveXY(68, 68)

it about vector and math. and bla bla bla it is rlly confusing :disappointed:
hope can xplain to me to understand it…

Did you put this line or it was there by default?

And vectors, you can think about them as lines, but instead of being drawn on paper, like 2D, they can have a 3rd dimension. They are also curved lines, so think about this as if you are drawing a line not using a ruler but creating an arc. So they are in conclusion, curved lines, or arcs, that can have 3 dimensions (x, y, z). Hope this helps.

how do i make hero move spiral instead of just circle

“They (vectors) are also curved lines, so think about this as if you are drawing a line not using a ruler but creating an arc. So they are in conclusion, curved lines, or arcs …”
Are you talking about this Vector:

@Aya Edit:
If you haven’t studied them at school yet: Vectors
For some, this would be useful even in a technical university, vectors have numerous applications in physics

2 Likes

Umm, idk

That was the best explanation i thought of.

i need help with this.

i complete the level.

ritic cheese go brrrrrr (sorry for spam)

1 Like

lol it ok.don’t u dare read this

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