Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

AnthonyTW

Game Engine or Utilities?

This topic is 6006 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am making my first game (using Delphi 6) and before I even start on the engine I want to get the utilities out of the way (like the map maker) and I was wondering if this is the way to go, or should I worry about the actual engine first?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
This is a TOTAL newbie asking this, What exactly is a game engine, or a 3D game engine?

Share this post


Link to post
Share on other sites
The engine of a game is what makes the game run. But it''s NOT the game. You use it like you would use an engine in a car, you can have same engine but different cars.

______________________________________________
You know your game is in trouble when your AI says, in a calm, soothing voice, "I''m afraid I can''t let you do that, Dave"

Share this post


Link to post
Share on other sites
For example, you could tell the engine to make your sprite to walk 12 steps left, then do two backward hand-springs, 5 cartwheels to the left, then top it off with a tripple summersalt off the balance beam, instead of re-programming that everywhere in your game. Or your engine my have a map class.

MaMap := Map.Create;
MaMap.LoadFromFile("C:\maps\mamap.map");
MaMap.DrawToBuffer(Surface,X,Y,Width,Height);
MaMap.Free; // Because we''re not lazy programmers

Whereas if you didn''t have an engine you''d be having lots of fun trying to redo that every time it is needed (which is a lot) in your game.

Share this post


Link to post
Share on other sites
whats the MaMap.free for??
Newbie

---------------

www.westernwars.com
www.ebgaming.com

[edited by - MathewS on July 1, 2002 5:39:27 PM]

Share this post


Link to post
Share on other sites
map.free() is there (presumably) to release/delete the memory the map was using (the pointers and other stuff assigned by map.create() ). If you don't do this kind of thing, you're liable to get memory leaks and other assorted nastiness.
AnthonyTW made the comment about lazy programmers because this is the kind of thing that so-called "lazy coders" tend to skip, and thus cause needless hassle for themselves and particularly other folks trying to clean up their messes

[edited by - NeverSayDie on July 2, 2002 12:29:27 PM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!