/bunnyrun

A small plaformer prototype made for the 2020 vimjam gamejam

Primary LanguageTypeScript

Bunnyrun

A small prototype platformer game made for the 2020 VimJam gamejam in a little under a week.

Cleaning

Run these commands to clean up the directory

# Cleans up the build and dist folders
yarn clean

# Cleans up the builds, build cache, and node modules
yarn superclean

Development mode

Run these commands to build and run the Electron app

# Parcel bundles the code
$ yarn build

# Parcel bundles the code and watches for changes
$ yarn watch

# Run the electron app
$ yarn app

# Run the electron app with options for a debugger to attach to the render process
$ yarn debug

# To debug the app in VS Code you can
# - use yarn debug and run 'Electron: Renderer' in the debugger
# or
# - run 'Electron: All' in the debugger

Production mode and packaging app

Run this command to bundle code in production mode

# Create executables
$ yarn dist

Run this command to build the code for the web

# Build
$ yarn web-build