Giter Club home page Giter Club logo

car's Introduction

Multiplayer 2d car physics with JavaScript!

https://car.js.org Use keyboard (up/down/left/right/space, w/s/a/d/space), touch screen (swipe up, down, left, right + shoot with second finger) or gamepad.

All code here! Not real car physics, but a simple way to do nice little drifting ๐Ÿ˜›

Skidmarks are rendered with canvas and car is just a simple DIV element. Web socket server is here: https://github.com/pakastin/car-ws

Check out my other projects and/or sponsor me to keep these coming! ๐Ÿ˜Ž

car's People

Contributors

gezeta-id avatar k1sul1 avatar mrwanashraf avatar pakastin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

car's Issues

Suggestion for tracks and levels!

Also maybe not put tracks in the middle of the canvas maybe put them on a separate GitHub Pages link with a button linking from the main page?

Feature request - Pass car data in real-time to external script

Hello,

I would like to make a feature request.

Is it possible that the driving speed and the direction/heading of the vehicle can be passed to an exterenal script via ajax or js.

The idea is as the car is being driven the speed, heading value is passed in real-time to an external script/api

If this can't be included in the official code, can someone please guide me how it can be done where in the code to focus to get it done so i Can try it out please?

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.