The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
112 views

How to handle game objects in DirectX

Coming from XNA, I would use the content pipeline and create XML files for game objects. However, if I changed something in the XML, I would need to do a rebuild of the project so it will create the ...
4
votes
2answers
224 views

How can I provide attribute extensibility in a component-based entity system?

This question and its answers move against utilizing an entity component system where the component itself is just a generic class with an dynamic container for the attributes/properties of the ...
1
vote
1answer
392 views

How to store generic data in game database?

To clarify things a bit: I want to create a kind of database for my game, that simply is a class that stores all game-state information like object positions, player scores, etc. The main problem I ...
8
votes
2answers
1k views

What is data-driven design? [closed]

I've been reading up on a lot of articles covering data driven design for games. It seems to come down to: No hard coding No game-specific code in the engine Scripting for AI, cutscenes, et cetera. ...
-1
votes
1answer
121 views

Data driven tool for gamedesigner [closed]

I'm looking for a software my gamedesigner can use setting monster characteristics. Like one row of all monster types (and ability to add new ones) One column of all 'templates' (normal, small, big, ...
32
votes
3answers
3k views

When should I hard-code data versus load external data?

I'm a thousand or so lines of code into making my own 2D space-based game, which creates networks of randomly generated star systems and populates them with a random selection of planets, stations, ...
18
votes
2answers
1k views

How to structure code for many unique weapons/spells/powers

I'm an inexperienced programmer creating a "roguelike-like" game in the vein of FTL, using Python (no PyGame as of yet as I'm still only concerned with text). My game will contain a large number of ...
2
votes
2answers
237 views

Integer vs String for “type” data in data-driven games

I've been developing a few mobile games, in which those games fetch their data from a server-database. I'm used to storing "type" values as an integer identifier, and an enum in the client to ...
-1
votes
1answer
675 views

How to store data in a data-driven RPG [duplicate]

Possible Duplicate: Would it be better to use XML/JSON/Text or a database to store game content? I'm working on a 2D data-driven RPG. I intend for it to be modabble; my intention is to ...
1
vote
1answer
364 views

Compile-time checking for component-based, data-driven games

This is not a specific question, but rather someone who is looking for opinions about a typical design problem. In a component based data-driven games, I've often seen something similar to the ...
1
vote
2answers
432 views

'Game rules' as data in data driven engines?

I've read the definition of data driven game engine in several places and one item usually mentioned is the game rules: separating them from the logic of the engine. What is meant by a 'game rule'? ...
16
votes
1answer
2k views

How should I structure an extensible asset loading system?

For a hobby game engine in Java, I want to code a simple but flexible asset/resource manager. Assets are sounds, images, animation, models, textures, et cetera. After a few hours of browsing and some ...
8
votes
1answer
807 views

Processing component pools problem - Entity Subsystem

Architecture description I'm creating (designing) an entity system and I ran into many problems. I'm trying to keep it Data-Oriented and efficient as much as possible. My components are POD ...
2
votes
1answer
364 views

How do i make player input object spawning data driven?

I'm using component based design and am at the stage or re-factoring simple player input to be data driven. Currently i have a PlayerControlComponent, which an entity has if it should be player ...
15
votes
3answers
3k views

Game engine and data driven design

I've heard about data driven design and have been researching about it for a while. So, I've read several articles to get the concepts. One of the article is Data Driven Design written by Kyle ...
5
votes
4answers
867 views

Drawbacks of using reflection for a component based system at loading-time

I'm coding a little casual game in Java using Slick2D. This game use a lot of different "objects", managed in a composite way. So, firearms, furniture in the map, NPC and player character will be ...