GithubHelp home page GithubHelp logo

michalliu / therenderengine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bfattori/therenderengine

0.0 1.0 0.0 6.74 MB

The Render Engine is a cross-browser, open source game engine written entirely in JavaScript. Designed from the ground up to be extremely flexible, it boasts an extensive API and uses the newest features of today's modern browsers.

Home Page: http://bfattori.github.com/TheRenderEngine

License: MIT License

therenderengine's Introduction

The Render Engine

The Render Engine is a cross-browser, open source game engine written entirely in JavaScript. Designed from the ground up to be extremely flexible, it boasts an extensive API and uses the newest features of today's modern browsers. The Render Engine is a framework which is intended to aid in developing your game idea by providing the foundation and tools to speed up the process of going from idea to finished product.

Check it out here: http://bfattori.github.com/TheRenderEngine/

The Render Engine supports:

  • Chrome
  • Firefox
  • Internet Explorer 9.0+
  • Opera
  • Safari

Concept

When creating games, it is often quite easy to reimplement the same code over-and-over. You need to do things with keyboard or mouse input, or you have to render your character to the screen, you might also want to know when two objects collide. Instead of rewriting this code (or god forbid, copying it) The Render Engine is based on the idea of components.

Each component is intended to perform a discreet task. These tasks fall into one of the five types of operations:

  1. Input
  2. Transform (movement)
  3. Logic
  4. Collision
  5. Rendering

These operations execute from the top down for each game object. First an object processes its inputs, then moves, next it performs any logic, the next step is to check collisions, then it renders. Each game object can have as many of each type of component within it. The components can be assigned a priority, with a higher priority executing before a lower priority. This way, each game object can delegate a majority of its operation to these reusble components which frees you up to work on the game-specific implementation of your game object.

How Do I Use This Thing?

Understand that what you have here is known as a "game engine". Just like in a car, you can design a fancy body, amazing interior, outfit it with chrome 22's, etc. But until you put an engine in it and wire everything up, that car is just a concept. The Render Engine provides you with this "engine" to make your game run. It also contains many objects which will take care of doing the most mundane things so that you can focus on your game, not the fundamentals.

Tutorials & Demos

The included tutorials and demos are provided to help you understand the framework and how everything works together. Each tutorial is intended to either build upon a previous tutorial, or provide an introduction to an engine feature. The demos are meant to be more complete examples of different concepts working together to form a game.

(c)2008-2013 Brett Fattori ([email protected]) MIT Licensed

therenderengine's People

Contributors

bfattori 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.