Coder Social home page Coder Social logo

game-time's Introduction

Joust Clone

live page

One of my favorite arcade games of all time is Joust. Something about the art direction, the physics, and simple yet fun gameplay made me want to recreate it. This was my first attempt at utilzing HTML5's canvas, working with sprites, and using a game loop to clear and redraw the screen.

This project also helped solidify my understanding of JavaScript object oriented programming. I made classes for players, enemies, and platforms and had them inherit properities from the game manager class. The game is two player, with player 1 using A-W-D to control their bird and player 2 using the arrow keys.

I had trouble finding adequate sprite images of the characters so please forgive the blockiness. The hardest part I found was mimicking the physics from Joust.

The project is fully tested with Mocha and Chai and was built in two weeks with @NatBee

to run this project on your machine first clone the repo

'npm i' 'npm start' and navigate to localhost:8080 'npm t' to run the test suite

game-time's People

Contributors

etcetera8 avatar natbee avatar nfosterky avatar robbiejaeger avatar

Watchers

 avatar

game-time's Issues

End Game

Top Score? After three deaths? Get a life when score meets a threshold

Player 'Jumps' through bottom right platform

Only on the right side of the platform jumps through bottom.

We think the 'flying' is changing the y enough briefly to register that the top of the platform is being touched so changes the player y to the top of the platform.

Get Images for game

  • Bird standing
  • Bird running (left foot forward/right foot forward)
  • Bird flying (feet up/wings up)
  • Bird floating (wings down/feet up)

-Platform Sprites

Enemy
-Wings up
-wings down

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.