Lesson 19: Continuing with graphics and the importance of the size of the graphic.

There is one more thing you need to know about making textures for your video game. You know that your computer is simply a number crunching system. It is very good at counting out numbers and when it is pouring textures into the surfaces of your game it is counting out numbers. But not all numbers are as easy to crunch as others.

In order to make the compilation and then the running of your game faster the compiler and computer use groups of numbers. This grouping makes things run so very much fasters and in order for you to take advantage of this grouping of numbers you should create your tiles and textures in very uniform sizes.

Whenever you make your tiles you should make them in multiples of either 64, 128, or 256 pixels in size. In any event your textures really should be in a power of two so either 2 pixels, 4, 8, 16, 32, 64, 128 or 256.

If you don't quite understand this I mean that your texture should always be a square and that each side of the square should be one of those pixel lengths with the most common being 128 or 256.

 

This is a very important concept and you should always follow this rule of power of two. It is possible that if you didn't follow this and you built large games that it could slow down considerably. It could get so slow that it wouldn't be playable.

One More Note about Optimizing your Graphics for Video Game Making

This is important - Write this down!!!

If you are going to be making your own graphics to import into the Genesis 3D Game engine, which is what this tutorial is all about, then the images have to be:

in .BMP format and in 256 Indexed Color Mode

The .BMP format is bitmapped format and a standard way of saving an image, the 256 Indexed color mode is also a standard mode for images. These two settings are easily done when you are saving your image in either Photoshop or Paint Shop Pro.

You simply save your images as .bmp and in 256 color mode. In Paint Shop Pro there is a menu option under Colors that is called Decrease color depth. You simple select this to 256 colors. And to save as a .bmp you simply select .bmp when you save it.

Now lets learn how to import a graphic we made into the game

 

 

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