Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jesstelford/shoot-back
Unique endless sidescrolling shooter for 2 players.
https://github.com/jesstelford/shoot-back
Last synced: 28 days ago
JSON representation
Unique endless sidescrolling shooter for 2 players.
- Host: GitHub
- URL: https://github.com/jesstelford/shoot-back
- Owner: jesstelford
- Created: 2015-08-19T22:11:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-28T21:54:24.000Z (over 9 years ago)
- Last Synced: 2024-06-14T20:58:53.340Z (7 months ago)
- Language: JavaScript
- Size: 356 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shoot Back
Side-scrolling shooter with a unique time reversal mechanic: Death causes time
to reset so you can play through the level again with your past self.## Instructions
* Arrows to move
* Space to shoot
* Hit an enemy and time resets## Development
### Prerequisites
[Node.js](https://nodejs.org)
### Installation
```bash
git clone https://github.com/jesstelford/shoot-back.git
cd shoot-back
npm install
```### Building
All builds result in files generated in the `/build` folder.
Production Mode builds also result in files in the `/dist` folder.
#### Development Mode
**Local server**
```bash
npm start
```Then leave this terminal open
**Watch mode**
*Will rebuild files automatically when they're changed.*```bash
npm run watch
```**Manual build**
```bash
npm run build
```#### Production Mode
```bash
npm run build:prod
```Note that this build will fail if the final generated `.zip` file is over 13kB.
----
# Goals for future development
Unique endless sidescrolling shooter for 2 players.
## Idea
### Premise
* Player 1 must escort a "valuable" ship through space.
* The ship grants an ability to be teleported back in time instead of dying.
* The enemy (Player 2) is carrying nukes. If they touch the "valuable" ship,
it's game over for P1.
* P2's bullets aren't strong enough to hur the "valuable" ship, but can kill P1.
* The teleport ability is restricted - there are only so many "lives" it can
grant.### Game Play
#### Player 1
* P1 starts the game as a regular side-scrolling shooter
* When shot, the player is teleported back to the start of the game (in time &
space)
* And everything is vertically reversed (flipped)
* The original play through (P1a) is now played back on auto
* While the player plays as a clone of the first (P1b)
* So now there are two versions of the player (P1a & P1b) killing enemies
* If P1a is not killed by the original enemy which killed it, it becomes AI
controlled
* Once P1a dies, it is NOT teleported back. Instead, its play through is
recorded for the next time P1b is teleported back (as P1c now).
* If P1 uses up all their "lives", the game will continue to play as the AI
until all the clones are killed, or they reach the end of the level
* Once the level is over, it's P2's go.##### Player 2
* Now player 2 plays the game, but from their perspective from the point where
P1 died / finished the level.
* P1 appears to be moving in reverse (as if P2 is pushing them back)
* P2 has the same teleport ability as P1,
* When P2 is teleported back, the same thing happens as with P1.
* The number lives P2 has is the number of kills P1 made +1Describe the game?
* At each point where P1 died, a new P1 is spawned by flying out of the
"valuable" ship
* The P1's are AI controlled## Implementation
### Phase 1
The side-scrolling shooter
### Phase 2
Reset after dying
### Phase 3
2 player / reverse