rss twitter
Home Game Development Interesting Stuff Snippets Tutorials
in Canvas2D - 29 Jul, 2013
by WChris - no comments
move

In this first part of my basic movement tutorial series, I want to show you how you can achieve a basic movement system where a object follows the mouse with an easing animation / speed. Additionally we are adding the ability to directly face our desired target (mouse).

Tags: , , , , , , , ,

in Game Development - 24 Jul, 2013
by WChris - no comments
bongo

Introduction A particle engine is a crucial part in todays game engines and also an easy way to achieve awesome effects / graphics without being an artist. But what exactly is a particle engine? Actually there is really no big magic behind this, all we need is a particle emitter and particle class.

Tags: , , , , , , ,

in AI - 23 Jul, 2013
by WChris - no comments
Bildschirmfoto 2013-07-23 um 16.23.49

In todays games there is almost always the need to find the quickest way to a desired destination. No matter if you want to create a strategy, hack&slash or just a platformer and especially when it comes to Artificial Intelligence, there must be a performant and reliable system behind your game.

Tags: , , , , , ,

in Canvas2D - 22 Jul, 2013
by WChris - one comment
snake

This is the first part of our tutorial series on how to create snake game with and without frameworks. In part one we will be developing a snake using without using any framework, just basic javascrript and canvas-2d. To make it easier to read, the whole tutorial part is inside the source as comments.

Tags: , , , , , , , , , ,

in Game Development - 19 Jul, 2013
by WChris - no comments
ttt

Reusable code is something very useful and big applications would only be very hard to achieve without it. But as JavaScript doesn’t have the best capabilities of OOP yet, it’s a bit uncommon on how to inherit a child class from a parent class, to reuse its methods and properties. I will try to show [...]

Tags: , , , , , ,

in Game Development - 19 Jul, 2013
by WChris - 2 comments
ttt

Some people still might not have heard of an really awesome and cool feature called Web Workers… this is just not acceptable! Why? Because they are simply awesome! A basic introduction With web workers you’re able to build multi-threaded javascript applications, you heard right! multi-threaded! Imagine the following: You’re building a really cool game using [...]

Tags: , ,

in Canvas2D - 18 Jul, 2013
by WChris - no comments

On many pages on the web, people still tend to use setInterval() as main function of a gameloop. This is not the best way to do this. Modern browsers are capable of telling you, as soon as they’re ready to render new output using requestAnimationFrame.  

Tags: , , , , ,