Giter Site home page Giter Site logo

raven's Introduction

raven's People

Contributors

matteokeole avatar

Stargazers

 avatar  avatar

Watchers

 avatar

raven's Issues

Group position not computed on resize events

Group components get computed once when their children are added to the render queue.
On a resize event, or every render which doesn't modifies the render queue, Groups aren't recomputed, thus having their children sometimes overflow the viewport when reducing the screen size.

Invisible textures on Firefox

Firefox doesn't show textures loaded from a source image. Color textures (created from a script) are being rendered.

image
image

Find a way to remove the GUIComposite export in the client-side

Possible solutions:

  • Store the TextureWrapper name in the component, instead of the whole wrapper
  • Pass the context as a constructor argument (this means that all components will require a context argument, even in the clieint-side)
  • (Text components only) Pass the font texture along the font

Error when disposing the GUI manager

When an exception is catched inside the public main script, the Instance.dispose method is called and disposes all the underlying renderer managers by calling RendererManager.dispose. However this method is not present in the superclass, nor in the GUIManager class which extends it.

Slow texture loading

When the texture list file contains ~40 entries the loading time is ~1s.

Proposition

Use Promise.all to fetch the textures in parallel.
Some textures can also use deferred loading if they are used later.

Add Vector.isNull()

Returns true if the vector's length is 0, false otherwise. To be applied on all Vector classes.

We can avoid computing the length here and instead check if all components are 0.

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.