game-development

How to implement connected rooms?

This may be a duplicate question as I don't know to phrase the search query. I'm creating a Zork-like text based game in Java where the character moves to different rooms which are connected to each other. I want to be able to list all options a player has available for this room. For example, Room A is connected east to B, and B is con...

How to return this data in C?

This is a thought problem, and one I have been wrestling with for about a day. I am writing an engine for a game in C (open source, for fun), and all of the interface (read GUI) elements deal with mouse input in a function interfaceMouse(). Basically, I call interfaceMouse() on a regular basis to see if the user has acted with the inter...

Podcast Focusing on XNA or Game/Graphics Programming in General

I realize there are a number of podcast related questions, but I'm specifically looking for XNA oriented podcasts. I've Googled around a little bit, but I have been unable to find any current podcasts. I'm just wondering if anyone else knows of any interesting ones. I'd guess if Google can't find them, they don't exist but I thought I...

C++ Templated return

Hey Folks, I have a program which is built on "Entities", which hold "Components" (composition FTW). Components may include many different types including scripts, assets, etc. I would like to build an Entity function called Entities have a map of strings, and actual Components, such that the Components can be searched for by type na...

Ruby library/gem for game graphics?

I am creating a simple Blackjack game in Ruby, and I have finished all the game logic stuff (finally!) and currently have it running through the command line. It is all working, so now I need a library or gem that will make the whole graphics side of things easier. Any ideas? Thanks. ...

Popcap's SexyApp Framework FAQ's etc

What's the best way to get started using Popcap's "SexyApp Framework", and is it a good idea? Wikipedia article ...

actionscript error 1119

Hey guys, I'm new to actionscript and have to create a DDR-like game for an assignment. I converted all my arrows into symbols and gave them an instance name. so far I didn't include any functions; just set all my symbols to visible = false or true. But for whatever reason it just plays everything anyway. And I'm getting an error: 1119...

C# 3D Chess Game

Hey so I want to create a 3D chess game (3D glass pieces), like the Chess game Vista provides, Chess Titans, but I'm not sure how to get started. I know I should probably use Blender for the modeling and Visual Studios for the programming. Can you provide links to comprehensive tutorials that can help me get started? Thank you ...

GKSession using pollling

From what i'm reading in the apple documentation, GKSession works using delegates (for example when receiving data, or establishing connections). Has anybody managed to work with the GKSession using polling ? I'd like my game to test each frame if it has any available data and then read it. The same for establishing a connection. Is t...

Is there any sophisticated role-playing game framework available?

I'm looking for a role-playing game framework which fulfills the following critera: Open source / Free for non-commercial Targeted language doesn't matter as long as it's not too obscure (C# or Java would be great) The framework doesn't have to provide any graphics, sounds or other "low level" stuff The framework should support comple...

Key press issue in ActionScript 3

I'm creating a DDR-like game for an assignment and my keyboard seems to respond and trace it, but only if I press on the screen with the mouse first. How can I get rid of that and just have it respond right away? right_mc is the arrow that's moving ArrowRight_mc is the arrow at the top perfect_mc should pop up briefly and so should a...

Quantum Tic Tac Toe AI

In my data structures class, we've been assigned a project in which we are required to make a fully functioning Quantum Tic Tac Toe game in which a player faces a bot that plays to win. The professor suggested we use a game tree in our AI. However, as usual, I am looking for something more challenging. Can anyone suggest a better, mor...

Resources for UnrealScript

Now that the Unreal Development Kit is out and free to use by anyone, I am pretty excited to try it out. My understanding is that the programming is done through scripting in UnrealScript, I am wondering if any of you guys know of any good articles, tutorials, books, and references for Unreal Script or the Unreal Development Kit. Docume...

How do you set the "require" path when lua is embedded?

I have lua embedded in my game engine and a directory structure of lua files, and i am starting to use lots of lua scripts. I want to use "requrie" to optimize module includes, but i am unsure how to set the CPATH and PATH values because i have lua embedded. How can I set this up? And also, since require looks for modules and not paths,...

Is the board game "Go" NP complete?

There are plenty of Chess AI's around, and evidently some are good enough to beat some of the world's greatest players. I've heard that many attempts have been made to write successful AI's for the board game Go, but so far nothing has been conceived beyond average amateur level. Could it be that the task of mathematically calculating ...

Optimal datafile format loading on a game console.

Hello. I need to load large models and other structured binary data on an older CD-based game console as efficiently as possible. What's the best way to do it? The data will be exported from a Python application. This is a pretty elaborate hobby project. Requierements: no reliance on fully standard compliant STL - i might use uSTL th...

How to implement moving platforms with Cocos2d, TMXTiledMaps and Chipmunk

I'm making slow but steady progress with a Cocos2d game, but I'm stuck creating moving platforms. The main character needs physics and collision detection, and is therefore a chipmunk shape/body. I wrote a class to iterate over the TMXTiledMap in order to cut back on the amount of bodies in the chipmunk space. So with a map like this ...

Terrain minimap in OpenGL?

Hello, So I have what is essentially a game... There is terrain in this game. I'd like to be able to create a top-down view minimap so that the "player" can see where they are going. I'm doing some shading etc on the terrain so I'd like that to show up in the minimap as well. It seems like I just need to create a second camera and s...

Tile-based Game Engine or Framework for the iPhone?

I'm planning to build a simple tile-based RTS (Real-Time Strategy) game for the iPhone and iPod touch. Is there an existing game engine or framework that I could use? If so, where can I find it? ...

Prerequisite for learning directx

Hi All, I am from .net C# background and I want to learn DirectX. I have knowledge of C++ but I am fairly new to graphic world. I am little confused about how to start learning directx, should I start learning direct directly or buy a basic graphic book like hern and baker and then jump to directx. Which is the recommended book for l...