game-development

What is the best way to implement communication between game-server and game-agents over the internet?

I am planning to create a site that provides several games for self written game-agents. There will be a Tic-Tac-Toe for example (and some more complex games of course). Programmers can register their agents and from time to time there will be a tournament. The gameserver will contact the registered agents, present the board and ask for...

What advantage does C++ have over .NET when it comes to to game development and apps like VirtualBox

This is an attempt to rephrase a question I asked earlier. I'd like to know why C++ seems to be the language of choice for certain thick client apps. The easiest example I can think of is video games and my favorite app VirtualBox. Please don't close this post I'm just trying to understand why this is the case. ...

What are good cross-platform Game API?

I am in the process of designing/building a cross-platform game engine in C++. I would like to use an game API that has 2D/3D graphics, input, networking, audio, etc. One API I found that meets many of these requirements except for Audio is Amaltheia. Can anyone suggest an API that meets all my requirements or one that meets most of t...

Best way to make a camera both move and rotate

Hi. I'm learning some OpenGL game programing, and I'm stuck in how to implement so the camera follows the mousepointer. Like in a fps game you want to look where your mouse is pointing, but I can't find a nice solution to this while I'm moving. I was thinking of saving one matrix for the move, like walkking and strafing, while using qua...

Learning game programming (part 2) (math)

So, it's been a few months since I wrote this question, since then I've toyed with "raw" C++ D3D, The Ogre and Irrlicht graphics engines and lately Microsoft XNA. I've built a few 2D games (mostly replicas of old stuff like tetris, astreoids, etc.) and made some (very) small steps into the 3D world in the above mentioned technologies. I...

Is there a good example of using a factory method / pattern for creating game objects / characters?

I want a clean way of creating game object such as NPCs, bullets and power-ups, reducing the amount of inter-dependence on specific classes. I believe this is what the factory pattern is used for? I would love to see a good implementation from a real game. I'm not an expert on design patterns, and never use them if I don't understand t...

Best cross-browser approaches for Javascript game graphics?

I'm wondering what the most viable approaches are for 2d game graphics, running in straight (and cross-browser) Javascript? I've found the canvas and SVG approaches so far. Are there other straightforward methods that offer primitive graphics operations like drawing lines, circles, pixels? Preferrably supported out of the box in IE, unl...

What resources do you recommend for game programming on the iPhone?

I would like to find a book titled "Game programming for iPhone". But since it seems not to exist yet what resources would you recommend to get the information that would be contained in that book? Any book or tutorials on "generic" game programming? or maybe Cocoa game programming? ...

How do you write a 3d game?

I have always wondered, how do game programmers tie together game characters done in an external 3d modeling software like maya or 3d max and the actual game logic done in there favourite programming language e.g c or c++. How do you get to combine this two things together, and what is the actual process of building a game from modeling...

What programming language would be best for creating a roguelike game?

With the interest of creating a roguelike RPG (such as Nethack, Rogue, and ADOM), which programming language would be most suitable and why? With the language that you choose, be sure to list any libraries or facets of the language that make it particularly well-suited. ...

How to easily load a XML-based Config File into a Java Class?

I've got a simple java class that looks something like this: public class Skin implements Serializable { public String scoreFontName = "TahomaBold"; ... public int scoreFontHeight = 20; ... public int blockSize = 16; ... public int[] nextBlockX = {205, 205, 205, 205}; ... public String backgroundFile = "...

What fun games have simple source code available?

So one can play with it. ...

What physics engine would be good for a Silverlight pool engine?

I have looked into the Farseer engine, but I barely scratched the surface. Would it or another engine be good for a reasonably accurate pool game engine? ...

How do you draw like a Crayon?

Crayon Physics Deluxe is a commercial game that came out recently. Watch the video on the main link to get an idea of what I'm talking about. It allows you to draw shapes and have them react with proper physics. The goal is to move a ball to a star across the screen using contraptions and shapes you build. While the game is basically...

Java game questions

I am developing a simple multiplayer 2d game of pacman in java for my assignment at university and I want to be able to draw stuff onto this window as well as pick up keyboard input. What would be the best way to do this? Currently for the GUI I have http://pastebin.com/m1009789e Which works fine on the windows machine that I am developi...

How can you make Game of life in Excel?

I know only little how to make macros in Excel. ...

Is there a decent OpenGL text drawing library for the iPhone SDK?

I'm trying to figure out a simple to draw some text in OpenGL. My research has shown its a fairly complex task. It involves creating (or generating at runtime) a font atlas texture, and then creating a quad for each letter with just the right placement and texture coordinates. I've heard some good things about freetype, but have found...

Getting sprites to face the camera properly in OpenGLES

I have a game that is more or less 2D, but rendered in 3D. The camera hovers above the 2D game field tilted about 20 degrees from perfectly perpendicular to give a little 3D perspective to it. I have some sprites that need to be rendered perfectly square, because they represent spherical objects. My first approach rendered quads flat ...

Information on building a game

I am looking for quality tutorials, examples, and any other source of information on game design or game development. I have already found http://cheezeworld.com/game-structure/ and I want to find more. Some specific examples that I'm looking for would be making requirements for games, testing game code, what design patterns are more/les...

Java Rule Engine for Game AI

I would like to use a rule engine for my game. It will be used for NPC AI, and GM AI. What might be a good and fast Rule Engine for this purpose ? It must be Java and Open Source. I would like to hear from people who have used Java Rule Engines for Artificial Intelligence about their experience. ...