game-development

"Exclusive" DirectDraw palette isn't actually exclusive

We're maintaining an old video game that uses a full-screen 256-color graphics mode with DirectDraw. The problem is, some applications running in the background sometimes try to change the system palette while the game is running, which results in corrupted graphics. We can (sometimes) detect when this happens by processing the WM_PALE...

How to call functions in other script files in Roblox.

I have a script file embedded in the Workspace that contains functions. I would like call these functions from script files embedded in child objects of the Workspace. I don't want to have to copy and paste these functions into multiple script files. I figured the object oriented approach would be best if its possible. ...

What games gave you most helpful ideas and concepts for our profession?

We all like to play games from time to time. Playing games is not only a way to spend time, but often is a good source of concepts related to various parts of life and science. Examples: importance of good resource management and parallel execution early in the game in resource-constrained RTS's (e.g. Warcraft); importance of good risk...

Howto create map scrolling in 2D actionscript / flex 3 (flash) game?

I'm creating a 2D multiplayer game in a space environment in flash (actionscript 3 with flex builder 3). The player's character (a ship) will always be in the center. Because it has to look like the ship is moving, while it is actually always in the center, the background and all environmental objects have to move the opposite way. My t...

Movement "algorithm" in client-server Multiplayer (MMO) Games?

I've been writing a 2D flash multiplayer game and a socket server. My original plan for the movement algorithm between the client and server was the following: The client informs the server about the player's movement mode (moving forward or not moving) and the player's turning mode (not turning, turning left or turning right) whenever...

How would I control this textgame and how would the classes get a better structure to do this?

If i have a textgame that has a world object that has objects of type room which has objects of items and enemies and then a gamehelper object that has user objects for the actual player. (this game doesn't have wandering enemies since that would complicate my question to much for me :-)) How should I go about either killing an enemy or...

Double ended priority queue

I have a set of data and I want to find the biggest and smallest items (multiple times), what's the best way to do this? For anyone interested in the application, I'm developing a level of detail system and I need to find the items with the biggest and smallest screen space error, obviously every time I subdivide/merge an item I have to...

scalable multimedia network engine

Could someone suggest an open source (preferably on Linux) scalable network engine for my multimedia streaming server. This engine should do : security/NAT handling/load balancing/handling many(thousands) clients etc. I guess Network games too require such components , right ? But could they fit into streaming use case ? links towards...

Calculate score in a pyramid score system

I am trying to calculate gamescores for a bunch over users and I haven't really got it yet. It is a pyramid game where you can invite people, and the people you invite is placed beneth you in the relations tree. So if i invite X and X invites Y i get kickback from both of them. Let's say 10%^steps... So from X i get 10% of his score an...

What kind of language should I design for a particle engine scriptable engine?

I was wondering which kind of expressiveness fits a language used to generate particle effects.. Supposing to want an engine as flexible as possible what kind of 'features' should it have? (in addition to trivial ones like color, position, velocity, acceleration) ...

most readable programming language to simulate 10,000 chutes and ladders game plays?

I'm wondering what language would be most suitable to simulate the game Chutes and Ladders (Snakes and Ladders in some countries). I'm looking to collect basic stats, like average and standard deviation of game length (in turns), probability of winning based on turn order (who plays first, second, etc.), and anything else of interest you...

How to deal with animating in-between states when the model is discrete

The data model in my program has a number of discrete states, but I want to animate the transition between these states. While the animation is going on, what the user sees on the screen is disconnected from what the underlying data is like. Once the animation is complete, they match up again. For example, let's say we have a simple gam...

Where do I install my shortcuts to if I want to put them in the Vista/7 "Games" Folder in the start menu?

As a game developer, I would like for my games to be placed in the proper directory. But I don't know where to install the shortcuts to, any help? ...

tips to avoid synchronisation issues in multiplayer and replays using MVC pattern

Hi, just wondering what tips people have for avoiding game synchronisation issues in multiplayer games and replays recorded off of game logic using the model in a model view controller pattern so far im aware that its not a good idea to give non const access to the model anywhere outside of it, but apart from that im a little stuck and...

iPhone board game: OpenGL ES or CoreGraphics?

I want to program a board game (similar to checkers) for the iPhone. Would OpenGL ES or CoreGraphics be a better option? What do most games of this type on the App Store use? ...

How to keep model & controller separate from a CALayer based UI?

I'm trying to re-implement an old Reversi board game I wrote with a bit more of a snazzy UI. I've looked at Jens Alfke's GeekGameBoard code for inspiration, and CALayers looks like the way to go for implementing the UI. However, there is no clean separation of model and view in the GeekGameBoard code; the model is the view, which makes ...

What is a good textbook for a Game Development course?

Hi all, I'll be teaching a tertiary level game development course over this coming summer. I'm looking for suggestions for a textbook. The course is aimed at 3rd-4th year students, most of whom are Computer Science students. While there is a reasonably strong programming requirement, the course looks at all aspects of the industry - ...

Loading and saving a tile based game in Java. XML or TXT?

Hi all. For some time I've been making a 2d tile based sim game, and it's going well! Thanks to this site and its kind people (You!), I have just finished the path-finding part of the game, which is fantastic! THANK YOU!... Anyway, to the question. At present, the test level is hard-coded into the game. Clearly I need to re-work this. M...

Informative Game Development Tutorials for Java?

I've taken a couple of courses in programming (mainly Java) in my first year at college, and I've been trying to keep up my skills through the summer, so I was thinking of attempting a very basic video game project for the summer, because it would be an equally entertaining and educating way of practicing good program design. So, I was ...

Games programming versus embedded programming skills

Recently, I've been trying to make the switch from games programming to embedded programming. (Out of necessity, not choice). To me, my experience in low-level engine and graphics programming on consoles is a perfect fit for embedded systems. However, I've found IT recruiters seem to be befuddled about the commonality between the two (i...