Jump to content
  • Advertisement


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


What is Data-Driven Programming?

This topic is 5713 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

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

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

  • Advertisement

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!