GithubHelp home page GithubHelp logo

enduro2d / enduro2d Goto Github PK

View Code? Open in Web Editor NEW
85.0 13.0 11.0 8.21 MB

Yet another 2d game engine of dreams (work in progress)

License: MIT License

CMake 0.26% C++ 99.00% Shell 0.35% Objective-C++ 0.37% GLSL 0.01%
engine 2d-engine game-engine game-engine-2d 2d-game-engine framework 2d-framework game-framework 2d-game-framework game-library

enduro2d's Introduction

enduro2d's People

Contributors

azhirnov avatar blackmatov avatar konh 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  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  avatar  avatar  avatar  avatar

enduro2d's Issues

Renderer's properties aren't merged correctly in render_system_drawer

Description of a problem

Nothing happens when you use custom uniforms in a shader and trying to update them somewhere.

Steps to reproduce

  1. Create a shader with a custom uniform, say a uniform float u_time;
  2. Use it to do some animations
  3. Create a system which updates renderer's property u_time with a game time
  4. Observe no animation

Expected behaviour

Animation executed correctly

Solution

Link to a problem place

In a function drawer::context::draw
Instead of

property_cache_
    .property("u_matrix_m", node->world_matrix())
    .merge(internal_properties_);

there should be

property_cache_
    .property("u_matrix_m", node->world_matrix())
    .merge(node_r.properties()) // <-- aha!
    .merge(internal_properties_);

Please provide build documentation

To build the project from sources, docs about external requirements, build process and so on will be very helpful. Now it isn't clear for further users/contributors.

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.