Since hand-writing levels is a tedious and non-visual (therefore maybe a error-prone) task, we want to create a proper level editor in the browser. We have already set up a (maybe not ideal, but kind of easy to write) format for levels. We will not discuss the class based JavaScript approach, nor will we go into details of the class diagram again of the game again. This article assumes you've read the article about the Mario5 game on the CodeProject. The first article on the Mario5 game introduced the concept of a class based JavaScript approach. The integration into existing code bases is also possible. This article will hopefully show that JavaScript code, which is written in an atomic manner, can actually be easily maintained and extended. ![]() While the first article focused on the coding technique and the principle design, this article will focus on how to re-use code and integrate existing code. ![]() This is the follow up article on the Mario5 game. Download the animations demo (requires the main game) - 2.2 KB.Download the demo project of the main game incl.
0 Comments
Leave a Reply. |