Coder Social home page Coder Social logo

yaxamedia / project-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hellsaur/project-1

0.0 1.0 0.0 26 MB

Race car game made with html / javascript / css

Home Page: http://trainer-doreen-66446.bitballoon.com/

HTML 20.31% JavaScript 40.59% CSS 39.10%

project-1's Introduction

#project-1

*** Marco Acosta / 10/06/2017 ***

STREETRACER

what is STREETRACER?

street racer is basically a racing game where 2 players race each other for VICTORY!!. Reason i chose this game is because i have an idea of how to do them and also because i love racing games!!!!

Wireframe

on paper .

Initial thoughts on game structure

I was thinking on doing key codes for the cars in the race. whenever a car goes past the finish line, an image of the racer will pop out. Also i want to use keyframes to make the cars look like they are actually running. To make the car reach the end point i was planning on relying the winner on reaching the finish line with actual pixels. Challenges i will think would be between the keycodes, keyframes and actually making the car go past the finish line. Also trying to make like a landing page for the game and trying to actually make the background image repeat somehow.

Phases of Completion

when one racer wins, a pop up of the racer will show up saying he won the race.

day 1: pesudocode + html

day 2: javascript

day 3: javascript + css

day 4: more javascript + debug

day 5: debugs

Links and Resources

game: https://www.youtube.com/watch?v=cw1tp8Ku6wA image : https://lh3.googleusercontent.com/G_Y3_sPzrVFV4e73qEZ2CwDwz0TXQOOLVdOAPChQEYlnVANfMY-PDyxN7idmvG7vJB8=h900 I learned how to call an element from css by calling it with the offset for a collition. I found this method here: http://www.developphp.com/video/JavaScript/WAPG-5-Collision-Hit-Detection-DOM-Programming-JavaScript-Tutorial.

HOW TO PLAY:

Press "S" to move player 1 forwards and use keys "W" and "X" to move up and down.

Press "J" to move player 2 forwards and use keys "U" and "M" to move up and down.

Avoid the incoming cars to win the race!

Used Javascript / HTML and CSS.

project-1's People

Contributors

hellsaur avatar

Watchers

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