Code Monkey home page Code Monkey logo

chuck.js's People

Contributors

jeena avatar logsol avatar tobiastom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

waffle-iron

chuck.js's Issues

Implement Items

rewrite Items class to work within the new game structure

Implement GameObject

Change all visible objects to GameObject which will have a visual and a physical representation inside. They will also render them selves and will live in a game pool.

Refactor Box2d body creation management

Refactor Box2d body creation management and structure. rethink,
who is calling who and when in order to create bodies needed.

maybe use a callback function like createBodyCallback(bodyDef, fixtureDef)

Remove jquery

It is not really necessary.
please remove it from Keyboard Input classes

Refactor input class design

xyinput should be renamed to inputcontroller and then there should only be the subclasses for Keyboard/Mouse Input, GamePad Input and Touch for Mobile Applications.

Remove unnecessary update / enterFrame

a player controller should not implement an update function. only actual user events should be processed.

e.g. move should not have to trigger all the time, only when it changes. the doll should know if a key has or has not already been released and process the movement in its own update method.

this also means, that keyboardInput.getKeyFrameFunction does not make sense anymore.

Create Constants Module

create a space for constants.
things like 'myFeet' that are stored in userData of the box2d bodies.

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.