Coder Social home page Coder Social logo

lynxjs's People

Contributors

cosrnos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lynxjs's Issues

Add Lynx.Layer

A Layer is a graphic component, separating canvases on the Z axis. Objects on Layers should only collide with objects on the same layer by default but can be manipulated to interact with objects on other layers if specified.

Spritesheet Support

I should be able to load a spritesheet and an associated JSON object with sprite coordinates and Lynx should turn it into a texture and map the correct coordinates for each frame

Add Sprite/Texture Support

A game engine is useless if we can't easily render sprites! Time to add in texture/image support to Lynx.Renderer

LynxJS Rewrite

It's been ages since my last commit and in this time I've learned quite a bit about Javascript, best practices and working with teams. A rewrite is necessary for the new face of Lynx!

Texture Manager

Textures should be managed for WebGL to make sure we conserve memory and not duplicate textures.

Add Lynx.Map

A Lynx Map is a rectangle the viewport can navigate around. A Map has a camera view and can have multiple cameras that can be switched between.

Add WebGL Support

Canvas is fine and dandy for what we're doing now but eventually we'll need WebGL Support

Code Cleanup & Online Documentation

The code should be reviewed and cleaned up as necessary. Additionally, the online documentation and getting started guide should be posted.

Transformations

Basic transformation methods should be attached to each canvas element:

  • Rotate
  • Translate/Move
  • Flip
  • Scale

Collision Component

There should be at least one collision detection component included in the source

Add QuadCanvas

A QuadCanvas is like a quadtree, dividing objects into 4 separate quadrants, each having their own "requiresUpdate" field to help boost performance with less calls to Draw();

QuadCanvas rework

QuadCanvas has been added to the source. However, the current implementation is too large to be considered production ready. The main issue is that we cannot simply extend a quadtree, since the split method would require a new Lynx.QuadCanvas rather than Lynx.Quadtree for its nodes.

This should be redone. The only idea I have at the moment is making all private variables properties and then modifying the split method of the extended Quadtree object, though I don't like the idea of giving direct access to the nodes, objects and limits.

Add Lynx.Scene

A scene is a combination of layers and objects all placed on a Lynx.Map.

Animated Texture Support

An array of textures or images should be able to be passed to the object's texture object and the animator will decide which to use for each frame.

Add Lynx.Entity

Entities should extend Lynx.Object and contain canvas objects, Have a link to the parent layer and have a bounding box (rectangle of size of image or object by default).

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.