10-27-2001, 11:27 PM
hey all talented buddies out there, i would like to ask a question, if u create a game engine for runnning a game, does it take the same amount of memory space like running a game directly without the engine? does the engine have any advantages? will it load my bmps and sounds faster?
10-28-2001, 02:35 AM
Once you create a game engine, you can reuse it in other games. It doesn't help you if you only make one game, but the benefits are evident if you do many.
10-28-2001, 06:16 AM
The main point of using an engine is to allow the game to be as file-driven as possible. The idea is, that the engine is as basic as you can make it. You should try to code a very basic game engine and then actually make the game using tools. For example, rather than having your GUI stored in the .EXE resource file, you load your pictures from an external source. Also, you would not hard-code the location of any of the graphics, or the amount to be loaded. That too should be file driven. Some may even go to the extent that you should never hard-code the game's AI or physics, and use a scripting language like VBScript, or develop your own, and then load the physics/AI from file. All this leads to a much more customisable and re-usable system. It is also beneficial for developers working in teams, as the work on the graphics, AI, sound, and other things, can go along while the engine is still being developed.
The reason behind all this is to make a more re-usable engine, so that you can easily produce new games/sequels, and so that other coders may develop mods for the game (CounterStrike for example). This is made possible through using a lightweight engine and relying on a file-driven game.