Star Against the Dark — 13-World
Procedural cosmic orbital arpeggio and deep stellar pad loop inspired by Star Against the Dark (孤星破暗) by Ant Games — a free 3D orbital space survivor roguelite built in custom raw WebGL2 and available on Web and Google Play.
Play Star Against the Dark (EN): antgames.ai/play/star-against-the-dark/
中文版 (孤星破暗): antgames.ai/zh/play/star-against-the-dark/
Strategy Guide: antgames.ai/guide/star-against-the-dark/
Google Play: play.google.com/stor…s.staragainstthedark
All 5 Free Browser Games at Ant Games: antgames.ai/
Key features:
- 13 orbiting worlds (with ascensions at level 6), 8 star weapons, 25 passives, and 29 relics
- 22 enemy kinds, elites, and 5 multi-phase bosses across 5 epochs
- 6 playable stars, 7 stellar evolutions, 61 achievements, Entropy tiers 0-10, seeded Daily Run, and Endless Mode
- Keyboard, mouse, gamepad, and touch controls; English & Chinese in-game UI (10-language site & guides)
Also from Ant Games: Apogee Keep (星轨要塞), Bridge Stress Test (桥梁压力测试), Scarecrow Smasher (流星锤打稻草人), and Warship Workshop (战舰工坊).
Log in to post a comment.
// Star Against the Dark — 13-World Orbital Synth (Ant Games)
// https://antgames.ai/play/star-against-the-dark/
ditty.bpm = 108;
const starPad = synth.def((phase, env, tick, opts) => {
const s1 = Math.sin(phase * Math.PI * 2);
const s2 = Math.sin(phase * Math.PI * 4.005) * 0.4;
const s3 = Math.sin(phase * Math.PI * 6.01) * 0.2;
return (s1 + s2 + s3) * env.value * (opts.amp || 0.2);
});
const orbitArp = synth.def((phase, env, tick, opts) => {
const tri = Math.abs(((phase % 1) * 4) - 2) - 1;
return tri * env.value * (opts.amp || 0.22);
});
const chords = [d3, bb2, f3, c3];
loop((i) => {
const root = chords[i % chords.length];
starPad.play(root, { attack: 0.4, release: 2.2, amp: 0.2 });
starPad.play(root + 7, { attack: 0.5, release: 2.2, amp: 0.14 });
sleep(4);
}, { name: 'stellar-pad' });
const arp = [d4, f4, a4, c5, d5, c5, a4, f4, bb4, d5, f5, d5, a4];
loop((i) => {
orbitArp.play(arp[i % arp.length], { attack: 0.01, release: 0.3, amp: 0.18 });
sleep(0.5);
}, { name: '13-world-orbit' });