game-development

Is there a way to split one texture into an array of them using SOIL in C++?

I'm using SOIL in my project, and I need to take in a single texture, and than convert it into an array of textures using different parts of the first texture. (To use a sprite sheet). I'm using SDL and OpenGL by the way. ...

Tile based game theory

I'm looking for articles on tile based games, like the old ultima 6&7, or even puzzle pirates. Specifically: How they keep track of objects on the map. Objects such as other characters, or trees, or things the character can move. AI behind the characters. How the game handles character behavior for characters on the map that are off ...

Making a 2-player web-based textual game

I'm making a simple web-based, turn-based game and am trying to determine what modules exist out there to help me on this task. Here's the web app I'm looking to build: User visits the homepage, clicks on a "play game" link This takes the user to a "game room" where he either joins someone else who has been waiting for a partner to p...

Which technologies/concepts do you suggest I learn before creating an iPhone game?

Sorry if this is a broad question, but other than Objective-C, Cocoa, and OpenGL ES, what technologies or concepts would you suggest I read up on before writing a game for the iPhone? I'm a beginning game developer and need all the help I can get :) ...

Oolong, SIO2 or commercial Game engine for 3D iPhone Games newbie?

I'm trying to pick between the Oolong and SIO2 free iPhone game engines for my first game programming project. I have some Cocoa experience and many years of C++ including relatively low level 2D graphics and developing Quicktime plugins but only minor OpenGL exposure. Which engine would be easiest to learn and most productive for someon...

OpenGL game with multiple entities on screen at once, what language to use?

Going to create a small game with OpenGL as a side project. Going to be a top down shooter with emphasis on large numbers of enemies (the more the merrier) Thinking about having the resolution max out at 800x600 (for an old school feel) What language would you recommend, is C# capable of handling the number of entities I want on screen...

Game architecture and design strategy for a multiplayer card game

I am relatively new to game development so I decided I wanted to create a hobby project from scratch for both experience and entertainment. The specific game is similar to poker known as Three Card Brag. The game is played in the movie Lock, Stock and Two Smoking Barrels. I have been reading up on some of the topics on SO regarding gam...

Programming graphics in assembler?

I've developed a running Super Mario Sprite using Visual C++ 6.0 and DirectX. But this isn't very satisfying to me (raping a 3D-Multimedia-framework for displaying a 2D sprite only), so I would like to be able to program an animated sprite using C and assembler only. So, when looking to old games (Wolfenstein, for example) it looks that...

Good library for 3D math in C#?

I'm writing a tool that is going to be used to process a bunch of 3D data, doing things like rotating objects, translating, scaling and all that good stuff. Does anyone know of a good library that already does some of this common 3D stuff? I'm not interested in visualizing the data at the moment, and am primarily interested in performin...

Where can I find the source code of the Worms game?

I am developing the game worms (in the context of a university project), and I would like to know if there is any source code out there for a simple implementation of the game or any other game that derive/resemble to worms. The game is the old fushion one (back to assembly ones if you want), so any source code is welcome. ...

What is the best architecture for multiple game servers that need to talk to each other?

The game is a low graphic (SVG) strategic game. Each server represents a Game Domain with its players. All servers should be able to talk to each other, as players can move (in the game) from domain to domain/send "diplomatic messengers" etc.. We have chosen this idea as it enables us to enlarge the world map endlessly, it enables secon...

The role of scripting languages in game Programming

So I've been running into a debate at work about what the proper role of a scripting language is in game development. As far as I can tell there are two schools of thought on this: 1) The scripting language is powerful and full featured. Large portions of game code are written in the language and code is only moved into C++ when perfo...

What is a good strategy for constructing a directed graph for a game map (in Python)?

I'm developing a procedurally-generated game world in Python. The structure of the world will be similar to the MUD/MUSH paradigm of rooms and exits arranged as a directed graph (rooms are nodes, exits are edges). (Note that this is not necessarily an acyclic graph, though I'm willing to consider acyclic solutions.) To the world genera...

Most seen newbie mistakes in multiplayer/online game programming?

What kind of newbie mistakes you've seen and what are the cures? One which occurs again and again is client is not checked any way against server. For example: User decompiles flash game source or listens to network traffic and sees where high score data is going and sends bogus high scores there not even playing the game. User uses ...

Is test driven development a normal approach in game development?

Just curious since all TDD examples I have seen is web programming related. And if its not a normal approach, why is it not? ...

How to read sprites from a spritesheet in Java?

I have this sprite sheet: How can I read the sprite that I want to out of these? ...

What's the best .NET game development framework ?

I have dabbled in the Microsoft XNA game development framework which seems quite good and just wondered if anyone has had any experience with the Dark GDK.NET from The Game Creators, or any others for that matter. Any advice on which to get started with would be great. ...

How to show Pacman's mouth open/close animation in Java with double buffering?

I'm trying to show the famous mouth opening/closing animation of the pacman character in a throwaway pacman game I'm making to teach myself game programming. What I'm doing is drawing the open mouth image, then redrawing the closed mouth image at the exact same (x/y) location. But this doesn't work, and I just see the closed mouth anima...

Pacman maze in Java

So I'm building the pacman game in Java to teach myself game programming. I have the basic game window with the pacman sprite and the ghost sprites drawn, the pacman moves with the arrow keys, doesn't move beyond the walls of the window, etc. Now I'm trying to build the maze, as in this picture: Without giving me the direct/complete ...

How to represent a 400x400 window as a map in a Java game?

I'm building a pacman game. Basically, I want to have a map representation of this window consisting of blocks/tiles. Then as the pacman character/ghost moves i would change their position on the map to represent what's on the screen, and use that for collision detection etc. How can I build this map, especially since the screen is made...