All Questions

Filter by
Sorted by
Tagged with
28 votes
2 answers
28k views

How do you add a scripting language to a game?

Let's say I have a game written in C++. But I want to add some modding or scripting functionality to it. How would one go about adding a scripting functionality to your game?
user avatar
33 votes
6 answers
12k views

Should I be using Lua for game logic on mobile devices?

As above really, I'm writing an android based game in my spare time (android because it's free and I've no real aspirations to do anything commercial). The game logic comes from a very typical ...
user avatar
9 votes
3 answers
8k 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, ...
5 votes
3 answers
7k views

How do I load Collada models into a WebGL app? [closed]

I have written some simple apps following the tutorials on http://learningwebgl.com. What is the simplest way to load and display Collada model files, particularly the files available from Google 3D ...
user avatar
  • 151
41 votes
4 answers
17k views

How does Flow Field pathfinding work?

Supreme Commander 2 has something called flow field path finding. How does it work? Is there some article available I can read up on how it works?
user avatar
  • 1,471
2 votes
7 answers
484 views

Which frameworks are system agnostic? [closed]

I'd like to have as little portability issues as possible but supports hardware acceleration. The main priority is on PC and having a game run on Windows, Linux and MacOS. Porting to consoles would ...
user avatar
80 votes
10 answers
27k views

What are the challenges and benefits of writing games with a functional language? [closed]

While I know that functional languages aren't the most commonly used for game writing, there are a lot of benefits associate with them that seem like they would be interesting in any programming ...
54 votes
12 answers
57k views

Is it reasonable to write a game engine in C? [closed]

Even though C++ appears to be king, from what I've been told C is still widely used in games, especially on the consoles. However, would writing an entire game engine in C be unreasonable today? What ...
user avatar
  • 758
4 votes
1 answer
747 views

What 3d mesh formats usable with DirectX10 are there? [closed]

