Skip to content

[wip] Plan a sequence of moves and assist your robot helper to restore power - Guide your robotic helper through mazes using a sequence of movement cards. Collect all the charges before the power runs out! Tests your problem-solving skills in electrifying fashion.

Notifications You must be signed in to change notification settings

DeltaZen/mech-motion

 
 

Repository files navigation

Mech Motion

Made in 2 weeks during Gamedev.js Jam 2024. The theme for this jam is "power".

This project is made using our own Phaser game jam template, which provides a robust build system via GitHub actions and some basic Phaser scenes to get the ball rolling.

Quick start

Prerequisites

  • Git installed.
  • Node 18+ installed.

Steps

  1. Clone the repository
  2. npm install
  3. npm run dev

Remember to update game.config.json accordingly.

Building

  1. npm run build
  2. Build goes to /dist directory

Debugging

This assumes you have VS Code and Chrome installed

  • Hit F5 to debug
    • This will launch Vite and Chrome
    • You can now add breakpoints in VS Code
  • Hit Shift+F5 twice to stop debugging

Deploying

GitHub

The repository is configured to automatically deploy to Github Pages, you just have to change a setting on the repository to deploy from a branch and set the deploy branch to gh-pages.

It will also create new downloads under releases.

Itch

You can configure this repository to automatically deploy and upload releases to Itch. What you have to do is set the BUTLER_CREDENTIALS repository secret and set your Itch username and game name in game.config.json.

System requirements

Web

A modern up-to-date web browser

Windows

  • Microsoft Edge 89 or newer
  • WebView2 installed (Windows 11 has this preinstalled)

MacOS

  • Safari 15 or newer

Linux

  • WebKitGTK installed

Notes

Mac

The app is unsigned when built, so you need to follow these steps when distributing:

  1. First you need to extract the .app from the .dmg before attempting to run the game.
  2. Second, try running the game, a popup will say the app is unverified.
  3. Right click/Open the context menu on the .app, hold option, click open.
  4. Click open in the popup.

The game will start normally from now on.

Linux

You may have to mark the games as executable before it will let you run them.

There have been reports of the game freezing, so the web version might be preferred in that case.

About

[wip] Plan a sequence of moves and assist your robot helper to restore power - Guide your robotic helper through mazes using a sequence of movement cards. Collect all the charges before the power runs out! Tests your problem-solving skills in electrifying fashion.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.6%
  • Other 1.4%