Coder Social home page Coder Social logo

karjona / reapers Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 576 KB

The Reapers: Tournament of Destiny is a JS fighting game for the js13kGames 2022 competition

Home Page: https://karjona.github.io/reapers/

License: Apache License 2.0

HTML 1.86% TypeScript 98.14%
game gamedev js13kgames fgc

reapers's Introduction

The Reapers: Tournament of Destiny

Reapers is a fighting game made in TypeScript for the js13kGames 2022 competition. The main goal is to create a game in less than 13KB! The theme for this year was "death".

Go to karjona.github.io/reapers/ to play the game!

If you want to play the game with additional assets that couldn't fit in the 13KB limit, go to itch.io!

Backstory

On the green fields near Mount Serrat, two otherworldly entities, Omiquiel, the devourer of souls, and Nomiquiel, the bestower of breath, come together once every thousand years to fight for the dominion of the living realms.

In a battle known as The Tournament of Destiny, they fight...

About the game

This 2D fighting game is based on fighting game fundamentals known as footsies or neutral game. I wanted to recreate some of the handled fighting games of old, like Street Fighter on the Game Boy or the SNK titles for Neo Geo Pocket!

Due to the size limit, the game's scope is minimal: you only have one attack and a parry. The goal is to keep your opponent at bay and to avoid getting hit. The game is played in rounds, and the first player to win two rounds wins the match.

Will you bait your opponent's attack and parry it? Or will you try to get in close and land a hit? The choice is yours!

How to play

The game only has local multiplayer. You can play with a friend on the same computer or with a friend on another computer using Parsec or a similar service.

Controls

Player 1

Action Key
Move left S
Move right D
Attack X
Parry C

Player 2

Action Key
Move left H
Move right J
Attack B
Parry N

General

Action Key
Show hitboxes during play T
Start the game and menu select X

How to build from source

You will need Node.js 16+ installed on your machine. Vite is used as a dev and build tool.

# Install dependencies
npm install

# Run the game in dev
npm run dev

# Build the game for prod - output will be in the dist/ folder
npm run build

Tools used for development

Credits

All code is written by me, Kilian Arjona. All art, backstory, and sound effects are made by my beautiful wife, ❤️ Valeria Sivkova.

Full license can be found in the LICENSE file.

reapers's People

Contributors

karjona avatar

Watchers

 avatar

Forkers

js13kgames

reapers's Issues

Implement hurtboxes

Hurtboxes define how to hit interactions between both characters behave. We must have at least two attacks: a jab (fast, short reach) and a strong (slow, long reach). All attacks must have at least these properties:

  1. Damage
  2. Start-up frames
  3. Active frames
  4. Recovery frames
  5. Where to "spawn" the hurtbox in relation to the character sprite

You can push player 2 without contact

Under strange circumstances you can make contact with player 2 for a single frame? and you will push it to the screen limit without having to make contact again.

Improve code structure

To quickly start coding, I wrote all logic in a single, quick, main TS file. I have to improve this before it gets out of control.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.