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>
46 lines
1.5 KiB
JavaScript
46 lines
1.5 KiB
JavaScript
/* ISLE SLINGERS -- levels/data/level-5.js (submodule: level-5)
|
|
* RC-375D84 S-2: level 5 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: 5,
|
|
name: 'Mog Fortress',
|
|
birds: ['wren', 'zippy', 'boulder', 'boulder'],
|
|
sling: L.SLING,
|
|
stars: [28000, 48000, 70000],
|
|
decor: { palms: [980, 2320], flowers: [780, 1300, 2180] },
|
|
blocks: [
|
|
// left stone tower (2 stories + ice cap)
|
|
L.stone(1450, 865, 70, 70),
|
|
L.stone(1450, 760, 70, 70),
|
|
L.ice(1450, 710, 30, 30),
|
|
// center keep
|
|
L.stone(1700, 865, 70, 70),
|
|
L.stone(1850, 865, 70, 70),
|
|
L.wood(1775, 815, 260, 30),
|
|
L.wood(1700, 740, 30, 120),
|
|
L.wood(1850, 740, 30, 120),
|
|
L.wood(1775, 665, 220, 30),
|
|
L.ice(1775, 635, 260, 30),
|
|
// right post
|
|
L.stone(2050, 865, 70, 70),
|
|
L.wood(2050, 760, 30, 120)
|
|
],
|
|
enemies: [
|
|
L.king(1775, 862),
|
|
L.mogg(1450, 671),
|
|
L.mogg(1775, 626),
|
|
L.mogg(2050, 676),
|
|
L.mogg(1575, 876),
|
|
L.mogg(1975, 876)
|
|
]
|
|
}
|
|
};
|
|
});
|