I want to load a mesh into my game (written in C#, if this matters) but am not sure what mesh format to use. What mesh formats are there, how easy/hard it is to load them into DirectX10 and what's the ...
user avatar
16 votes
5 answers
5k views

Where can I find fonts which I can distribute with an open source game? [closed]

I want to be able to release my game as open source, and I need to be able to distribute font files with my game. Where can I find fonts which I can use in this way, and what font licenses should I be ...
90 votes
7 answers
23k views

Free ebooks about game development [closed]

Are there good free ebooks on game development? I don't care if they are theoretical or technology specific, I want to start reading one free book that worth it.
13 votes
5 answers
8k views

Pro's and Con's of Various 3D Game Engines [closed]

I normally code my admittedly simple games by hand in either Assembly or C but I'm looking to go a little more high level. I also want to build more modern skills so I'm looking at UDK. What are the ...
23 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?
user avatar
  • 365
8 votes
3 answers
2k views

What is a good method for coloring textures based on a palette in XNA?

I've been trying to work on a game with the look of an 8-bit game using XNA, specifically using the NES as a guide. The NES has a very specific palette and each sprite can use up to 4 colors from ...
user avatar
  • 750
25 votes
8 answers
21k views

What is a good tool for producing animated sprites? [closed]

Has anyone come across a software package that allows you to build animations in a similar way to how you can in Flash (i.e. using techniques such as tweens & bones & easings, etc) and then ...
user avatar
  • 848
12 votes
1 answer
3k views

Where should I host my flash games? [closed]

I'm looking at hosting my flash game on a site like Kongregate or NewGrounds, but with so many choices, I'm left wondering what are the pros & cons of the various options? I'm interested in: ...
23 votes
6 answers
11k views

What happened to procedurally generated textures? [closed]

I recall some time ago that procedurally generated textures were becoming a big deal that a lot of people/companies were really interested in with some serious benefits (smaller deployments, ...
user avatar
3 votes
6 answers
1k views

In what instances would you want to use path-finding algorithms other than A*?

I am familiar with how the common ones technically work (BFS, DFS, Dijkstra, A*) but as far as their realistic benefits I don't quite see the need for them. Considering that, given the right ...
user avatar
19 votes
1 answer
28k views

What are some known 2D/3D physics engines for XNA? [closed]

I'm looking for a physics engine to use in an XNA project (2D or 3D). Because it's for XNA, it needs to fulfill some requirements: Not necessarily free, but close to it is obviously preferred Managed ...
28 votes
7 answers
11k views

What is a good algorithm to detect collision between moving spheres?

If (for the purpose of collision detection) 3D objects are represented in a game by spheres, what is a good algorithm to detect a collision between spheres? If each object has a position as of the ...
user avatar
  • 4,486
13 votes
5 answers
5k views

Tools for generating texture atlases/sprites from source images? [closed]

Is there an industry standard file format for texture atlases? What are the apps that take a directory of images and turns it into a texture atlas png and a text file describing what's on it? This ...
user avatar
  • 233
35 votes
4 answers
4k views

What are some common ways to generate revenue from a free game?

When creating a free game what revenue options are there and how successful are they? What are the pros and cons of different revenue models such as ad-supported, freemium, partnerships, merchandising,...
user avatar
41 votes
5 answers
25k views

What are some good resources for building a voxel engine? [closed]

What are some good resources (tutorials, code, papers, etc.) for learning about voxel rendering?
user avatar
  • 3,554
8 votes
2 answers
3k views

How to implement SSAO in Shader Model 3/ DX9?

Ive read a few articles about SSAO, and i would like to implement it in to 3d engine at work, which runs on top of DX9. Can you give me an tips on getting the simplest implementation possible up and ...
user avatar
  • 2,122
15 votes
5 answers
859 views

What are some ways of sorting through zero-experience programming candidates?

I work for a relatively small company. We don't get a lot of resumes from people with experience, yet we're in a position where we should hire people to grow. We pretty frequently get resumes from ...
user avatar
  • 30.1k
15 votes
1 answer
462 views

Where can I find legal or business resources for a game production company?

Where can I find information on the legal or business aspects of running a game production company?
user avatar
  • 3,059
13 votes
5 answers
2k views

API agnostic bridges (ie. OpenGL/D3D/Whatever). Do you use them, how you make them. Pro's and Con's [closed]

You are making a 3d engine. You want best of multiplatform worlds. Suddenly you realize that if you want to use Direct3D on Windows machines and OpenGL on OSX/Linux, you'll have to sacrifice supported ...
user avatar
  • 2,321
149 votes
22 answers
47k views

STL for games, yea or nay? [closed]

Every programming language has its standard library of containers, algorithms, and other helpful stuff. With languages like C#, Java, and Python, it's practically inconceivable to use the language ...
user avatar
76 votes
6 answers
34k views

How to write a network game? [closed]

Based on Why is it so hard to develop a MMO?: Networked game development is not trivial; there are large obstacles to overcome in not only latency, but cheat prevention, state management and load ...
user avatar
10 votes
4 answers
5k views

In Cocos2D, how do I check for collisions against an arbitrary user-drawn shape?

I want to detect a collision between a sprite and a user-generated shape of some sort. For example. There are 3 objects on the screen. The user takes their finger and draws an abnormal shape around 2 ...
user avatar
  • 4,091
10 votes
1 answer
5k views

Which c/c++ model animation library for OpenGL [closed]

I'm fairly new to game development, played around with xna before and just learning OpenGL & c now and I'm interested to know which c/c++ based model animation libraries are out there and which ...
user avatar
36 votes
8 answers
55k views

Tools for creating 2d tile based maps [closed]

What are some tools I can use to create 2d tile based maps? Please provide the information below, and try to limit to one tool per answer. Name Link to website General features Export format ...
25 votes
9 answers
17k views

Best place for learning how to write games in Unity3d [closed]

What's the best place for tutorials & other learning resources for unity3d?
40 votes
6 answers
29k views

How can one implement hot-swappable C++ modules?

Fast iteration times are key to developing games, much more so than fancy graphics and engines with truckloads of features in my opinion. No wonder many small developers choose scripting languages. ...
user avatar
11 votes
3 answers
1k views

How do I make complex AI manageable? [closed]

In the past, I've used simple systems like finite state machines (FSMs) and hierarchical FSMs to control AI behavior. This pattern falls apart very quickly or any complex system. I've heard about ...
user avatar
  • 30.1k
10 votes
3 answers
1k views

What's the right way to re-use open source game assets?

This is a hypothetical question, but one I always wanted to know about. Suppose I wanted to create a game in the same fantasy style as Battle for Wesnoth. Having no arts skills myself, I could write ...
user avatar
7 votes
2 answers
3k views

What are some good MMO middleware server packages? [closed]

If you have any experience with any MMO middleware packages and have any positive or negative experiences with them, your feedback will be appreciated. Specifically I'm looking for server packages. ...
21 votes
5 answers
10k views

How do I implement parallax scrolling in 2D?

Suppose I have three layers: a foreground, an intermediate-ground and a background. What is involved in using these three layers to create parallax scrolling?
user avatar
  • 5,083
39 votes
5 answers
14k views

Any tips for creating cross-platform games? [closed]

Do you have any tips/recommendations when creating a cross-platform game in C/C++?
9 votes
1 answer
924 views

Changing orientation by applying torques

Suppose you've got an object floating freely in space. You have a vector you want this object to point towards, and a vector representing the direction it's currently facing. From these two, you can ...
user avatar
  • 452
22 votes
4 answers
11k views

What is some good examples about creating 2D fluids? [closed]

Anyone have any good examples, tutorials, or snippets to share that preferably in C# or C/C++?
user avatar
  • 393
34 votes
2 answers
13k views

How does hardware tessellation work?

I would just like someone to explain in relativly clear terms how hardware tessellation works considering it is the new buzzword with DX11. Thanks.
user avatar
  • 1,029
17 votes
5 answers
2k views

How can I produce heatmaps based off of player reported data?

For a really good example of what I'm talking about, see how the developer of Replica Island does it based off of Player deaths: http://www.youtube.com/watch?v=7-62tRHLcHk&feature=player_embedded#...
user avatar
  • 5,083
32 votes
3 answers
34k views

What is the difference between OpenGL ES and OpenGL?

Android uses OpenGL ES, what is the difference between it and OpenGL?
user avatar
  • 5,115
11 votes
6 answers
1k views

Design Document Contents [closed]

What is the minimum content that a game design document should have?
user avatar
  • 5,115
10 votes
5 answers
7k views

What are the most popular software development methodologies used by game studios? [closed]

What is the best (as in most used by professional game developers and/or companies) software development methodology used in game development? I've heard that SCRUM is popular, but i'm not sure.
user avatar
  • 5,115
4 votes
2 answers
2k views

Converting Cube Maps

I have cube maps in lat/long format, and i need to convert them to Horizontal/Vertical Cross, and individual cross images, is there an utility to do that?
user avatar
  • 5,115
18 votes
7 answers
4k views

Is there any Lua API that works with C# for PC & XBox 360 Development? [closed]

I am reading a book on Game Development in which they show you how to make scripts for your game in Lua. They program Lua and use it from C++, but I was wondering if there is a library or API to use ...
user avatar
  • 319
4 votes
5 answers
441 views

Developing Flash games on the Wii

Has anyone used WiiFlash for developing Flash games? Any pointers on how to begin developing games for the Opera channel for the Wii?
user avatar
  • 550
13 votes
3 answers
2k views

How can I create my own sky maps? [closed]

What are the methods/tools for generating realistic skies with clouds and atmospheric shading? FOSS alternatives and spherical projections get extra points.
user avatar
  • 300

15 30 50 per page