Coder Social home page Coder Social logo

duengine's People

Contributors

cantidio avatar gitter-badger avatar mazoni avatar waffle-iron avatar

Watchers

 avatar  avatar

Forkers

gitter-badger

duengine's Issues

Camera should consider the background bounds.

The Camera should respect the background bounds. It should not show the parts that there is no background.
Example:
It should just scroll after the followed object reaches the middle of the screen for instance.

Create Particle System

As a developer I want to be able to create Particles/Effects that are composed of a Animation or a single Sprite to be Displayed for some time and then disappear.

For Now, a particle can be a simple abstract Class that may look like this:

abstract class Particle {
    void update();
    void draw( draw parameters );
    bool get alive;
    static Function get emitter;//Returns function that can emit a new instance of this particle.
}

We can have another Particle called ParticleEffect/Effect that extends the Particle class and just shows an Animation and then dies.

Maybe we can have something like an Particle Emitter that creates Particle instances using the spawnFunction.

class ParticleEmitter {
  Function _emitter;
  ParticleEmitter(Function emitter);
  emit(); //emit new Particle using the emitter function.
}

Create InputBuffer, InputCommand and InputCommandController

The Input buffer should store the triggered commands in a circular list.
It should be able to check if some InputCommand was executed.

The InputCommandController should tie the InputBuffer and a List of InputCommands.
It Should have a update method that checks for each of the commands in the list and trigger their correspondent callback.

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.