GithubHelp home page GithubHelp logo

1j01 / delayed-casualty Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 753 KB

⚔ Fighting game with simple controls (early stages of development)

Home Page: http://1j01.github.io/delayed-casualty#ai+craz@y+debu@g

JavaScript 40.80% HTML 4.29% CoffeeScript 54.90%
game web-game canvas-game fighter fighting fighting-game sword swords swordfighting dual

delayed-casualty's Introduction

Delayed Casualty

A swordfighting game with simple but unique mechanics.

There are no combos to memorize.
There are no meters.
You don't have to face the other player, except in the sense that you're dueling.

You can attack and parry.
One hit kills.
But who dies?

If you fail to either block or attack back, naturally you die.

But if both players connect and attack in a clash, one will win based on...

  1. Timing: you want to hit as soon as your opponent comes within your swing radius.
  2. Angle: you want to be higher up than your opponent.
  3. Speed: you want to be moving faster than your opponent.

Controls

Currently the controls are hard-coded but I have plans for a library for input configuration with UI and such.

Action Player 1 Player 2 Player 2 (Gamepad)
Left Left D / L D-pad left / left analog stick left
Right Right A / J D-pad right / left analog stick right
Jump Up W / I / Space Some face button
Descend Down S / K D-pad down
Attack . G R1 / R2 / Some face button
Block / H L1 / L2 / Some face button
Genuflect Shift / Z Ctrl Some face button

Wall movement:

  • Press away from the wall to do a long jump
  • Press up to do a high jump (still kicking away from the wall)
  • Press up and away to jump up and away more
  • Hold up and towards the wall to wall-climb
  • Hold down to fall downwards

Air movement:

  • Continue holding up after jumping to jump higher
  • More generally, hold up to reduce your gravity
  • You can move adjust your horizontal velocity somewhat too
  • TODO: Press down to reduce horizontal velocity towards zero to land on platforms easier

delayed-casualty's People

Contributors

1j01 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

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.