Game development with WebGL

OData support
Dr. Szécsi László
Department of Control Engineering and Information Technology

Nowadays computer games make up a significant sector of the entertainment industry. As the internet developed, browser based games became more popular. These games are not sold at retail stores, you just simply visit a webpage and the gameplay takes place in the browser itself.

Browser resources had been severely limited and therefore various plugins developed by individual companies (e.g. Adobe Flash) appeared, which enabled the display of more complex graphic elements on the webpages. As these plugins were developer specific, compatibility issues arose.

One of the main aims of HTML5 was to unify these functions and to simplify video and audio playback in the web browser. It is already a great platform for developing web games, but in the near future it could easily become more popular and widespread.

The Web Graphics Library (WebGL) was released a few years ago, which is complementary to the JavaScript programming language and allows to render complex 3D graphics on webpages. Many different frameworks were released for it, which made WebGL development even more efficient and easier. Such framework is for example Three.js, which I used for my thesis.

First I will introduce the necessary tools for WebGL development in my thesis then I will describe the design and construction of a top-down view adventure game. Several problems emerged during the design process. The two main ones were the random city generation and the pedestrians’ autonomous behavior. I will explain the suggested algorithms for these problems and describe their implementations.


Please sign in to download the files of this thesis.