Avoiding Leaks in the Game World

Creating Multiple rooms is not a difficult process but there are some new concepts that you have to grasp and there is one very important rule of thumb you absolutely need to know. Let's review this before we actually cut the doorway.

First of all: The rule of thumb you need to know: Avoid Leaks in your game!

 

The Compiler buttonWhen you run the Compiler it builds your game much as a house would be built. It builds the frames then it applies the textures. Picture this applying the textures as painting. It paints the textures you want onto the surfaces you have designed.

What you have to do when designing your games is make sure there are no unwanted holes in your game. Because what will happen is that the texture (Paint) will pour out. The compiler will keep pouring paint out in areas that are not displayed in the game. This will slow your game down considerably and may cause it not to run.

Here is a visual explanation:

Here are two room placed side by side. I will be cutting a hole between them to create a doorway.

Two rooms with an unwanted spaceSee how the two rooms have a little bit of space between them? When I cut a doorway between these rooms there will be a leak where the compiler will try to pour the texture out into the surrounding not visible area of the game.

 

Always place your structures right up against each other. To get a better look and ensure you have placed them correctly you can use the camera button and zoom in on the grid.

 

two Rooms properly placedThe two rooms are placed right up against each other. This is correct placement. When we cut a doorway between the rooms the textures will not leak out upon Compile.

 

 

Remember: Leaks can slow your game down considerably - even stop it. So always take care when placing your structures in the game.

Okay lets continue on with the tutorial and actually cut the doorway


 

 

Latest Articles

Free Game making programs - to help you make games without spending money.

Writing quests for video games. Tips, ideas and techniques

A look at video game design - This shows you the process of how a game is designed and I take you from idea to game.

What is the most important thing you need to make a video game? It isn't what you think

Who do you contact if you want to get a job in the game industry? I have advice and more.

Video Game Design - What is it and how is it done?

Kids Make Video Games: A Guide for kids of all ages in game making.

A look at Assassin's Creed II - From a game makers perspective. This game is remarkable and there are some great lessons to be learned from it when it comes to making video games

Into the Looking Glass: A History of video games including a video. How did it all start?

A look at the various Game Design Software Packages - Help finding the one that's right for you

Free Resources for making video games. If your budget is Zero these resources are for you!

Three New Lessons in the Milkshape 3d Animation Tutorial: Animate, Link skeleton to skin, and animate both

So You have a great idea for a video game! What do you do now? - Some solid advice on turning an idea into reality

AMD New Chipset and Processor breaks the barrier in gaming realism - games that look as good as movies are coming

How to write a video game players guide - Writing a guide is an easy way to start learning about how games are made.

 

For absolute beginners

All Materials, unless otherwise stated are Copyright©2000-2014
Kalif Publishing

sitemap
xml sitemap