Engine-design related questions. How code is structured.

learn more… | top users | synonyms (2)

2
votes
2answers
139 views

Expandable 2d environment by spawning and controlling individual tiles

what is the best way to implement an environment that is "expandable" in every direction so that when the player moves in any direction a new row or column of tiles that can be manipulated ...
2
votes
1answer
122 views

Entity Component System for HUD and GUI

This is a very rough sketch of how I currently have things designed. It should, at least, give an idea of how my ECS is currently designed. If you notice in that diagram, I have basically split ...
1
vote
0answers
90 views

Abstraction/architecture between interface and “scene” in adventure game

I'm tinkering with an idea for an adventure game but am unsure how to define scenes and tie them to the game. I've got an idea but it doesn't feel quite right. To save repetition, T&D = ...
1
vote
0answers
44 views

Export matrices or IPOs?

I'm currently working on an exporter for Blender and corresponding importer for my engine, but I believe the same concepts apply to any other 3D animation software. When it comes to export animation ...
1
vote
0answers
120 views

Saving/loading code structure

I have a tree of game entities composed of components. I want to save/load everything to xml file, where my saving/loading code must be located: Scene class containing root node and functions ...
1
vote
0answers
60 views

Implementing Tools in a Toolkit

I've been building a toolkit for my game and recently decided I needed a history system as well as clean out the mountain of event handlers building up in my code. To do this, I've started using ...
0
votes
0answers
53 views

How can I position different size creatures in a group automaticly

I'm doing a game (in xna) on my free time, as I'm not in the game market, I'm pretty sure I'm missing something that would help me get this right. Think of Ogre Battle. A group of unit moves, and ...
0
votes
0answers
84 views

Different Spawning Target Pattern on a Music Game App (Prototype)

I'm using Gtomee's audio spectrum decoder tutorials (from sample video or codes at GitHub) to create its own spawning pattern according to what music it played. It worked pretty nicely despite this ...
0
votes
0answers
327 views

Component based architecture - Rendering approach?

I'm planning to use a component based architecture for a new 3D game engine I plan to work on, however I don't know how to approach the rendering side of things. I can see two options here: Every ...
0
votes
0answers
58 views

Design issue: World class only contains Rigidbodies but custom objects need further updating

BACKGROUND: My World class that is responsible for updating the physics for each object in the game contains a std::vector of Rigidbody classes. As Rigidbodies are added to the world, they are also ...