Skip to content

Releases

Pixel Studio v0.2.0-alpha.2

Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Nov 14:58
v0.2.0-alpha.2
ed5e720

Renamed: pixel-studio is now @pixel-studio/core

  • The engine package moves into the @pixel-studio organisation, next to @pixel-studio/runtime:
    npm i @pixel-studio/core. Imports change with it: @pixel-studio/core, @pixel-studio/core/internal,
    @pixel-studio/core/runtime, @pixel-studio/core/stage, @pixel-studio/core/node/png; the example paths become
    node_modules/@pixel-studio/core/examples/. The pixel command is unchanged.
  • pixel-studio on npm stays at 0.2.0-alpha.1 and is deprecated, pointing here.

Pixel Studio v0.2.0-alpha.1

Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Nov 13:59
v0.2.0-alpha.1
8c8f56e

On npm, as two packages

  • pixel-studio (the engine, the pixel CLI, figures, examples, motion references and the reference docs) and
    @pixel-studio/runtime (<pixel-sprite>, <pixel-stage> and <pixel-actor>) are published on npm, always
    with the same version: npm i pixel-studio, or npm i @pixel-studio/runtime for a site that only plays sprites.
    The runtime has no dependencies and never imports the engine; pixel-studio depends on exactly its version.
  • pixel-studio/runtime and pixel-studio/stage keep working: they re-export the runtime package. In the runtime
    package the files are src/pixel-sprite.js and src/pixel-stage.js (were src/runtime/ in pixel-studio), and
    the imports are @pixel-studio/runtime and @pixel-studio/runtime/stage.
  • The pixel-studio package no longer ships the research notes (docs/research/); they stay in the repository.

Guide

  • The hand-written guide pages (site/) move into pixel-studio.sh as the Guide (/docs/guide/): the same nine
    topics, every live example running next to its code (now with the site's highlighting, copy button and themes) and
    every editable character redrawn by the engine as you type. site/ is gone; scripts/browser-check.mjs checks
    the guide's pages instead.

Repository

  • Laid out as npm workspaces: packages/pixel-studio/, packages/runtime/, with the studio, demos, guide pages
    and website around them. npm install links the two packages; there are still no third-party dependencies.
  • Generated files are no longer committed: demo/assets/ (built by npm run build:demo, and by the website's build)
    and previews/ (which still held a contact sheet of a character that no longer exists).
  • CI on every push and pull request: both packages' tests on Node 20 and 24, Markdown links, the packed packages
    installed and used from a fresh folder, and the website build. Releases are staged on npm from a signed tag and
    approved by a maintainer with 2FA (see CONTRIBUTING.md).

Removed

  • demo/pp.html, the P/P studio site sketch: it is a personal site, not an engine demo, so it no longer ships here.

Pixel Studio 0.2.0-alpha.0

Pre-release

Choose a tag to compare

@pavelpascari pavelpascari released this 15 Nov 15:43
v0.2.0-alpha.0
30fd88b

The first alpha of Pixel Studio: describe a character as JSON (shapes on a skeleton, materials, animations), and the engine draws it as pixel art at every size; websites play it with one tag. Zero dependencies, MIT.

npm i github:pavelpascari/pixel-studio#v0.2.0-alpha.0

Start with Getting started: a goose of your own on a web page in five steps.

What's in it

  • Engine and CLI: specs validated with JSON paths and did-you-mean; renders at 16/32/64 px with three detail tiers; pixel validate | preview | ascii | bundle | export | where | resolve | figures | brief; Aseprite-format export for Phaser and PixiJS.
  • Figures with real motion: goose (with front and back views), human, dog, chibi, blob; gaits with planted feet, jumps, climbs, sits, flight, follow-through. Several motions are measured from Muybridge's plates and published studies, every value cited in references/.
  • <pixel-sprite>: one file, no imports. Picks the sharpest sheet, scales in whole device pixels, events, attachment points, hit testing, state machines, skins, reduced motion.
  • <pixel-stage>: characters that walk, jump, climb, sit and hide on your page's own elements, with JSON scenes.
  • Examples: six geese, Ember the fox, Pip, Bolt, Gloop, and Moss, a new beetle.

Breaking changes since 0.1

  • Events are now pixel-*, bubbling and composed (pixel-ready, pixel-end, pixel-event, pixel-tap, pixel-activity, …). The old names still fire in this alpha and will be removed after it.
  • <pixel-sprite> load status is status (state is an alias for this alpha); <pixel-actor> behaviour is actor.activity.
  • The core entry exports the pipeline only; building blocks moved to pixel-studio/internal; registries are read through shapeTypes(), textures(), motionModels(), leggedModels().
  • Stricter validation (numbers, sizes, coordinates within 4 canvas sizes, renders up to 512 px, reserved names).
  • Clawd is replaced by Moss, an original character.

Full list: CHANGELOG.md.

Alpha means

The spec and bundle formats may still change before 1.0, and each change will be in the changelog. Not on npm yet.