Archived

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

DataMan76

What is Data-Driven Programming?

Recommended Posts

DataMan76    122
Can anyone give me a brief description of what data-driven programming is, in relation to game programming. I have found some examples of data-driven programming in general but can''t find any for game programming using the data-driven approach.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster

a real world example of a data driven process for games..

say youve got a game thats going to have a lot of
different characters. there has to be some sort
of structure that gets maintained in these character
file directories..else how are you going to manage
the possible 100s of thousands of files that are
going to be touched and used by a dozen or so artists.
you definitely want and need an easy method for
getting the little critters running around on screen
with as little time out of your day as possible
all while maintaining a strict project directory tree.

here goes..

a script gets used that builds a single character
directory tree and all the necessary makefiles and
local scripts. once the artist places all the necessary
assests into these directories. a second script or
makefile gets run and builds the art for the game.
the first time this script runs however, it goes out
and modifies code files and/or global makefiles to
streamline your process of building all the games
assets even more also to let the game know that there is
a new file present. this also makes archiving the project,
once your done, much easier..

all the artist then needs to do is literally press a
button to get his or her new character visible in the
games animation viewer. and if youve set things up
correctly, absolutly no programmer time required..

Share this post


Link to post
Share on other sites