Skip to main content

Questions tagged [software-engineering]

Software engineering is the design and development of software as it applies to the game development field. Questions using this tag should be about theoretical concepts and practices as relates to the task of creating or designing software. This tag should not be used simply because a question involves programming or contains code.

Filter by
Sorted by
Tagged with
320 votes
1 answer
179k views

What are good games to "earn your wings" with? [closed]

I believe that in order to become a good game developer, you need to make games. From a programmer's perspective, what are some good entry level games to get your hands dirty? What skills and ...
170 votes
13 answers
151k views

What math should all game programmers know? [closed]

Simple enough question: What math should all game programmers have a firm grasp of in order to be successful? I'm not specifically talking about rendering math or anything in the niche areas of game ...
58 votes
9 answers
48k views

New to creating AI - where to start? [closed]

I am new to game programming and am trying to make a basic 2d top-down space game with 2 space ships that fight each other. I am doing well with the user controlled space ship, but have no idea how ...
jle's user avatar
  • 727
137 votes
9 answers
103k views

What are some programming design patterns that are useful in game development? [closed]

I have a few books on Design Patterns, and have read some articles, but cannot intuitively figure out which programming design patterns would be useful in game development. For example, I have a book ...
54 votes
6 answers
83k views

How can I implement gravity?

How can I implement gravity? Not for a particular language, just pseudocode...
L.P's user avatar
  • 731
21 votes
4 answers
13k views

What should a game engine do? [closed]

I'd like to improve my skills/try something new and I'd like to start with 3D. I have read Starting programming in 3D with C++ but I have question about engines: What should engine do? I know it is ...
Maja Piechotka's user avatar
20 votes
3 answers
8k views

Design of a turn-based game where actions have side-effects

I am writing a computer version of the game Dominion. It is a turn-based card game where action cards, treasure cards, and victory point cards are accumulated into a player's personal deck. I have the ...
Apis Utilis's user avatar
9 votes
5 answers
3k views

Finding other programmers to help on a project [closed]

As a semi FAQ question attempt : Where can you find people to work with you on a project? Particularly programmers. One thing that is obvious is that all programmers have a project (or twenty), and ...
underscorediscovery's user avatar
55 votes
2 answers
6k views

How can I get textures on edge of walls like in Super Metroid and Aquaria?

Games like Super Metroid and Aquaria present the terrain with the other facing parts having rocks and stuff while deeper behind them (i.e. underground) there's different detail or just black. I would ...
meds's user avatar
  • 1,480
22 votes
10 answers
7k views

What are the most commonly used programming languages? [closed]

When I took my Java courses a year ago, I was told that Java is used mostly in the overseas gaming companies while C++ is used here in the US. What languages should I focus on learning in-depth?
Serneum's user avatar
  • 355
70 votes
8 answers
43k views

Event-driven Communication in a Game Engine: Yes or No?

