Use javascript and css to build a StreetFighter Ryu,walk,jump,basic punch kick,launch fireball and dragon punch.

Overview

SFRyu

Use javascript and css to build a StreetFighter Ryu,walk,jump,basic punch kick,launch fireball and dragon punch.

因為小時候就很喜歡玩快打旋風,於是用Javascript,CSS設計一個快打旋風遊戲角色Ryu來娛樂一下,可以走動、跳、基本拳打腳踢、發氣功以及昇龍拳。

Demo

運用的程式技術

  1. 運用了CSS animation+keyframes來達成出招(參考資料來源)。
  2. 運用了Javascript來偵測角色移動範圍設定場景的ScrollLeft,達成橫向卷軸移動舞台背景的效果,達成實際電玩相同的效果。
  3. 原本一開始搭JQuqery,為了後續計畫增加連線對打功能改用Pure Javascript。

操作方法

  1. 方向鍵的【左】與【右】可往前往後行走,【下】=蹲下。
  2. 【空白鍵】=跳躍,搭配左右鍵可往前跳、往後跳。
  3. 【a】=輕拳,【s】=重拳。
  4. 【z】=輕腳,【x】=重腳。
  5. 【ctrl+a】=發氣功,【ctrl+q】=昇龍拳。

圖片來源

  1. Ryu招式圖檔:https://spritedatabase.net/
  2. 舞台場景:https://twitter.com/streetfighter/status/1248329659147669505?lang=zh-Hant

引用版權聲明

  1. 此專案所使用到的StreetFighter的角色、招式以及場景版權皆屬Capcom公司所有。
  2. 此專案運用網頁技術來開發類似StreeFighter遊戲角色Ryu,純粹是磨練程式開發技術練習之用,並無商業營利行為。
ryu.mp4
You might also like...

In this project, I built a basic website that allows users to add/remove books from a list using HTML/CSS to build the app and JavaScript to add functionalities. This project was organized using modules and ES6 syntax implemented.

Awesome books: with ES6 Description the project. Built With HTML CSS JAVASCRIPT Live Demo (if available) Live Demo Link Getting Started This is an exa

Sep 9, 2022

Basic website that allows users to add/remove books from a list. Achieved using JavaScript objects and arrays, dynamically modifying the DOM and adding basic events.

Awesome Books Basic website that allows users to add/remove books from a list. Achieved using JavaScript objects and arrays, dynamically modifying the

Dec 20, 2022

A simple todo list app written in javascript and html with basic CSS styling This project makes use of webpack to bundle the code. I implemented 3 functionalities on the this project namely: Add task edit task delete task using Js

My To-Do List A simple todo list app written in javascript and html with basic CSS styling This project makes use of webpack to bundle the code. I imp

Nov 11, 2022

BASIC is a web application contains basic applications related to studies, love, health, weather, productivity. This project aim to simply the user's life in anyway.

BASIC is a web application contains basic applications related to studies, love, health, weather, productivity. This project aim to simply the user's life in anyway.

BASIC is a web application contains basic applications related to studies, love, health, weather, productivity. This project aim to simply the user's life in anyway. Supported by all operating system, need an internet connection for working properly.

Dec 19, 2021

Awesome Books. In this project, I built a basic website that allows users to add/remove books from a book list. This project is build with JavaScript.

Awesome Books. In this project, I built a basic website that allows users to add/remove books from a book list. This project is build with JavaScript.

Event Page Awesome Books. In this project, I built a basic website that allows users to add/remove books from a book list. Built With HTML CSS JavaScr

Feb 28, 2022

In this project, I built a to-do list app, which is inspired by the minimalist website. Build withHTML/CSS & JavaScript best practices: Correct use of tags, elements, properties and syntax.

Webpack Exercise In this project, I built a to-do list app, which is inspired by the minimalist website. Built With HTML/CSS & JavaScript best practic

Oct 11, 2022

In this project I have build a To Do List app that you can list, add, delete and manage your daily tasks better. Build with HTML, CSS, JS, ES6, JSON

ToDo List This project is build by javascript web packages which can add and remove daily tasks. Built With Html Css Javascript Sublime Text Author 👤

Oct 25, 2022

In this project, I will build a basic website that allows users to add/remove books from a list.

Awesome-books In this project, We will build a basic website that allows users to add/remove books from a list. Built With HTML 5 CSS 3 JavaScript Get

Jun 21, 2022

This is Basic calculator. This is made up of HTML5,CSS and JAVASCRIPT.

titleBasicCalculator/title style @media screen and (max-width : 574px){ h2{ font-size: large; }} @media screen and (max-width : 430px){ h2{ font

Dec 22, 2021
Owner
null
Join the GitHub Graduation Yearbook and "walk the stage" on June 11.

GitHub Graduation-2022 Available Translations ?? Pt-BR zh-CN 中文 日本 Русский Korean Indonesian Español (España) Español (México) Polski Filipino Türkçe

GitHub Education 1.5k Dec 26, 2022
Frontend landing page for Bento's Klaytn Launch in Klaymakers 2022

Bento Dashboard for Klaytn Fi+ Frontend landing page for Bento's Klaytn Launch in Klaymakers 2022 ??️ Licensing All our branding resources(such as tra

Inevitable (Bento) 3 Oct 26, 2022
fardin 8 Oct 18, 2022
This project will be a basic website that allows users to add/remove books from a list. The main objective is to understand how to use JavaScript objects and arrays and dynamically modify the DOM and add basic events.

Awesome-books Awesome Books This project will be a basic website that allows users to add/remove books from a list. This project is part of the Microv

Aleksandra Ujvari 10 Oct 3, 2022
Kick off your project with this recipe boilerplate

Gatsby starter for recipes with Flotiq source Kick off your project with this recipe boilerplate. This starter ships with the main Gatsby configuratio

flotiq 11 May 4, 2022
This plugin for Obsidian enables you to quickly jump to internal and external links

Obsidian Quick Jump Plugin This plugin for Obsidian enables you to quickly jump to internal and external links. This plugin is inspired by Jump to lin

Tadashi Aikawa 9 Sep 24, 2022
HackMIT 2022. 2nd Place in Blockchain for Society sponsored by Jump Crypto. A revolutionary web application that leverages machine learning and blockchain technology to improve the crowdsourcing experience!

?? Wikisafe ?? Wikisafe is a revolutionary new crowdsourcing web application that innovates the process of crowdsourcing information. This application

Benson Liu 5 Dec 8, 2022
A variety of jQuery plugin patterns for jump starting your plugin development

jQuery Plugin Patterns So, you've tried out jQuery Boilerplate or written a few of your own plugins before. They work to a degree and are readable, bu

jQuery Boilerplate 1.6k Dec 31, 2022
Jump to github urls (browser addon)

Currently a Firefox addon. Find GitHub locations quickly using your browser's history. Usage Use your mouse or keyboard. Use the filter to search for

madprops 4 Nov 28, 2022
🦋 Jump to local IDE source code while click the element of browser automatically

?? Why When developing a React app, you have a lot of components in your app. Sometimes you may forget where the code is located that you want to edit

Frozen FIsh 95 Aug 17, 2022