Giter Club home page Giter Club logo

urts's Introduction

uRTS

uRTS is a tiny, HTML5 canvas real-time strategy game. It was built entirely on the web โ€” starting as a jsFiddle, then graduating to GitHub and Cloud9 once it was big enough.

Architecture

Game

Central coordinator. Manages configuration and running of all game systems.

Systems

Controls various aspects of game, such as rendering, interaction, and AI.

Scene

Defines the entities and systems needed for a particular configuration of the game.

Input

Collects raw keyboard/mouse input and translates it into meaningful game control.

GUI

Draws the user interface details and sets up e.g., button controls.

Display

WebGL/THREE.js entity rendering.

Entity/Component Framework

Unity3D-inspired entity/component framework.

Entity

Component

Factory

Component Index

Todo

  • Expand terrain generation, especially feature selection (trees, water, rocks)
  • Add interesting low-poly meshes. Rendering/shading very important here.
  • Build actual RTS UI/UX
  • Play with AI, especially Utility Theory (Game Coding Complete, p630)
  • Improve pathing -- navmeshes, flocking, "flow fields" (ala SC 2)
  • Explore "chunking". Infinite-map sandbox+RTS could be cool.
  • Reconsider fog-of-war. Does it make sense in an "infinite" map?

Resources

urts's People

Contributors

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