Git Product home page Git Product logo

abacus's Introduction

#Abacus.js Abacus is an Open Source HTML5 Game Framework. Abacus is currently in the early pre 0.1 stage of development. Take a look at the milestones to see our progress: https://github.com/Abacus/Abacus/issues/milestones

Please see Dependancies, Documentation, Project goals, Target User, Roadmap, W3C API requests, Style Guide, Contributing Guide, and Target Browsers below.

If you are interested in contributing to Open Web Standards connected to games, make sure to join the W3C Games Community Group http://www.w3.org/community/games.

License

CC0 Public Domain - http://creativecommons.org/publicdomain/zero/1.0/

Dependencies

One time setup for build process:

Setup

Once the dependencies are installed: $ make setup

Future re-builds require only:

$ make

Or...

$ jake

Documentation

Documentation for the APIs we have implemented so far is available on our wiki: https://github.com/Abacus/Abacus/wiki/Documentation

Project goals

The project goals are available on our wiki: https://github.com/Abacus/Abacus/wiki/goals

Target User

  • Games developers
  • Indie game developers
  • Large game studios

Roadmap

The project roadmap is available on our wiki: https://github.com/Abacus/Abacus/wiki/roadmap

What we really want from browser vendors:

  • GPU profiling
  • GPU fingerprinting details
  • Higher resolution timer (micros plz)

Style Guide

We conform to the following conventions:

  • Two space soft tabs
  • Single quotes over double quotes
  • Use a single var statement for multiple vars when possible
  • Indent var lists by four spaces

See Also: https://github.com/rwldrn/idiomatic.js

Contributing Guide

We encourage you to fork, branch and make pull requests! Join us in #Abacus on irc.freenode.net.

Issues are also really helpful, please head over to the issues for this project to give input on the project goals/scope, the API so far, or to submit a feature request or bug: https://github.com/Abacus/Abacus/issues

Target Browsers

  • IE 9
  • Chrome latest -1
  • FF latest -1
  • Safari latest -1
  • Opera latest -1
  • Mobile Firefox latest -1
  • Mobile Safari latest -1

abacus's People

Contributors

andrewdolce avatar boazsender avatar mzgoddard avatar rwaldron avatar secretrobotron 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

abacus's Issues

Abacus.clone does not make deep array copies

Abacus.clone makes deep object copies but not deep array copies. Clone should make deep array copies too as the documentation suggests it will.

The documentation for clone reads

Abacus.clone( obj )  // Returns deep copy of obj

`typeof` is an operator

In the function body of chooseTweenFunction, typeof has unnec. parens around its RHS operand

Introduce Storage APIs

Introduce storage APIs for other Abacus APIs to consume for persisting data.

We need a way for Abacus APIs to arbitrarily store data locally by default, and then expose their own APIs for the user to select an endpoint to persist the data remotely with.

My thought is that the storage APIs should use CRUD sugar.

Expose Abacus.entity.entities and add APIs for accessing/maintaining them

I would like to be able to operate on Abacus.entity.entities publicly.

I would like for example to be able to populate Abacus.entity.entities from localStorage.

Perhaps we expose one array of entities for each type added to the hooks, eg: Abacus.entities.players?

I would like to use these public arrays of entities like a light backbone style collection.

Animation States

Animation currently stores data and operates with that data on an object over time. Frame similarly stores both the raw data and values to keep it from needing to loop through all the data every update. I think these objects should be split into something like this gist.

Vendor prefix detection

Find the vendor prefix once, re-use as needed. This will reduce the amount of duplicate, bullshit code we write for edge APIs

Abacus.animation internal method cacheKeys() needs review

I'm not sure how to describe this, but if you put a console.log in the function, just before the return console.log( keys ) and then run the test suite, you'll see that it's creating some bogus looking arrays, mostly when it deals with Float32Arrays

Abacus.clone cannot clone ArrayBufferViews in Firefox

Abacus.clone(new Float32Array([1,2]))

returns following error in Firefox 7.0.1 on Mac OS 10.6.8 (taken from FireBug)

TypeError: value is not a non-null object
(undefined="[object Float32Array]")abacus.js (line 55)
[Break On This Error] })( obj )); 

Introduce Event system

Introduce new event system to handle in memory events (eg to be consumed by entity), and DOM Events (to be consumed by input).

Which license?

Looking at the repo, readme file, and a cursory look at the Wiki, I have found no mention of a license for Abacus. Is it MIT, BSD, GPL, Mozilla, Apache, or some esoteric license? Is it even Open Source? Currently this cannot easily be determined by anyone through reading the currently available documentation.

Personally I'm always a MIT and BSD fan, but I am not super knowledgable in the details and nuances of choosing a license for a project.

Tween get() function does not evaluate correctly at preferredIndex of 0

Currently the abacus.tween.get( preferredIndex ) function compares the preferredIndex with the tween object's index property and uses the non-false value. This means that if the index stores a nonzero value, the function result is wrong for a preferredIndex of 0.

Example:

aTween.get(0); // evals correctly
aTween.get(0.5); // evals correctly
aTween.get(0); // evals incorrectly, instead outputting tween result for 0.5

Inconsistent whitespace?

White space and code formatting is all over the place

  • Tabs or spaces?
  • Single or Double Quotes?
  • Style Guide?

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.