Skip to content

A small web experiment inspired by an old tweet from the long-absent indie game developer of Path to the Sky.

Notifications You must be signed in to change notification settings

noodletired/pixel-terrarium

Repository files navigation

Pixel Terrarium

A small project written in Typescript/SCSS on Vue3/Vite/Rollup. It runs in WebGL via PixiJS.

The project was inspired by an old tweet from the long-absent indie game developer of Path to the Sky, @dekdev. Inspiration

Project setup

Install nodejs/npm and required packages on Ubuntu 18.04 with the command:

./setup.sh

Compile and hot-reload for development

NOTE: Vite/esbuild currently does not support bundling top-level awaits; bundling will fail until this feature is added (or I refactor tileset loading).

npm run dev

Bundle for production

npm run build

Customize configuration

Modify public/config.js to configure interface options. This file is excluded from bundling and can be modified post-build in the dist directory.

For build configuration see Vite Configuration Reference.

Linting rules don't comply to a common standard; they are borrowed from my current workplace. Modify .eslintrc.js and .stylelintrc.js to configure JS/TS/Vue and SCSS linting options.

About

A small web experiment inspired by an old tweet from the long-absent indie game developer of Path to the Sky.

Resources

Stars

Watchers

Forks