I am reading Game Coding Complete and the author recommends Event Driven communication among game objects and modules. Basically, all living game actors should communicate with the key modules (...
Bunkai.Satori's user avatar
54 votes
5 answers
14k views

How to avoid the GameManager god object?

I just read an answer to a question about structuring game code. It made me wonder about the ubiquitous GameManager class, and how it often becomes an issue in a ...
Laurent Couvidou's user avatar
24 votes
1 answer
3k views

Determine position of a rotated element in Tetris

Tetris-Tiles are stored as a 4x4 boolean matrix. Each rotation step has it's own matrix, the representation of the T-Block would look like this: ...
bummzack's user avatar
  • 22.6k
6 votes
2 answers
594 views

Experiences of test-driven devleopment in large projects

I've used TDD in personal projects, but I wondered if anyone had any experience of using this approach across a large team? Was there resistence to the test-first approach? Did you keep code coverage ...
5 votes
1 answer
5k views

Mouse location is off due to camera

I'm building a top down shooter but I have a little issue with my camera and mouse. When I add the camera that I use to my game (see here) my mouse pointer seems to be in the wrong location. When I ...
Bert 's user avatar
  • 53
45 votes
6 answers
35k views

What are the best resources on multi-threaded game or game engine design and development? [closed]

What are the best resources on multi-threaded game or game engine design and development? As this is obviously where computers are headed, I intend to study this topic and I'd like to know what ...
24 votes
7 answers
3k views

How to get PS3/Xbox 360 experience without having access to Dev kits?

I am a budding game programmer trying to get into the industry programming for PS3, Xbox 360. The main problem I see is the need to demonstrate my skills to a potential employer, but without access ...
jcurrie33's user avatar
  • 777
18 votes
10 answers
8k views

Does C# have a future in games development?

I recently learned that the MMO Minecraft is powered by Java from a recent interview on CVG.co.uk on a possible collaboration between two former and now competing colleagues. In the interview he ...
user avatar
17 votes
6 answers
5k views

How could you parallelise a 2D boids simulation

How could you program a 2D boids simulation in such a way that it could use processing power from different sources (clusters, gpu). In the above example, the non-coloured particles move around ...
Sycren's user avatar
  • 424
10 votes
3 answers
3k views

Showing range on hexagonal grid

Here is the situation. I have hexagonal board,and a unit on it,with speed or move value 4.Diffrent terrain has a diffrent cost.When i click on the unit,game should show me a move range. My solution ...
user23673's user avatar
  • 101
9 votes
3 answers
7k views

Entity Component System based engine

Note: I'm programming this in Javascript, but it should be language agnostic in the most part. I am thinking about converting my engine to an ECS based one. I get the basic idea (note: this is wrong,...
jcora's user avatar
  • 7,887
8 votes
10 answers
1k views

What tools should I consider if my aim is to make a game available to as many platforms as possible? [closed]

We're planning on developing a 2D, grid-based puzzle game, and although it's still very early in the planning stages, we'd like to make our decisions well from the beginning. Our strategy will be to ...
Kenji Kina's user avatar
6 votes
3 answers
6k views

Should I use Game Engines to learn to make 3D games? [closed]

HI i am a software engineering student in his second-last year. I am proficient with C,C++,C# and java programming languages, and being a student of engineering I have studied calculus, vectors etc ...
abdul121's user avatar
4 votes
2 answers
7k views

Arc'd jumping method?

Okay, so I'm making a platformer, and I wanna know how I can make a arc'd jump easily. Like what Mario does in super Mario Bros 1. Any ideas on a simple way to accomplish this?
user avatar
4 votes
1 answer
1k views

How to program a cutting tool for 3D model in game

I'm looking for a resource to figure out how to program a function to cut a 3d model in game. Example: Enemy/NPC is sliced into 2 pieces with a sword. His body is not hollow, you can see bloody ...
Jesse S's user avatar
  • 41
2 votes
1 answer
5k views

Are interleaved vertex data formats better than non-interleaved formats?

I have been reading up on data formatting for 3D objects so that I can render my meshes as fast as possible in OpenGL. I am quite new to OpenGL so bear with me. The format for interleaving your ...
Steve's user avatar
  • 23
1 vote
0 answers
90 views

Game is responding very slowly?

I have a very simple app which removes buttons and re-adds buttons to certain layouts when a button is clicked. The problem is, this process is taking a very long time. My question is: How can I make ...
NullPointerException's user avatar
1 vote
1 answer
499 views

How to correct shooting in touch-screen shooting games?

Assume a shooting game for iPhone that the character shoot toward where player has touched. But as we know, There may be fault in touching screen by player and it conclude to bad game play and low ...
Emadpres's user avatar
  • 940
87 votes
10 answers
5k views

What can I do to make sure that I have the energy to work on my game while working full-time? [closed]

I work as a software engineer 40+ hours a week and I find that between balancing my personal life and family responsibilities that I have literally no energy to work on game development. What can I ...
27 votes
6 answers
10k views

Is Test Driven Development viable in game development?

As being Scrum certified, I tend to prone for Agile methodologies while developping a system, and even use some canvas from the Scrum framework to manage my day-to-day work. Besides, I am wondering ...
Will Marcouiller's user avatar
25 votes
9 answers
13k views

Is storing all game objects in a single list an acceptable design?

For every game I've made, I just end up placing all my game objects (bullets, cars, players) in a single array list, which I loop through to draw and update. The update code for each entity is stored ...
Derek's user avatar
  • 724
22 votes
5 answers
2k views

Beyond "Novice" Game Projects

I was reading this answer on the type of math a game developer should know and this part really stood out at me: ...
Mike C's user avatar
  • 321
21 votes
9 answers
2k views

How to get a game done? [closed]

My problem is, whenever I start programming a clone of a game (for practice) or my own game or some other problem I stop somewhere in the middle of the development, because I lost interest in it. How ...
18 votes
3 answers
912 views

How can I maintain a rectangular formation when units are added or removed?

I've got bots in a rectangular formation with rows and columns. A problem arises when a bot is added or removed from the formation. When this happens, the bots have to rearrange themselves so that the ...
17 votes
2 answers
3k views

What was the typical toolchain for DOS game development? [closed]

I'm wondering how people used to write DOS games (like Doom), I can't find much on this, but would love to learn more about the earlier days of game development. What language was used predominantly?...
futlib's user avatar
  • 1,467
16 votes
4 answers
3k views

Little and big endianness in games

Do we have to worry about byte orders in the process of programming a game? Do game consoles use different byte orders?
mrk's user avatar
  • 302
16 votes
3 answers
8k views

Finite state machine in C++

So, I've read a lot about using FSMs to do game state management, things like what an FSM is, and using a stack or set of states for building one. I've gone through all that. But I'm stuck at writing ...
Electro's user avatar
  • 465
14 votes
6 answers
12k views

What scripting language would you recommend for a C++ game project? [closed]

By scripting here I mean not just putting config data in a script, but scripting parts of the project like some class methods, test specific game loop, etc. This would be not just to accelerate ...
Frédérick Imbeault's user avatar
13 votes
1 answer
5k views

What research areas exist in game programming? [closed]

I'm currently in a group that researches network optimizations and various distributed applications, I'm much more interested in games but more from a research side.Is there a resource that focuses on ...
brandon's user avatar
  • 3,859
13 votes
2 answers
1k views

How should I check if a player has completed an achievement?

I'm making an MMO game and I just got to a point where I need to implement achievements... How do I do that? The most straight forward thing to do would be to run this once every 100ms,: ...
jcora's user avatar
  • 7,887
12 votes
3 answers
35k views

Limitations of p2p multiplayer games vs client-server [closed]

I am reading up on multiplayer game architecture. So far most of the articles i've found deal with the client-server model. I'd like to know what are the limitations for using a p2p architecture? ...
spaceOwl's user avatar
  • 899
12 votes
1 answer
6k views

Separating physics and game logic from UI code

I'm working on a simple block-based puzzle game. The game play consists pretty much of moving blocks around in the game area, so it's a trivial physics simulation. My implementation, however, is in ...
user avatar
11 votes
12 answers
4k views

Are there cases where globals/singletons are useful in game development? [closed]

I know that having global variables or singleton classes creates cases that can be difficult to test/manage and I have been busted in using those patterns in code but often times you gotta ship. So ...
Ólafur Waage's user avatar
9 votes
3 answers
9k views

Patterns for racing AI behaviour

So let's say you've got a spline-based racing AI. Assume it can already handle the basics of braking and steering around the track. How would you structure and implement collision avoidance, ...
8 votes
7 answers
4k views

Throwing Exceptions in C++ game DLL's? Pros and Cons

What are the pros and cons of using Exceptions in C++ in relation to game development. Google style guide says that they don't use Exceptions for a variety of reasons. Are the same reasons ...
David Young's user avatar
  • 3,320
8 votes
3 answers
3k views

Display a Message Box over a Full Screen DirectX application

In our custom assertion handler, I'd like to display a message box asking to see whether or not this failure can be ignored. However, when our DirectX game is full screen, I can't get the MessageBox ...
Jeff's user avatar
  • 823
7 votes
3 answers
1k views

Where does the game code fit into the engine?

I was wondering if somebody could tell me how the game and the game engine fit into game development. What I specifically mean is, the game engine does not actually contain a game. Do game developers ...
jmasterx's user avatar
  • 2,099
6 votes
2 answers
889 views

Decoupling input from game states / entity behavior

I'm looking for a way or general best practice advices for decoupling the architecture of my game, in the example below the input from the current game state workflow / entity behavior. While I'm all ...
artganify's user avatar
  • 469
6 votes
6 answers
6k views

Technical differences between square and hexagon for a grid?

I'm developing a 2D city-building game and trying to decide on the type of grid. There will be vehicles, so the unit movement is important too. I know there are visual differences for using Squares ...
Marlon's user avatar
  • 95
6 votes
1 answer
4k 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 ...
thelegendaryblah's user avatar