GithubHelp home page GithubHelp logo

imclab / stellar7 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeromeetienne/stellar7

0.0 1.0 0.0 88.13 MB

stellar7 game on top of three.js games

Home Page: http://jeromeetienne.github.io/stellar7/

stellar7's Introduction

threex.stella7

threex.stellar7 is a three.js extension which provide stellar7 stuff. The models, the controls, the collision, all the bricks to actually do a stellar7 like game.

Show Don't Tell

How To Install It

You can install it via script tag

<script src='threex.stellar7.js'></script>

Or you can install with bower, as you wish.

bower install threex.stellar7

How To Use It

there is no real use as it is only a boilerplate for your own extension.

var instance	= new THREEx.Sample()

threex.stellar7tank.js

Typical initialisation

// create the tank
var stellar7tank	= new THREEx.Stellar7Tank()
// add the tank to the scene
scene.add( stellar7tank.object3d )
// as usual, you update it at every render
onRenderFcts.push(function(delta, now){
	stellar7tank.update(delta, now)
})

Exposed variables

  • stellar7tank.gunSpeed: to set the angular speed of the gun
  • stellar7tank.turnSpeed: to set the angular speed of the tank
  • stellar7tank.moveSpeed: to set the speed of the tank

Usefull Links

stellar7's People

Contributors

jeromeetienne avatar

Watchers

 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.