From c8479adde941088e96cbc3ef51bcab227b01fb1c Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Sat, 26 Mar 2022 13:55:06 -0700 Subject: [PATCH] Flood Tool, Survival Mode for Azulian Tag New features: * Flood Tool for the editor. It replaces pixels of one color with another, contiguously. Has limits on how far from the original pixel it will color, to avoid infinite loops in case the user clicked on wide open void. The limit when clicking an existing color is 1200px or only a 600px limit if clicking into the void. * Cheat code: 'master key' to play locked Story Mode levels. Level GameRules feature added: * A new tab in the Level Properties dialog * Difficulty has been moved to this tab * Survival Mode: for silver high score, longest time alive is better than fastest time, for Azulian Tag maps. Gold high score is still based on fastest time - find the hidden level exit without dying! Tweaks to the Azulians' jump heights: * Blue Azulian: 12 -> 14 * Red Azulian: 14 -> 18 * White Azulian: 16 -> 20 Bugs fixed: * When editing your Palette to rename a color or add a new color, it wasn't possible to draw with that color until the editor was completely unloaded and reloaded; this is now fixed. * Minor bugfix in Difficulty.String() for Peaceful (-1) difficulty to avoid a negative array index. * Try and prevent user giving the same name to multiple swatches on their palette. Replacing the whole palette can let duplication through still. --- dev-assets/doodads/azulian/azulian.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-assets/doodads/azulian/azulian.js b/dev-assets/doodads/azulian/azulian.js index 5b580ce..2c77b6d 100644 --- a/dev-assets/doodads/azulian/azulian.js +++ b/dev-assets/doodads/azulian/azulian.js @@ -4,7 +4,7 @@ const color = Self.GetTag("color"); var playerSpeed = color === 'blue' ? 2 : 4, aggroX = 250, // X/Y distance sensitivity from player aggroY = color === 'blue' ? 100 : 200, - jumpSpeed = color === 'blue' ? 12 : 14, + jumpSpeed = color === 'blue' ? 14 : 18, animating = false, direction = "right", lastDirection = "right"; @@ -14,7 +14,7 @@ if (color === 'white') { aggroX = 1000; aggroY = 400; playerSpeed = 8; - jumpSpeed = 16; + jumpSpeed = 20; } function setupAnimations(color) {