game-development

SDL_Mixer sound problems

Basic Info: Programming Language - C++ Platform - Windows Audio Formats - wav and mid I recently finished a game and was fooling around with figuring out the best way to upload it to a file hosting site. I eventually decided on using 7zip's self-extracting feature. However, I think the mistake I made was that instead of just copying ...

Game programming with Java in Linux

Recently I've been craving some game programming. I primarily use Linux, and was wondering if there are any good graphics libraries for Java development on Linux? Google didn't turn up very much useful information on the subject. Also, would another language be better? I would like to avoid using python -- Ruby and Java are my two favor...

What type of Math should I study to prepare for game programming?

Next year I will be starting a degree in game programming. I have been told to brush up on my math. Which chapters of math text books should I read over? The course is described as: The Qantm Bachelor of Interactive Entertainment (with a Major in Games Programming) focuses on specific areas which are critical to developing kno...

Switching from Silverlight to Flash for Games - Recommended Reading?

I have been working on some games in Silverlight. However, the community and portal support are still rudimentary at this point. While I expect it to improve over the next couple years, I don't plan to wait around for that. I'm coming from a .Net heavy development background. What would you suggest I read and practice to start develo...

Recommended architecture for a .NET Facebook Game

What is a good architecture for implementing a real-time, multi-player Silverlight-based game that is intended to integrate and run from Facebook? The idea is to build a Silverlight-based game that uses social network information from Facebook as part of its play environment. Specifically, Where should the game rules be implemented,...

What to use for C# SlimDX Game UI

I am currently developing a 3d game using C#/SlimDX (The target is Direct3D 9). I've been looking for a suitable Game UI toolkit for a while, but I was unable to make up my mind. The Game UI will be for a roleplaying game, so it'll be fairly complex and will involve quite a few controls (text boxes, inventory grids, list boxes, select b...

How do I blur an image?

I'm trying to implement a blurring mechanic on a java game. How do I create a blur effect on runtime? ...

2D World design question

I'm facing a problem which is probably extremely common in game-design. Let's assume that we've got a 2D world The world's size is M x N rect The world may contain some items in it The items have (x,y) coords The world can be browsed via a window that is physically (m x n) large. The browser window can be zoomed in / out The browser wi...

Math problem for game development

I'm developing a game that uses a fair bit of geometry and I need to know how to find the intersection of two lines, and the distance of a point from this intersection point. ...

How to create a simple First Person Dungeon Crawler

Possible Duplicate: How do I get started in game development? I am an amateur programmer trying to make my first game. I've been trying to create an 'old-school' first person dungeon crawler in the spirit of Dungeon Master, Ultima and all the early AD&D games like Curse of the Azure Bonds. I loved all of those games! I even look...

Can you suggest good framework for game?

I am planning on developing a game (kind of management game where you play manager of company, hire employees etc.). I plan to have simple 2d graphics (possibly vector graphic). What language and framework would you suggest for this project? As you might see this kind of game would not require a "fast" language. Languages that I know an...

Troubleshooting Raphael translation animation

Hi, I'm attempting to use Raphael to make a small game, and just want a bit of advice on some code I'm working on. Here's what I have so far, its just a simple example of moving a circle around the screen: <script type="text/javascript" charset="utf-8"> window.onload = function () { var paper = Raphael(10, 50, 320, 200); var paper ...

Spider Solitaire code

Hi If I want check or see the code in C# for the spider solitaire game where should I go ? I want to know how the game work and how the code is organized , any Idea ? or link ? or e-books? thanx in advance ...

Game Engine Falty Animation Flipping Logic

Hi Everyone, I am currently working on a nice little 2D game engine in AS3. You can even load in different flash movie clips through XML for the different animations. One of the features also allows you to flip an animation when you perform a certain action. That way you could have 1 animation for both left and right (as usual). I have t...

Cross-platform, open-source development framework that needs 3d graphics

I'm thinking of developing a game-like piece of software. It will probably require a bit of OpenGL, MIDI input, and math. I'd like to eventually sell the software, so it needs to be installable on PCs with different OSes. And I don't want to have to spend a lot of time on memory management and other low-level details. My question is ...

Engines built on pygame

I am currently writing an RTS for pygame and have written a number of modules on top of pygame for common things, such as efficient collision detection, a state system and more featured sprites. Now while writing games, except for Rect and Surface, I barely write any calls to Pygame itself. When Googling around on this, I have not fou...

How they build the identical game on Mac, PC, and Flash? For example: Plants VS Zombies

Such as the famous game Plants VS Zombies, or Machinarium. They have Mac and PC version, and even online flash demo. It must be a flash engine or something, does anyone know this, what's that? ...

Non repeating Random Numbers.

Im using. for (int i = 1, i<100, i++) int i = arc4random() % array count; But im getting repeats everytime so how can i full out the chosen int value from the range so when the program loops i will not get any dupe? Thanks. ...

C++ as first language for Windows game programming?

I'm a hobbyist programmer with a fair grasp of Python and I'm currently learning C. Recently I was talking to a colleague who also wants to learn to program. In his case, he wants to learn C++ as a path to Windows game programming using DirectX. Personally, I feel diving straight into C++ as your first language is a bit much - it's hard ...

Game programming structure

I've been programming in c++ for a bit now and Im very familiar with the syntax. I'm trying to use Allegro to make a card game. I understand everything I need to do for the game logic and what not. What puzzles me is how to drive the game. I'm sort of new to loop based applications. I got used to event based programming in VB .Net. I'm j...