Game Basics

This is a discussion on Game Basics within the Game Programming forums, part of the General Programming Boards category; im just curious.. what is the purpose of an engine in a game? .. i have an idea but would ...

  1. #1
    lemon-heads
    Guest

    Arrow Game Basics

    im just curious.. what is the purpose of an engine in a game? .. i have an idea but would like to hear how everyone else in the world does it.


    thanks

  2. #2
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    A game would actually have more than one support engine that
    make up the actual game engine. An engine is basically a
    wrapper.

    You would have a graphics engine that would include functions
    for loading your graphics, manipulating them to suit your needs
    (setting transparencies/rotating/etc.), blitting them to the screen
    (in 2d) and then cleaning up the graphic objects/memory on
    completion. Your sound engine would have functions to load your
    sounds, manipulate them (panning/volume/freq/etc), play them
    and clean up at the end.

    You would (and this is not definitive) have these basic engines:
    Graphics
    Sound
    Music
    Input
    Script
    Gameplay

  3. #3
    lemon-heads
    Guest

    so....

    so - basically i'd be making the driver a loop and have the engines handle the real work, right?

  4. #4
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Put it this way, it's like owning a business. You get specialists(engines) who are good at doing a specific thing (music, script, etc...) and that's basically the meaning of an engine
    *putted in a little example of course*

  5. #5
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    As soon as you make your first game (a basic one at that) you will have a much clearer picture of it all, trust me.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Open-source Game Project
    By Glorfindel in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 03-24-2009, 02:12 AM
  2. 20q game problems
    By Nexus-ZERO in forum C Programming
    Replies: 24
    Last Post: 12-17-2008, 05:48 PM
  3. Try my game
    By LuckY in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 09-15-2004, 12:58 PM
  4. HELP!wanting to make full screen game windowed
    By rented in forum Game Programming
    Replies: 3
    Last Post: 06-11-2004, 05:19 AM
  5. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-25-2002, 12:00 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21