game-development

Self-regulation of a mini economy

Hello! At first: I'm not sure if it's an adequate question for Stack Overflow. It's not just about programming, it's about game design. But I'll try it ... I would like to deal with "Possibilities for self-regulation in a mini economy with the example manager game" in a skilled work. Initial situation: I've selected "hattrick.org" as...

What's an extensible way of implementing server-side command processing in an MMORPG?

Hey everyone, Update: I'm sorry if maybe my question isn't clear enough. I've read about the command pattern, but unfortunately have not used it myself. I'm trying to figure out how I could use it (or some other pattern) to make game events abstract enough that the server can process them using a single Process() method. My main hang up...

Read and write to the registry with VB .Net

Hello, I made a game and I would like to store the high score and other values in the windows registry. It's made in vb .net. Could someone give me a sample code example of simple reading and writing to the registry. Thanks ...

Network Support for Pygame

I am making a simple multiplayer economic game in pygame. It consists of turns of a certain length, at the end of which, data is sent to the central server. A few quick calculations are done on the data and the results are sent back to the players. My question is how I should implement the network support. I was looking at Twisted and at...

iPhone gaming: How to animate spaceship explosion?

If one ship is moving toward another and fires on it, how do I animate that explosion while having the firing ship keep moving? Using something such as cocos2d in a 2D game. Any online references are appreciated. Also, does anyone have a reference to the crashlanding game that use to be on the Apple developer site? ...

How do i use cocos2d with Xcode?

Hi, I downloaded the lastest version of cocos2d but I am confused as to how to use it with my current project. Can anyone show me how to use it with xcode. I'm looking to design a 2D maze. Do i have to import something ? Any sort of help would be appreciated. ...

How to do internet card game using .net

What is the best way to do an internet two player card game? Currently I was intending to store the game state in the database using ajax to check on when the state of the game changes. Is there a better way to do go about this where the clients communicate with each other and not through a mediary? ...

How to layout the code of a simple game?

I'm coming from a background mostly developing websites, and maybe some simple form-based apps. MVC works well for that, but I don't quite see how that's applicable to a game. So how do you guys do it? I'm developing with Qt and OpenGL, if that's relevant. I have a QGLWidget which I'm basically using as a central hub at the moment. Shou...

How to fix weird camera rotation while moving camera with sdl, opengl in c++

I have a camera object that I have put together from reading on the net that handles moving forward and backward, strafe left and right and even look around with the mouse. But when I move in any direction plus try to look around it jumps all over the place, but when I don't move and look around its fine. I'm hoping someone can help me ...

XNA Target Audience

This might sound like a stupid question, but who is the target audience for the XNA framework? The following is located on the Microsoft XNA Game Sudio website: XNA Game Studio 3.1 enables hobbyists, academics, and independent game developers to easily create video games for Windows, Xbox 360, and the Zune digital media playe...

Modying Properties of a Class

Finding a suitable question title and -tags for this question struck me rather hard. Basically I've built a game wherein several units/mobs will be present. Now I'm interested in building a system, so each unit can have effects/buffs/debuffs applied to them that will modify the properties of the unit. Examples of such effects could be a...

Writing a 2D RTS game in C#: graphics library options?

I am considering writing a 2D RTS in C#/.NET and i was wondering what options are available for a graphics library aside from XNA. What are they? ...

Tiled backgrounds on iPhone using OpenGL ES

Hi, I want to make a 2D tiled background system on the iPhone. Something that takes a tilemap and tileset image(s) and converts it into the full map on the screen. Just doing some messing around, my first approach was to create a polygon for each tile. This worked fine until I started testing it for 400 polygons or so, then it starte...

Coding an Iphone App vs developing one on a Game Engine?

What do you guys think is better??? because I am going to start learning objective c but should I also buy this so I can make game apps easier and better?any ideas? I am definitely learning objective c but maybe I should buy this game engine so I can develop games also.????????? Some of the game engines I am think about are Unity, Torq...

2D Game: Fast(est) way to find x closest entities for another entity - huge amount of entities, highly dynamic.

I'm working on a 2D game that has a huge amount of dynamic entities. For fun's sake, let's call them soldiers, and let's say there are 50000 of them (which I just randomly thought up, it might be much more or much less :)). All these soldiers are moving every frame according to rules - think boids / flocking / steering behaviour. For ea...

Turning off antialiasing in Löve2D

I'm using Löve2D for writing a small game. Löve2D is an open source game engine for Lua. The problem I'm encountering is that some antialias filter is automatically applied to your sprites when you draw it at non-integer positions. love.graphics.draw( sprite, x, y ) So when x or y is not round (for example, x=100.24), the sprite app...

How do I develop Java games for phones?

How do I begin developing J2ME games for mobile phones? Are any libraries available that can render pixel fonts for text? - for text games Are 2D graphic libraries available that can draw animated bitmaps? - for isometric and tiled games Any are 3D engines available with texture mapping & lighting? -- for racing and flying simulators ...

What is the best way to handle rotating sprites for a top-down view game

Hello all. I am working on a top-down view 2d game at the moment and I am learning a ton about sprites and sprite handling. My question is how to handle a set of sprites that can be rotated in as many as 32 directions. At the moment a given object has its sprite sheet with all of the animations oriented with the object pointing at 0 deg...

collision detection with lots of objects

I have around several hundreds of moving objects within screen at the given time, plus a thousand+ stationary objects. For simplicity, you can think of it as a billiard game with damn lots of balls :) Some of them are stayin still, some others are moving at all sorts of speeds to all sorts of different directions. I need coll detection e...

Which open source iPhone games are written without using cocos2d?

Open source iPhone game no cocos2d-iphone ...