GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - nilzx/nilvn-plugins: NilVN first-party plugins (@nilvn/plugins): text / screen / character / object effects, sprite animation, keyframe choreography, replays, the in-game menu, and the batteries-included engine bundle

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
packages/plugins
packages/plugins
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
tsconfig.test.json
tsconfig.test.json
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

NilVN plugins

CI npm

The first-party plugins for the NilVN visual-novel engine, published as @nilvn/plugins: inline text effects, screen and camera effects, character motion, generic object verbs, sprite-sheet animation, animated choices, typing blips, keyframe choreography, replay segments and the finished game's menu — plus the batteries-included engine bundle that exported games run.

The engine ships none of these itself. Every plugin here is written the way a third-party plugin is — against the public types of @nilvn/engine, reaching the runtime through the capability objects on ctx.plugin — and a boundary check keeps it that way. That rule is the point of this repository: if a first-party plugin could not be written like yours, the SDK was missing something, and the fix goes into the engine as a capability, never into the plugin as an import.

Quick start

pnpm add @nilvn/engine @nilvn/plugins
import { createEngine } from '@nilvn/engine'
import { withFirstParty } from '@nilvn/plugins'

const engine = createEngine({ ...withFirstParty(), container: document.getElementById('app')! })
engine.loadSource('[use textfx screenfx menu]\nyuki: {wave:Hi!}\n[shake]')
await engine.start()

Or one <script>: @nilvn/plugins/iife — node_modules/@nilvn/plugins/dist/nilvn.iife.js after installing, or https://cdn.jsdelivr.net/npm/@nilvn/plugins/dist/nilvn.iife.js — defines a global ADV whose createEngine already carries the set (dist/ is a build output, not checked in).

Try it: the demo game (packages/plugins/demo/) runs at nilzx.github.io/nilvn-plugins, rebuilt from main by the Demo workflow.

The plugins, their commands and parameters: packages/plugins/README.md. Writing your own: @nilvn/plugin-sdk.

Repository

packages/
  plugins/      @nilvn/plugins   src/plugins/ (the modules) · src/manifests.ts · src/messages.ts · src/iife.ts
                                 demo/ (the showcase game) · scripts/ (IIFE builder, game bundler, boundary check)
scripts/        pack-smoke.mjs
pnpm install           # pulls @nilvn/core / @nilvn/engine / @nilvn/plugin-sdk from npm
pnpm test              # vitest, including a boot of the built bundle
pnpm typecheck         # tsc + the plugin boundary guard
pnpm typecheck:test
pnpm build             # dist/: ESM + .d.ts + nilvn.iife.js
pnpm pack:smoke        # pack the tarball and consume it from a throwaway project
pnpm demo              # the demo game on http://localhost:5180

This repository is a mirror of the package's home in NilVN's private monorepo: every change arrives as a sync commit, and a plugins-v* tag mirrored onto one releases to npm (CONTRIBUTING.md).

Versioned on its own axis (plugins-v* tags → npm); each manifest declares the engine range it runs on. Requires Node 22+ and pnpm. Contributions welcome — see CONTRIBUTING.md: a new plugin is a module + manifest + messages + tests, and it must pass the boundary check. Release history: CHANGELOG.md.

License

MIT — see LICENSE.

About

NilVN first-party plugins (@nilvn/plugins): text / screen / character / object effects, sprite animation, keyframe choreography, replays, the in-game menu, and the batteries-included engine bundle

nilzx.github.io/nilvn-plugins/

Topics

advgalgamepluginstypescriptvisual-novel

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.