Engine-design related questions. How code is structured.

learn more… | top users | synonyms (2)

2
votes
1answer
58 views

Mobile Multiplayer games and coping with high latency

I'm currently researching regarding a design for an online (realtime) mobile multiplayer game. As such, i'm taking into consideration that latencies (lag) is going to be high (perhaps higher than ...
-4
votes
0answers
63 views

What are some alternatives to game state based engines?

In my few years as a game programmer I have seen only gameState based game engines. I'm sure that someone somewhere found another way to make a game engine tick. My question is simple. What is ...
-3
votes
0answers
74 views

Frames per Second and Updates per Second [on hold]

So this is more a general knowledge question, as I am seeking knowledge on how best to conserve memory in a game (I am writing in Java, and please this is not a thread on what language I should write ...
2
votes
2answers
188 views

Allocating Entities within an Entity System

I'm quite unsure how I should allocate/resemble my entities within my entity system. I have various options, but most of them seem to have cons associated with them. In all cases entities are ...
0
votes
1answer
141 views

Level Representation in a 2D Game

I would like to create a 2D game, where a character should move on a stage/level. My stage would be static, constructed some little cubes, similar to the well-known Mario game: some of the elements ...
2
votes
2answers
106 views

Networking gampeplay - Sending controller inputs vs. sending game actions

I'm reading about techniques for implementing game networking. Some of the resources i've read state that it is a common practice (at least for some games) to send the actual controller input across ...
0
votes
3answers
135 views

Rendering order in an Entity System

Say I use a basic ES approach, and also inside Systems I hold lists of all entities that Systems are required to process. How do I maintain this list of entities in desired rendering order, i.e. for ...
4
votes
0answers
159 views

Material System

I'm designing Material/Shader System (target API DX10+ and may be OpenGL3+, now only DX10). I know, there was a lot of topics about this, but i can't find what i need. I don't want to do some kind of ...
-2
votes
0answers
77 views

How should I make my game? [closed]

It's probably a quite silly question but how should I make my game? I mean using which tools? I haven't made any game bigger than Sudoku, I was just modding bigger games. I know Java and I started ...
-1
votes
0answers
70 views

Programming pokémon-like gameplay [closed]

For training purposes, I want to program a pokémon-like prototype. That means mainly these features : Open world, with all that implies Battle system with hundreds of monsters possible (which will ...
3
votes
2answers
110 views

Important aspects to consider while making a technical design document

I'm working on a open world strategy game for which I'm planning to make technical design documentation. How do we decide exactly what we need to include to ensure the design document is as complete ...
8
votes
2answers
319 views

How do I make good guy attacks only hit bad guys and vice versa?

My game has many different type of good guys and many different type of bad guys. They will all be firing projectiles at each other but I don't want any accidental collateral damage to occur for ...
0
votes
0answers
104 views

Resource/Asset Manager [duplicate]

I'm creating a ResourceManager. At the beginning i'm creating a groups of resources which contain a map of resources. The role of groups is to quick load/unload resources, to find some constant, never ...
-5
votes
1answer
75 views

What is the Relationship Between 3D Images and Code in a Modern Game? [closed]

For example take a game like halo, gta iii, or a general computer game like World of Warcraft. the two basic components of these games are 3D images / models which compose the environment and a bunch ...
2
votes
3answers
120 views

Desire advice on implementing this animation timeline system

I have read a lot of questions on here, as well as books regarding game architecture. I have a general question about the implementation of a game's animation timeline, on which many isolated ...
-4
votes
0answers
57 views

What technologies and coding languages should i master to make a superior game development engine amd wat other things should i know? [closed]

What should I know to make a Game Engine? I want to make a superior 3D game development engine. What technologies should i be knowing and wat other game engine functions should i know in order to ...
1
vote
1answer
72 views

How can I implement something like Destiny's public events?

Bungie has shown a gameplay trailer for their new game, Destiny. The part that really stood out for me was the 'public events' that can happen randomly while playing. Now I've thought about it for a ...
24
votes
4answers
1k views

If two objects interact, what holds the interaction code?

Think of a bullet and an enemy, or the player and the floor. If these objects interact, what holds the interaction code?
3
votes
1answer
102 views

simple adventure game mechanics stored in database

I plan to code a little adventure-like game. To be able to build multiple episodes without deploying new code I want to store any information possible in the database. This includes stuff like ...
3
votes
3answers
296 views

How to avoid “Blob-Systems” in an entity component system?

Currently I am facing the following problem: I am trying to write a pong clone by using an entity component system. I wrote the "framework" all by myself. So there is a class which manages the ...
2
votes
1answer
179 views

Movement & Physics in an entity-component system

I'm currently playing around with entity-components systems and got started on the movement/collision/physics parts and would like to have some pointers! It's a basic 2D sidescrolling game, with the ...
2
votes
1answer
142 views

Combining 2D and 3D in game engine

I've implemented basic 3D functionality and made little "2.5D" demo in orthographic projection using OpenGL ES 2 and Box2D. Now I want to make completely two-dimensional game (using sprites) and ...
1
vote
1answer
91 views

Picking game entities

What is the preferred methods for doing so, performance-wise? For example I want to pick certain objects in an area around a given point. What I have thought off so far is using invisible objects as ...
3
votes
1answer
355 views

What underlying character stats would you put into your “character” object in an RPG engine

basically I'm making my own RPG/TBS engine named Uruk (making an rpg themed about the epic of gilgamesh) and I am thinking of a combat system similar to the Disgaea franchise or the Super Robot Wars ...
0
votes
1answer
46 views

Object generation from an existing object in a game engine

To simplify, let's say in en engine I'm coding for a game, I have the Main class an Object class. In the Main class' update method, I loop through the array of all Objects in the game. I also have a ...
0
votes
2answers
112 views

OpenGL - Understanding the relationship between Model, View and World Matrix

I am having a bit of trouble understanding how these matrixes work and how to set them up in relation to one another to get a proper system running. In my understanding the Model Matrix is the matrix ...
0
votes
0answers
100 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 ...
1
vote
0answers
36 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
1answer
138 views

When to use GameComponents?

I know what it is and I'm using it as a frame counter for example. But when should I use it? Does it make sense to say "I make all the input handling happen in a gamecomponent"? Is it flexible enough ...
2
votes
1answer
144 views

Where to put common System functionality in Entity-System Design?

I am working on an Entity System design based largely off of Adam Martin's design and Ray Wenderlich's Objective-C Implementation. I am working on the AI system using a state machine with a System ...
1
vote
2answers
271 views

How to make a “GUI In Game”?

My game is very GUI based, the way how it works is that I have a GUI class, which contains the basic GUI elements, a parent GUI object, and a copy of the main game's class object. The game starts out ...
1
vote
0answers
66 views

Events with Entity Component Systems [duplicate]

I'm currently working on an HTML5 top-down simple RPG game, and as a learning experience I'm building my own little engine from scratch. After reading around a little I decided to go with the Entity ...
3
votes
2answers
239 views

Using a programmable pipeline in a game engine

As a learning experience, I'm developing my own 3D game engine using OpenGL. I'm a little confused as to how to implement my rendering engine such that it uses a programmable pipeline while still ...
0
votes
0answers
56 views

Open source pet / toy games or suggestions for semi-early learners that can help establish solid patterns? [closed]

I have two sons (around 13) who are wanting to develop a simple game that is very pet centric as a "first foray" into building games. I suggested something like that as it is fairly simple and ...
0
votes
0answers
50 views

What's the most efficient way to merge two arrays of game sprite objects? [closed]

I've been thinking of using LinkedLists and its list1.addAll(list2); method, but a post on this thread suggests that it's a bad idea and I'd be better off just merging two arrays. What is the best ...
15
votes
6answers
2k views

Do you actually use diagrams to model games?

I mean mostly UML but any method that works is viable. So - do you actually model your games with UML/other diagrams or different methods? I had a subject at my university about modelling with UML and ...
0
votes
0answers
23 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 ...
0
votes
1answer
130 views

How do real-time games like starcraft 2 and league of legends transmit and broadcast data during play? [closed]

How do real-time games like starcraft 2 and league of legends transmit and broadcast data during play? Is all real-time data transmitted to and from the server in udp packets? Do users directly ...
2
votes
1answer
183 views

Different kinds of movement in component based entity system

I am writing a pong clone with a component based entity system. But I am having trouble with the different kinds of movement in the game. The problem is the following: My paddles will just move up ...
4
votes
2answers
304 views

Separate classes communication

Lets say I have a key and door. My third class (player) needs to pick up a key and open the doors. How should those objects communicate without making too much dependencies between them?
1
vote
1answer
262 views

Tilemap collision in component based entity system

I am trying to set up a collision system for a tilemap in my component based entity system, but having trouble with figuring out how to do so. Currently I have the following approach: My tilemap ...
2
votes
2answers
160 views

Correct utilisation of gameloop (Android)

When using a gameloop like (much simplified)............ updateLogic(); render(); How does one perform 'single' operations? I mean, things like triggering sounds (which will only be played once), ...
8
votes
5answers
400 views

How can I update Display settings from an Options screen without restarting?

I'm currently creating a 2D RPG in C++11 with Allegro 5 and boost. My goal is to somehow update my game settings when an option is changed in the Options Menu. I don't want to force the user to ...
2
votes
0answers
46 views

User interaction and Component based architecture [duplicate]

I'm working at my first game and I've decided to build a simple component based engine. I found really useful to work in that way but I still miss some fundamentals probably. Let say that I have a ...
0
votes
2answers
114 views

making different kind of bullets

I have an enemy which shoots 3 different kind of bullets. They are of different sizes, speed, and representation (rectangle, oval, and a more classic bullet). Should they be 3 separate classes or ...
4
votes
1answer
102 views

Game State and Configuration via Events

Often "singletons" are problematic for testing, so with my next game I'm trying my best to avoid them. But there is bunch of data (configuration or game state information) that different parts of my ...
4
votes
2answers
225 views

Manage VBO/VAO in a graphic engine

I'm trying to make a 2D Graphic engine for training me. I've actually made it with immediate draw and I've made the renderer outside (so I can switch between OpenGL and DirectX). How can I manage ...
0
votes
0answers
42 views

Refactoring Sprites to their own classes OpenGL es 2 [closed]

I was following along with http://www.raywenderlich.com/9776/how-to-create-a-simple-2d-iphone-game-with-opengl-es-2-0-and-glkit-part-2 and I've hit a wall. I can't for the life of me figure how to ...
1
vote
0answers
60 views

Paylines and Pay dots in Slot Game

I'm working on a HTML5 slot game and completely stuck on the pay lines and the dots that produce the lines from 1 end to the other. Can someone tell me what's the logic behind generating random ...
12
votes
4answers
867 views

Game architecture / design question - building an efficient engine while avoiding global instances (C++ game)

I had a question about game architecture: What is the best way to have different components communicate with each other? I do really apologize if this question has already been asked a million times, ...

1 2 3 4 5 12