diff --git a/js/tileset.js b/js/tileset.js index 4b107cd..0d2344b 100644 --- a/js/tileset.js +++ b/js/tileset.js @@ -877,16 +877,17 @@ export const LL_TILESET_LAYOUT = Object.assign({}, CC2_TILESET_LAYOUT, { teleport_flash: [[4, 38], [5, 38], [6, 38], [7, 38]], player1_exit: [[8, 38], [9, 38], [10, 38], [11, 38]], player2_exit: [[12, 38], [13, 38], [14, 38], [15, 38]], + transmogrify_flash: [[4, 39], [5, 39], [6, 39], [7, 39]], // More custom tiles - gate_red: [0, 39], - gate_blue: [1, 39], - gate_yellow: [2, 39], - gate_green: [3, 39], + gate_red: [0, 40], + gate_blue: [1, 40], + gate_yellow: [2, 40], + gate_green: [3, 40], - skeleton_key: [4, 39], + skeleton_key: [4, 40], - sand: [10, 40], + sand: [10, 41], }); export class Tileset { diff --git a/js/tiletypes.js b/js/tiletypes.js index 84e8fad..59233a0 100644 --- a/js/tiletypes.js +++ b/js/tiletypes.js @@ -1207,6 +1207,10 @@ const TILE_TYPES = { let options = me.type._blob_mogrifications; level.transmute_tile(other, options[level.prng() % options.length]); } + else { + return; + } + level.spawn_animation(me.cell, 'transmogrify_flash'); }, on_power(me, level) { // No need to do anything, we just need this here as a signal that our .powered_edges @@ -2691,6 +2695,13 @@ const TILE_TYPES = { collision_mask: 0, ttl: 8 * 3, }, + transmogrify_flash: { + // TODO probably not the right layer, vfx might need their own idk + draw_layer: DRAW_LAYERS.actor, + is_actor: true, + collision_mask: 0, + ttl: 4 * 3, + }, // Invalid tiles that appear in some CCL levels because community level // designers love to make nonsense diff --git a/tileset-lexy.png b/tileset-lexy.png index ea07a08..9330797 100644 Binary files a/tileset-lexy.png and b/tileset-lexy.png differ diff --git a/tileset-src/tileset-lexy-vfx-transmogrify.aseprite b/tileset-src/tileset-lexy-vfx-transmogrify.aseprite new file mode 100644 index 0000000..6844faa Binary files /dev/null and b/tileset-src/tileset-lexy-vfx-transmogrify.aseprite differ diff --git a/tileset-src/tileset-lexy.aseprite b/tileset-src/tileset-lexy.aseprite index 244725a..4f923b0 100644 Binary files a/tileset-src/tileset-lexy.aseprite and b/tileset-src/tileset-lexy.aseprite differ