Coder Social home page Coder Social logo

js-sfa's Introduction

Street Fighter Alpha
--------------------

Try it out here:
https://gamedev8.github.io/js-sfa/default.htm
--------------------


This is more of a "Chrome experiment". I have not really tested it in Firefox, Safari or IE.

Playable Characters (so far)
--------------------
Ken
Ryu
Sagat
MBison
Akuma

Player 1 keys:
--------------------
Pause (Next frame): O
Resume: P
Coin: Control
Start: Enter
light punch: A
medium punch: S
hard punch: D
light kick: Z
medium kick: X
hard kick: C
turn around: F
walk, crouch, jump: Arrow keys

Tips
--------------------
In the browser console, use the debug_.practice() function to quickly start practice matches.

//Ken vs Ryu
debug_.practice();

//Dramatic Battle
debug_.practice([{A:CHARACTERS.KEN}, {A:CHARACTERS.RYU, C:true}], [{A:CHARACTERS.MBISON, C:true}], "dramatic_battle");

//start a 1 on 1 match vs Akuma (AI difficulty is maxed out)
debug_.practice([{A:CHARACTERS.KEN}], [{A:CHARACTERS.AKUMA, C:true, D:100}], "guy")

//start a 2 on 2 match
debug_.practice([{A:CHARACTERS.KEN}, {A:CHARACTERS.RYU, B:true, C:true}], [{A:CHARACTERS.MBISON, C:true}, {A:CHARACTERS.SAGAT, C:true}], "guy")

//instantly give level 3 energy
debug_.maxOutEnergy();

//brings up the projectile editor
debug_.showProjectileEditor();

//hides the projectile editor
debug_.hideProjectileEditor();


Join the chat at https://gitter.im/gamedev8/js-sfa

js-sfa's People

Contributors

gamedev8 avatar gitter-badger 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.