Javascript Game Development Css Amimation Save Abandoned

Small example showing how you can make game sprite animations using CSS with Javascript movement.

Project README

Hi there, I'm Björn Hjorth 👋

I like combining the web and game development, if you like what you see please do not be a stranger and say "Hi" on Twitter @browsermage

Edit Demo on StackBlitz⚡️ · Report Bug

Logo

About The Project

Small example showing how you can make game sprite animations using CSS with Javascript movement.

All of the game logic happens in the game.js file.

All of the CSS animation (exept states) is in the duck/duck.styles.css

You use keyboard A W S D navigation to move around

PS. the images are hosted on firebase to make the demo work on StackBlitz

Prerequisites

  • Node
  • Npm

Getting started

  1. Clone the repo
    git clone https://github.com/browsermage/javascript-game-development-css-amimation.git
    
  2. Move to the new directory
    cd javascript-game-development-css-amimation
    
  3. Install development dependencies
    npm install
    
  4. Start up the development environment
    npm run dev   
    

Contact

Björn Hjorth - @browsermage

Homepage: https://browsermage.com

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgments

To all the indiedevs that I have connected with over the years.

Open Source Agenda is not affiliated with "Javascript Game Development Css Amimation" Project. README Source: browsermage/javascript-game-development-css-amimation
Stars
35
Open Issues
0
Last Commit
8 months ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating