+
Skip to content

ajmalafif/yfs-selection

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Street Fighter 2 - Character Selection CLone

A clone of the character selection screen of the game street fighter 2

I was practicing some algorithms at codewars and I stumble upon one "kata" where I had to simulate a game's selection grid.

Then I thought, can I create a clone of the street fighter 2 selection screen by only using html, css and javascript?

So that's what I did, I found sprites of the original game, cut everything into pieces using gimp, then positioned everything on their respective position with the magic powers of css.

The behavior is the same as the original game. You can use the arrow keys or vim keys (hjkl) to move around the grid to select a player, every time you move it also dynamically change the highlighted flag on the map to match the selected character.

Technologies used

  • PUG
  • SASS
  • Vanilla JS

Website

https://street-fighter-clone.trevzix.me/

About

YFS mini-MVP workshop props. Street Fighter 2 character selection influenced.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 40.9%
  • SCSS 24.8%
  • Pug 17.3%
  • HTML 17.0%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载