Major changes:
- Add Campaign Mode! There are seven missions so far, which should make for a much smoother introduction to the game for new players. Even if you're a returning player, you should find it fun. Plus, each campaign mission grants 750 Botcoin. The tutorial was shortened to accommodate adding Campaign Mode.
- Add importing and exporting Blockly scripts. These show up as buttons in the top bar of the Blockly editor. This will allow you to share Blockly scripts externally (e.g. via Discord).
- Allow users to get ranked matches sooner. Previously, if you attacked a player via a ranked match, you couldn't attack them again within 24 hours. Now, that time has been lowered to 22 hours. This should make it easier to play your ranked matches at the same time every day.
- Ask for email consent when you sign up or convert from a guest account. If you already had an account, it will ask for it on your next login. This can always be changed via the Settings menu. My tentative plans for using this consent include surveying users about Campaign Mode.
- Fix two bugs with "setAttackPriority":
- One bug was that your weapon's range wasn't considered, just your vision range. This meant that if you had level 1 Missiles (range===3) but a high-priority target was within VISION range (range===5), then it would find only the high-priority target and end up firing at nothing.
- The other bug was specifically with Lasers. It would sometimes pick an entity that wasn't the top of the priority list.
Minor changes:
- You now have access via Blockly and BotLandScript to "turnNumber", which represents the total number of turns that have occurred in the current round.
- Fix bug where the number of stars earned from Challenge Mode would sometimes be higher than what you actually earned. This was just a display bug.
- Fix issue when pasting BotLandScript that exactly matches the already-selected code.
