We are ready with our Jungle Worlds level and Palace level walk through for our 2D game. It did take the artists quite a bit of time and to create the levels but now the final product does look amazing.
Video 1 – Jungle Worlds level Walk through
Video 2 – Palace Worlds Level Walk Through
I hope you have a look at it and if you have any comments or suggestions for our in the jungle level, do not hesitate to leave us a comment.
We are ready with our XNA Tile Map Editor. Rather we would call it a Map Editor. Because in this updated edition you can also have tiles along with free images. So, double bonanza in single price.
And if you ask us the problems we have face while development, we would say they too many to count.
There were issues while making tiles and saving them but free images were fairly easy. There were a few problems in mouse handling, so we had to provide a complete keyboard control to set layer depth, rotation ,etc. (Which you can’t see in video).
Another crazy problem which came up was , whenever you try to move mouse to scroll window, coordination of mouse and images got messed up and they would fix their place anywhere in screen.
We have checked many videos on you tube and have gone through many tutorials and then came up with a detailed list of items to be added in the map editor. We have come up with our unique way of creating map editor which is useful for both Platformer games and RPG games.
Now we are on board the ship of hardcore coding and have just started sailing. We are now ready with the GUI of the game-the menu of the game which handles the game parameters.
We started building it from scratch by taking reference from book- Beginning XNA Programming, from Novice to Professional by Alexandre Lobao and others. Our Intern programmer from DDIT was assigned this task to learn how to go about building the menu and his contribution did help us.
We made a general menu initially which gave us the idea about the functioning of menu. We took the approach of Game Components in which every screen was added to the game as a game component. Through this we acquired the knowledge about important features of XNA like Game Components and Game Services.
We also got to know about controlling Sound, display modes and keyboard controls. Dealing with File input/input and mouse was also a part of the learning process so now we were familiar with that also.
Then we began the main programming of our game specific menu but by following the reference as mentioned above we were facing memory issues as every menu screen was added as a game Component which consumed some space in memory and the code would get more and more complex as the number of menu screens would increase. So now we had to think of a very simple way to develop and handle menu because if menu itself would be so complex then mounting the whole game would lead severe memory issues.
We took the approach of a controller which controls the rendering and hiding of menu screen and passing controls to respective screen. The only game component added was the controller which when required to display a screen, would load its contents on run time and would display the screen. This reduced a lot of memory overload as only the visible contents were loaded in game and others are not. This also made our code very simple as in from only a single class – the class of the controller we could manage all the game screens.
Having a simple skeleton ready for the menu, adding the different functionality was not a major task as due to prior knowledge of the audio, display, mouse etc, it was just like fixing the spare parts of the motor engine in proper place. This reduced the development time and effort. Now we will move on to developing the first level of the game.