Giter Club home page Giter Club logo

css-galaga's Introduction

CSS Galaga

Recreating classical Galaga in HTML/JS/CSS.

The idea behind this project is: Can I rebuild Galaga, to scale, with only CSS and Javascript? After playing around with some css tricks I found the box-shadow method to be the best method for recreating pixels without images. I created a secondary project that would take a picture and produce css to render it. Now that I had the sprites it was time to implement the logic. It is just basic movement and missle fire, some day I will get back to implementing enemy flight and attack from my notes.

Controls

When running the game, wait for the sound to load, you will be prompted with the classical Galaga coin insert noise when everything is ready to go. The beginning level sound will play and then the game will commence. Use the left and right arrow keys to move back and forth and use the space key to fire missles.

Running Version

http://zacharycava.com/games

Notes About Performance

The game is not very optimized at the moment and requires some heafty hardware to run, though I have been able to successfully run it on an ASUS 1000HE netbook, so any moderate hardware should do. You must play the game in Chrome though because of render differences in Firefox and absolute destruction in IE. Its just a project for fun, I am not to concerned with cross browser support at the moment. Perhaps in the future.

css-galaga's People

Contributors

technogeek00 avatar

Watchers

James Cloos avatar kyle 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.