Showing posts with label darlingjs. Show all posts
Showing posts with label darlingjs. Show all posts

Tuesday, October 29, 2013

DarlingJS / Intro to Entity-Component-System game engine / Draft

Ash

One British gentleman Richard Lord - game developer. I had first met him and had started to read his blog when I found his implementation of a particle system - it's called Flint and it has brilliant architecture. At first he used a lot of famous Patterns from the famous book of the band of four (Like Factory, Components, Strategy, State) and it was one of the best combinations of those patterns that I have ever seen.

Friday, May 31, 2013

Creation of documentation for JavaScript library


If you are developing open source library one of most important things is documentation and it's great if it has good design. But anyway, it's better to have a badly designed documentation than none at all.
So here i'll describe of some tectonics (jsdoc, unittests, grunt) to apply documentation for your opensource project.

Friday, May 17, 2013

Parallax / On Darlingjs


Here is short article about creating parallax effect upon game engine darlingjs

What is the parallax?

In our case parallax is an effect of perception that takes place when 3D environment is translated into 2D display surface. For example we have an observer with 'view port' (2D) and some objects on different distance from the observer in 3D. If the observer takes left or right step than visually objects located nearby will move faster than objects located further away from the observer. If an object is placed very far from the observer for a short period of time it will look as if it doesn't move at all, like the sun for the observer on the Earth.

Friday, May 10, 2013

Cyclic background / On Darlingjs


Goal

One of the issue i got during developing of the 2D game Red Cabriolet was creation of landscape with taste of 3D environment. In other words:
  • the landscape mast be unlimited;
  • placed behind the main stage;
  • and gives feeling of 3D space in 2D;

Sunday, April 21, 2013

Anons of DarlingJS and Red Cabriolet

darlingjs

I'm developing flexible javascript game engine darling.js and also the game Red Cabriolet as example of possibilities of engine. So any comments and feedback is welcome.