game-development

Are game developers paid well ?

Do game developers get paid better than conventional application programmers working in products or services based companies ? I could be totally wrong here , I think it takes a lot more to be a game developer than a web developer (for example) who's just writing UIs and server side code and little bit of business logic if the dog is a...

Triangle mathematics for game development

I'm trying to make a triangle (isosceles triangle) to move around the screen and at the same time slightly rotate it when a user presses a directional key (like right or left). I would like the nose (top point) of the triangle to lead the triangle at all times. (Like that old asteroids game). My problem is with the maths behind this. A...

What's the best open source game ever?

For me to read code and learn, not to play... ...of course ;-) ...

DopeWars codebase - Where are the main calculations taking place?

Not really a c/c++ person so I was hoping someone could direct me to the files that contain the main calculations of the game? I am specifically interested in how things are calculated when deciding if the person 'wins' or 'loses' (generally speaking) during events like running/standing/etc. In other words, winning/losing will be based...

Extending an existing class like a namespace (C++)?

I'm writing in second-person just because its easy, for you. You are working with a game engine and really wish a particular engine class had a new method that does 'bla'. But you'd rather not spread your 'game' code into the 'engine' code. So you could derive a new class from it with your one new method and put that code in your 'g...

Interactive Fiction : what are the existing tools and programming language ?

I'm looking to write an interactive fiction à la Zork, but with my own silliness... The question I want to ask is: what are the tools and languages existing to do that and what are the features and advantages of each? For example what are the differences between TADS 2, TADS 3, Inform 6 and Inform 7, and why use one instead of another...

Tetris Piece Rotation Algorithm

What are the best algorithms (and explanations) for representing and rotating the pieces of a tetris game? I always find the piece rotation and representation schemes confusing. Most tetris games seem to use a naive "remake the array of blocks" at each rotation: http://www.codeplex.com/Project/ProjectDirectory.aspx?ProjectSearchText=t...

Game programming - How to avoid reinventing the wheel

Summary: Can I program a "thick client" game in C without reinventing wheels, or should I just bite the bullet and use some library or SDK? I'm a moderate C programmer and am not afraid to work with pointers, data structures, memory locations, etc. if it will give me the control I need to make a great "thick-client" ...

Silverlight 2 and large canvases?

Hi all, I am working on an application that uses several large canvas controls (several thousand pixels across), layered on top of each other. The canvas controls themselves are completely invisible, but each contains a number of controls, mainly images. My question is, is there a recommended maximum size for a canvas, or is it purely...

Refactoring "to hit" values for a game

I'm making a game and one of the methods calculates a character's base hit numbers based on skill values. The method currently calculates each value individually, since each skill can be used at short, medium, and long range. I originally thought I could combine the skills into a tuple and iterate over it, dynamically creating each hit ...

How to embed Ruby in C++?

What's the best way to embed Ruby as a scripting language in C++? Using ruby.h? SWIG? Something else? What I need is to expose some C++ objects to Ruby and have the Ruby interpreter evaluate scripts that access these objects. I don't care about extending Ruby or accessing it in C++. I've found this article on embedding Ruby in C++, and ...

What are the factors most important to developing a game?

I would like to know this to understand why some games like Mario is still playing today and because no other. This is to implement in future game projects. What are the factors most important to developing a game? Gameplay or Graphics? Both? EDIT: It's Possible combine these two? ...

Rendering strategy for a window system in XNA (RenderTarget performance)

I'm currently creating a window system for XNA games from scratch. I'm developing primarily for Windows, but who knows what platforms I might support in the future. Feel free to answer if you know this for native Direct3D, since the performance semantics should be similar. If possible, consider what would change if the target platform wa...

Playing small sounds in Java game

For the computer game I'm making, I obviously want to play sound. So far, I've been using AudioClip to play WAV files. While this approach works fine, the WAV files tend to be gigantic. A few seconds of sound end up being hundreds of kB. I'm faced with having a game download that's 95% audio! The obvious option here would be to use MP3 ...

What are some important interview questions to ask prospective game testers?

I've been handed the task of interviewing a candidate for a position I don't know much about. Call it bad management, the fact is I need to do the best I can. The testing position doesn't require any technical ability besides entering bugs in a very intuitive bug tracker system. I don't know much about the process, but I'm sure qualit...

Review my game project OR (How to peer-review my project) ?

I just finished a 2d platformer in C++/Allegro. Its still in an incomplete stage... I wonder how to go about a peer-review from people who are into game development. I would like to review my project on grounds of game play Collision detection use of OOP programming of sounds, effects etc any further ideas ways in which i could have ...

programming games (crobots like)

what are the currently popular programming games in the internet, something like crobots but with web-based interface that enables you to compete with anyone who has published his/her code earlier? ...

What model should I use for a browser-based game?

As a hobby project I am currently trying to create a small browser-based game - and I thought it would be the "right thing" to code it using the MVC pattern, separating the game's "engine" from presentation. It would be a simple "rpg" game, where the player's character wander the world fighting monsters and gathering items. My problem i...

(C++) Game Server, (Flash) Client

I'm interested in putting together my first online game using Flash as the client and writing a back-end application in C++ where the actual game state is kept. I've done lots of games in C++ before using SDL, SFML, Allegro, etc etc but never gotten around to using the network libraries. I was just interested in some helpful direction f...

Can you recommend a good primer for writing flash games?

I wrote a simple asteroids clone prototype in the PopCap framework, and want to port it to flash. I am not looking for specifics but rather a good primer for writing games in flash. I have searched on google, but the documentation I have found so far has been rather scatter shot. Both in what it covers and who the target audience is. I a...