-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from egeexyz/2024-patch
2024 patch
- Loading branch information
Showing
10 changed files
with
175 additions
and
1,915 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ jobs: | |
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run build --if-present | ||
- run: npm test | ||
- run: npm test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM node:lts-alpine | ||
WORKDIR /app | ||
COPY package*.json /app | ||
COPY public/ /app/public | ||
RUN npm install | ||
CMD [ "npm", "run", "serve" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
# jumper [![Build Status](https://travis-ci.org/egee-irl/jumper.svg?branch=master)](https://travis-ci.org/egee-irl/jumper) | ||
# jumper ![example workflow](https://github.com/egeexyz/jumper/actions/workflows/nodejs-ci.yaml/badge.svg) | ||
|
||
[![Maintainability](https://api.codeclimate.com/v1/badges/04601514cd7b18f394a8/maintainability)](https://codeclimate.com/github/egee-irl/jumper/maintainability) | ||
[![Discord](https://discordapp.com/api/guilds/183740337976508416/widget.png?style=shield)](https://discord.gg/tVyBHAU) | ||
|
||
A basic platformer game written with [PhaserJS](https://phaser.io/) **2.0** to demonstrate basic game functions. | ||
A basic platformer game written with [PhaserJS](https://phaser.io/) **2.0** to demonstrate basic game functions. It is a spirtual fork of the original PhaserJS 2.0 tutorial when it was first released. Watch how I built it on [YouTube](https://youtu.be/88DS3Z8nOdY). | ||
|
||
## Getting Started | ||
|
||
This repository is configured to be as simple as possible; build, deploy, and play with all with **npm**. | ||
This repository is configured to be as simple as possible; build, deploy, and play with all with **npm**! The game's [code](https://github.com/egeexyz/jumper/blob/master/public/src/game.js) is neatly written and annotated to help you figure out how it all works. | ||
|
||
### Build Dependencies 🚧 | ||
First, clone or download this repository and run `npm install`. | ||
|
||
The only dependencies are NodeJS & npm. Any NodeJS LTS version will work. Simply clone this repo and run `npm install`. | ||
There are a few ways to run Jumper: | ||
|
||
### Play The Game 🕹️ | ||
|
||
Just run `npm start` and go to `localhost:8080` in your favorite web browser. | ||
- Run `npm start` and the game window should appear. | ||
- Run `npm start` and go to `localhost:8080` in a web browser. | ||
- Run `docker-compose` and go to `localhost:8080` in a web browser. (requires Docker & Docker-Compose to be installed.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: "3.8" | ||
services: | ||
jumper: | ||
image: ghcr.io/egeexyz/jumper:latest | ||
container_name: jumper | ||
ports: | ||
- 8080:8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.