Delivered by Hermies Qwen, gated and deployed by Relay. - Board tip/topple: full continuous rotation when a board's center of mass passes its support edge (Q1: smooth pivot swing, no discrete snap). Falling boards deal impact damage and can kill enemies in their fall path. - Falling-object impact damage: blocks and birds can now kill enemies from vertical drops and side plows (velocity-aware crush gate), chain momentum transfers correctly through stacks (mass-weighted contact), repeated impacts finish tougher enemies. - Landed-bird physics: a bird resting on a board remains a real physical body under continuous gravity (Q2: no lifetime timer). If its platform is destroyed it falls, damages what it lands on (chain reaction), and can kill enemies. - Repo modularized: folders = modules, subfolders = submodules, architecture.md + MODULES.md at root, an agents.md card in every module and submodule (17 total). - Test suite grown from 27 to 47 (20 new RED-watched tests for the above behaviors), all green. Golden differential against the original core confirmed the only behavioral changes are the intended ones. Live at http://10.244.136.121:8093/, independently re-verified by Relay (full suite re-run, module structure check, headless Chromium smoke) before this push. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
40 lines
1.3 KiB
JavaScript
40 lines
1.3 KiB
JavaScript
/* ISLE SLINGERS -- levels/data/level-3.js (submodule: level-3)
|
|
* RC-375D84 S-2: level 3 definition, split from the original js/levels.js.
|
|
* Installer: returns the level object built from the shared helpers scope L.
|
|
*/
|
|
(function (root, factory) {
|
|
var part = factory();
|
|
if (typeof module !== 'undefined' && module.exports) module.exports = part;
|
|
else (root.ISLE_LEVEL_PARTS = root.ISLE_LEVEL_PARTS || []).push(part);
|
|
})(typeof globalThis !== 'undefined' ? globalThis : this, function () {
|
|
'use strict';
|
|
return function (L) {
|
|
return {
|
|
id: 3,
|
|
name: 'Glass Works',
|
|
birds: ['wren', 'zippy', 'boulder'],
|
|
sling: L.SLING,
|
|
stars: [18000, 34000, 50000],
|
|
decor: { palms: [900, 2250], flowers: [750, 1300, 2100] },
|
|
blocks: [
|
|
// ice workshop: two-storey
|
|
L.ice(1500, 840, 30, 120),
|
|
L.ice(1640, 840, 30, 120),
|
|
L.wood(1570, 765, 200, 30),
|
|
L.ice(1520, 700, 30, 100),
|
|
L.ice(1620, 700, 30, 100),
|
|
L.ice(1570, 635, 170, 30),
|
|
// wood hut
|
|
L.wood(1850, 830, 30, 140),
|
|
L.wood(1950, 830, 30, 140),
|
|
L.wood(1900, 745, 160, 30)
|
|
],
|
|
enemies: [
|
|
L.mogg(1570, 876),
|
|
L.mogg(1570, 596),
|
|
L.grum(1900, 868),
|
|
L.mogg(1900, 706)
|
|
]
|
|
}
|
|
};
|
|
});
|