"Magma Mountain" Tips and Tricks

Hi, ritic here. I am continuing @TheBredMeister 's category of tips and tricks for the AI leagues:

1st of all, (optional) as of writing this, DO NOT use jump or dash, it can mess up your code, jumping and dash may seem good, but overall, it messes your code up, lets say you dash and you go over where you want to go, your bug moves ALL THE WAY to that position, wasting time.

2nd of all, TIME IS KEY losing even 1 second can interfere with your win:loss ratio

If you have more tips, please reply below :smile: And good luck!

(edit: jump and dash can be used if you have good code (thx moon) )

1 Like

My piece of advice – ignore at least half of those points :slight_smile:

1st of all, if you want to know how many tiles from 1 coordinate to another (lets say x:64 to x:70) the formula is coordinate/4 each tile is 4 coordinates

step size is 2. The lava and player size is 2m. The avatar moves for 2 steps.

2nd of all, as of writing this, DO NOT use jump or dash, it can mess up your code, jumping and dash may seem good, but overall, it messes your code up, lets say you dash and you go over where you want to go, your bug moves ALL THE WAY to that position, wasting time.

No comments here. Just think.

4 Likes

Seems like a problem you can solve if you just have good enough code…
Also, if time is key, then it’s better to dash/jump (although jump you should probably only use when there is lava blocking you)

1 Like

In my opinion dash is really useful. It makes your hero go about 12 meters, or 3 steps.

1 Like

6??? Hmm, should 12m (or 3 times from usual move)

1 Like

thanks (20 characters)

1 Like

A good trick seems to be seeking out items based on value over distance, like in the “diamond dozen” level.

1 Like

Something to keep in mind is that maintaining your health is usually the key to winning. Your total score that determines whether or not you win or lose is equal to your score plus twice your health. If your health is lower than your maxHealth, each heal item is technically worth two points instead of one.

2 Likes

As an idea – what I add a way to use abilities in any direction? It can be a non-blocking method like ‘turn’ so you can turn, shoot and move where you want. Another way to add an optional. argument in any ability to choose the. direction for them (this one can make docs more complex for newbies).

Yes turn is a wondeful idea, but will that let us move diagonally or no?

Diagonals? No. How? I suggested it just to use abilities in a direction

Why have I’ve put it here? My bad