game-development

Component based game engine design

I have been looking at game engine design (specifically focused on 2d game engines, but also applicable to 3d games), and am interested in some information on how to go about it. I have heard that many engines are moving to a component based design nowadays rather than the traditional deep-object hierarchy. Do you know of any good link...

Unreal engine 3 vs Id tech 3 vs Unity

I'm trying to decide which engine I should start using to try to start building a game in. I had chosen Unity, but upon hearing that Unreal engine 3 had just become kinda free to use, I found myself questioning my decision. Technically unreal is still the most expensive commercially, then Unity, then Id tech 3(free). But, it also coul...

Flash CS4 [AS3]: Playing Card Deck Array

I am looking to make a card game in Flash CS4 using AS3 and I am stuck on the very first step. I have created graphics for a standard 52 card deck of playing cards and imported them into the library in Flash and then proceeded to convert them all to Movie Clips. I have also used the linkage to make them available in the code. The movie...

framework for browser based MMO?

I want to create a browser based MMO similar to "monopoly city streets." Is there a good framework available for this kind of thing? ...

Need an approach for automatically-propagating values in/across hierarchical structures (Faction system for a game)

public static class Global { public static List <Faction> Factions; public static Dictionary <Faction, FactionRelation> FactionRelationships; } public class Faction { public Faction Parent; } public class FactionRelation { public Faction ForeignFaction; //The enemy or friend of this faction public decimal Multip...

Hello, Can anybody suggest me any game in C or C++ for my second semester project in post graduation?

I'm doing post graduation in computer science. In the second semester I wish to do a game in C or C++ so that I can apply my knowledge in these languages and this will add to my existing knowledge about these languages. Please suggest to me a good topic and a brief description about it. I have one of my classmates with me to do the proje...

Low-latency, large-scale message queuing

I'm going through a bit of a re-think of large-scale multiplayer games in the age of Facebook applications and cloud computing. Suppose I were to build something on top of existing open protocols, and I want to serve 1,000,000 simultaneous players, just to scope the problem. Suppose each player has an incoming message queue (for chat a...

Data-driven programming book ?

Hello, I work as an indie game developer... I'm always trying to do a lot of research, what I like the most is Game Engine Design. In the last months, something that I have noticed being mentioned a lot is "Data-Driven" Game engine design, I have read some vague articles about it, but nothing that I feel is clear enough. I was wonderin...

Implementing a z buffer in a software rasterizer

Hello, as a homework assignment, we're writing a software rasterizer. I've noticed my z buffering is not working as well as it should, so I'm trying to debug it by outputting it to the screen. (Black is near, white is far away). However, I'm getting peculiar values for the z per vertex. This is what I use to transform the points: floa...

Making Photoshop-like drop shadows in a game

I'm making a game where the game's size varies, so I want to make my own shadows. The api i'm using can fill rectangles, make ellipses, horizontal lines etc. And supports rgba. Given this, how could I make a drop shadow? I tried making a black to white gradient and setting the alpha to 20%, but it didnt look very good... I'm not sure how...

Java VolatileImage - validate() vs contentsLost()

When using VolatileImage to do accerlerated Java2D operations, how do you properly use the methods validate(GraphicsConfiguration) and contentsLost() to ensure that nothing goes wrong. When do you call which method? ...

Quick GUI development for a simple app / trivia game

What would be a good tool/IDE/app to build a GUI? Platform: preferably Windows, but can get away with Linux Details: I am an embedded C programmer tasked with writing a simple game for New Year's Party...(some party) Game logic is very simple, grab args, alter string, display string on screen (command line version done..). However, th...

WPF/Silverlight: Instantly render large amounts of multi-colored text

I need to constantly display large amounts of colored text in WPF or Silverlight, and I need the user to percieve it as showing up instantly. Currently I'm doing this using a canvas and textblocks, one textblock per 80-character line, with multiple runs to a textblock to handle the different colors. There can often be 20+ runs to a lin...

2D web-game: on what?

I want make 2d fighting game. Without very fast moving and very cool effects. I can do it with jquery, but i think this be a slow. Or not ? Q: Is there an alternative for flash? PS: sorry for my ugly english ...

Php lottery issues multi winner problems

I have created a lottery script in php. My problem is now selecting more then one winner. Because it is possible for players to have the same number on their tickets. Here I am supplying the two table structures and the source code. lotto_game { id(int) jackpot(int) status(varchar10) pick_1(int) pick_2(int) pick_3(int) pick_4(int...

Direct screen pixel/framebuffer access

Hello, I'd like to try and create a program playing a game. I.e. "a bot". I want to be able to directly access the pixels on the screen. I.e. have my program "see" a game and then "make a move"(or at least draw a picture of what move it would make). Both Windows and Linux advice is appreciated, though my guess is that it should be easi...

How do I make a side-scrolling iPhone app?

I am working on a side-scrolling iPhone app, and I have every resource, except the actual side scrolling part! How do I make an app so that it side-scrolls? To be more specific, I want the view of the app to scroll when a UIImageview(player) hits the right/left border of the screen. <:EDIT:> I am extremely sorry for all of this confusi...

Word game server in Python, design pros and cons?

I'd like to get busy with a winter programming project and am contemplating writing an online word game (with a server load of up to, say, 500 users simultaneously). I would prefer it to be platform independent. I intend to use Python, which I have some experience with. For user data storage, after previous experience with MySQL, a flat ...

In writing games that deal with scancodes, what do I need to know to support international keyboards on Mac and PC?

I am writing an input system for a game that needs to be able to handle keyboard schemes that are not just qwerty. In designing the system, I must take into consideration: Two types of input: standard shooter controls (lots of buttons being pressed and raw samples collected) and flight sim controls (the button's label is what the user...

Where can I find some good open source Android games to accelerate the learning process?

This question here lists some good links to general Android applications (that I'm already looking over) but I'm interested at the moment in specifically games (board-type, intelligent games rather than action - in other words, I don't need real-time). What are the best sources for applications like that? I want to look over the source ...