JavaScript based multiplayer game frontend business logic and graphical development

OData support
Supervisor:
Imre Gábor
Department of Automation and Applied Informatics

In the last year web development went through a period of significant growth. The two-decade-old ECMAScript standard, which is the foundation of all responsive websites, was entirely reborn. Naturally, its supersets and implementing languages followed right along.

This thesis provides insight into the world of modern web development through JavaScript-based technologies. It focuses on client-side graphics and logic, but the structure of the program and the connection to the server will also be briefly mentioned.

To introduce the scripting languages and frameworks we learned about this semester, we wrote a multiplayer, space shooter game, that runs in a web browser. The programming language we chose was TypeScript, a strict superset of JavaScript. Its main characteristics are optional static typing and class-based object-oriented programming.

I chose Phaser as the frontend game framework, because it can be used to develop platform independent web applications and it is outstanding in both graphics and game logic. Phaser uses WebGL or Canvas for rendering. It includes multiple physics systems, developed with different goals in mind, and also aspires to support as many of the external libraries as possible.

Downloads

Please sign in to download the files of this thesis.