January 2017

JavaScript: Do you like games? (part 4)

January 12th, 2017|Categories: Games, JavaScript, Technical, Written by our colleagues|Tags: , , , , |

We’re going to continue with DisplayObject which extends Scene. You can review the schema in part 1 of this series but we’re going to make some changes to how things are named. Its job is very simple; it will group objects that need to be rendered in a children array and it will expose methods which allow us to add and remove elements to this array. It’s actually very similar in functionality to the Canvas. We want everything that’s being rendered in our Scene to be a DisplayObject. Imagine a game where we have a space ship. Whenever the ship

JavaScript: Do you like games? (part 3)

January 5th, 2017|Categories: JavaScript, Technical, Written by our colleagues|Tags: , , , , |

The last article was a bit long so we’re going to move forward in smaller increments. Let’s start with a discussion on how movement works in games. The 18th century Swiss mathematician, physicist, astronomer, logician and engineer (quite a resume) Leonhard Euler devised a way for us to predict where an object’s going to be based on two things: its current position and its speed. We actually used it in our previous article in the update() method of our Square class: this.x += 1 * movementMultiplier; this.y += 1.5 * movementMultiplier; Euler integration works wonders in games where speed is

December 2016

JavaScript: Do you like games? (part 2)

December 22nd, 2016|Categories: JavaScript, Technical, Written by our colleagues|Tags: , , , , |

Time to get started on the core components of the game engine. We should be able to render something on the Canvas before the end of this article! Note: please be aware that I’ll add links to specific pieces of code in the GIT repository history tree. This will make it easier for you to run the same code I did when describing a specific feature. We’ll start by working on the classes that have no dependencies like: Game, AssetLoader and EventDispatcher then progress onto others that might extend these. The Game class could: accept a Scene as an optional

JavaScript: Do you like games? (part 1)

December 14th, 2016|Categories: JavaScript, Technical, Written by our colleagues|Tags: , , , |

Maybe I should ask if you’ve ever thought about how games work, perhaps even about building a game from scratch? If not, turn away now; I see lots of math in your future! In my childhood I was fascinated by Mario and other games like it. They were very simplistic and yet extremely fun to play. Mario is making a comeback with Super Mario Maker on Wii U which actually didn’t surprise me one bit. After years of programming I tried to make a few games of my own and I quickly realized that the methodologies, working environments, strategies, planning,

Creating a programming language: Larry Wall and Perl

December 6th, 2016|Categories: Perl, Technical, Written by our colleagues|Tags: , , , , , , , , , , , , , , , , , , , , , , |

Programming is beyond the grasp of most people, it doesn't matter if we’re talking about Perl or another language. Most individuals will look at it as more than a foreign language, as something beyond comprehension, something that takes a special kind of thinking. There is some truth to this, as in not everybody can become a developer, it does take a special little something, a certain mindset beyond hardwork and dedication. But in the end most programmers just work with a language, be it Perl or another, the true masters are the builders of those languages. Creating a programming language

November 2016

Measuring performance with JMeter

November 24th, 2016|Categories: Technical, Testing, Written by our colleagues|Tags: , , , , |

With the continuous growth of the number of services available online and a majority of potential clients or users opting for an online approach to those services, having a well optimised web application which can support a large number of concurrent users is a must these days. Failing to do so will substantially cut revenue and determine users to move to the next web app which can support their needs. In order to measure an application’s performance and decrease the chances of downtime and failure, rigorous load testing must be done. That’s where JMeter steps in. Introduction JMeter is an