early development stage
- scroll as book
- paged as typical VN —
snowfall-paged.jsis the controller: one page is a screenful of the author's own portions (cut atp/section/br), the page ends at the last stop that fits and the text you have read leaves the page; a portion taller than the screen is its own page, walked one band a tap; the scrollbar is hidden while native scrolling remains available for tall portions; short pages can align at the top or bottom of the reading band. Reader mode, page and in-page progress are autosaved alongside game state, and style/background state is derived directly from the restored source position;0.6.0-plan-paged-mode.mdis the plan,demo-paged.htmlthe playable page with a book/paged toggle - without js fallback to readable html
- compatible with epub syntax for easy convert
- minigames as one
.jsfile plus an optional.css—games/gamble.jsis the example,archive/0.4.3-plan-minigames.mdthe contract,demo-minigame.htmlthe playable page
No strict syntax, don't force author to write in specific notation - just place backgrounds and scripts in text.
Vanilla js, no build, no server need, possible to bundle into single html file and open with double click.
engine repo https://github.com/luncat8/snowfall-core.git
Region layout follows the HD-region reference (https://github.com/luncat8/HD-region.git):
test/vendor/hdregion-ref.js is a pinned copy of its math and test/region-parity.js
holds the two in agreement to 1e-6, on that repo's own example scenes in img/.