Beta Test Sunfire Blitz

Aug 31st
As the new tournament starts on September (so logically, it should end on the 31st)

2 Likes

if you get hit by shockThrow/trap, it may stop your movement, making it stuck on a “0.5 tile” (so basically if hero.moveForward(0.5) was a thing, it makes it like that" and you arent able to get back onto opponent’s x axis/y axis. please fix this @Venneth

1 Like

@Venneth I believe I have found the reason for the crabs exploding when I send them out. The boundaries for the crab include “cPosY<=5” but sometimes when I send them out, I am at hero.y=5 and they immediately explode. I also took a screenshot of the code where it is

2 Likes

@venneth it seems hero.getSolarMap is a bit… bugged.
it doesnt return a array.

POV hero.getSolarMap rn: Cockroach GIFs | Tenor

2 Likes

Hello, Why did I lose?

I thought if no-body had died, the winner would be the person who collected the most solar?

2 Likes

I guess ur solar win he after 120sec(It often happens to me too, I win only when it’s over)like more 0.5sec

1 Like

Happens to me too. Probably a “last second win” type of thing

Does anybody know how to define the smoke thing?
image

Hero.findShadows :+1: (returns a array of shadows (x,y,duration)

Is there a function for me to find enemy shock traps?

1 Like

Nope. Sorry. It’s all manual :sob:

1 Like

Oof. That sucks. Thanks.

1 Like

Try making functions to track when the opponent uses the ability, then put that location in a array

1 Like

ty (10 chars forgot that rule)

Does enemy = hero.findNearestEnemy() work to find the enemy?

No. Just use hero.opponent.

1 Like

Nope. Hero.opponent works

2 Likes

One last question do I need to loop through the array of shadows to find out if there are shadows at a specific x, y point or is there some sorta hero.lavaAtXY(x, y) like Lava Lake had?

For that just do

for shadow in hero.findShadows:
    if hero.distanceTo(shadow) <= #your number:
       #have it do something
1 Like

Yes. Hero.solaratxy. (and there isn’t a method to find shadows near a area. It’s all done manually)

1 Like