game-development

Good tools/frameworks to develop a game server in Java?

I am making a game server for a turn based game. Not a web based server, but a process-based one. I want it to be scalable and I want the development process to go as smoothly as possible. I haven't used Java in forever and I need to brush up on my skills, so I really have no idea what is out there framework or tool-wise. Right now it lo...

Best way to separate Business from Presentation Logic?

I want to create a game that will work both locally and online. My first thought was to create an interface that would have all the methods that will be needed by the GUI for the business logic and then have a network implementation and a local implementation. This works fine for request-response messages. But what about messages that ...

Java 2D game programming - Newbie questions

Hi, We're a team of a programmer and a designer and we want to make a medium-sized java game which will be played as an applet in the web browser. Me (the programmer) has 3 years of general development experience, but I haven't done any game programming before. We're assuming that: We'll decide on a plot, storyline of the game, etc....

Which to choose: 2D or 3D for a java game

What should a small team choose for their first game, when they are low on time but have big ambitions? I'm an experienced programmer, but haven't done any game programming before this. My designer is very talented and artistic, he has worked with 3D about an year ago but hasn't done it since so it could take him some time to learn it ag...

A better/good way to generate 4x4x4 Sudoku board?

For fun when I have time, I like to code games to see how hard it is or just because I want to see how it works from the inside or just for personal challenge. I just like coding. For now, I made these ones. So I made a Sudoku board. First it was the normal 3x3x3 board but then someone asked me to do a 4x4x4 board. I was successful but ...

Best way to store multi-dimensional array on a server?

I'm developing a web-based, turn-based strategy game which takes place on a 10x10 board. Each tile represents an area of land and has its own set of statistics (eg, income, population, fertility, natural resources). Each time the client loads it will download all of the information for the game (ie, loading the stats of only one tile i...

How to design interface for a game in Java

We're a team of a designer and a programmer. Me, the programmer, is hopeless on design of all sorts, so the user interface of the game must be created by the designer. We were thinking of a main screen, where the character walks around, a small minimap in the top, an inventory section, etc. All these things would have to be designed in ...

Is it possible to get high quality graphics in 2D?

I'm considering between using 2D and 3D for a game am leaning towards 2D, but most of the 2D games that I see look like they're hand drawn and the graphics don't really look good. Is it possible to create slick-looking graphics in 2D at all? I was thinking of animations such as: Rays coming out of the hands/eyes of a player that attac...

Customizable player avatar in a 2D Game

How can I have that functionality in my game through which the players can change their hairstyle, look, style of clothes, etc., and so whenever they wear a different item of clothing their avatar is updated with it. Should I: Have my designer create all possible combinations of armor, hairstyles, and faces as sprites (this could be a...

Bests practices for localized texts in C++ cross-platform applications?

In the current standard of C++ (C++03), there are too few specifications about text localization and that makes the c++ developer's life harder than usual when working with localized texts. (Certainly the C++0x standard will help here later.) Assuming the following scenario (which is from real PC-Mac game development cases): responsiv...

Porting easily from 2D to 3D on a Java game

Due to lack of capital and time we are having to do our game in 2D even though me (the developer) would prefer if it was done in 3D. I would hate for users to join the game, only to think the graphics look bad and leave. Though I suppose we just have to try and do our best. That being said, I would like to develop the game in such a way...

What RESTful API would you use for a turn-based game server?

How would you model a turn-based game server as a RESTful API? For example, a chess server, where you could play a game of chess against another client of the same API. You would need some way of requesting and negotiating a game with the other client, and some way of playing the individual moves of the game. Is this a good candidate fo...

What's the difference for using CALayer and UIView when do iPhone game development?

For iPhone game development, seems there are very like functions using CALayer and UIView, we can implement our spirit using CALayer or UIView , and animations are usable for them too. But for coding, there are many difference between CALayer and UIView like object methods and properties etc. So which is the better choice? ...

Is there any cocos2d based open-source iphone game exist?

I want to study cocos2d, seems it's a good framework for iphone game programming. So is there any cocos-2d based open-source iphone game exist? ...

How to synchronize the same object on client and server side in client-server application? Is small messages framework good for this job?

Hi, I'm making a game engine in c++ and python. I'm using OGRE for 3D rendering, OpenAL for sound, ODE for physics, OIS for input, HawkNL for networking and boost.python for embedded python interpreter. Every subsystem (library) is wrapped by a class - manager and every manager is singleton. Now, I have a class - Object - this could be ...

Finding the center of mass on a 2D bitmap

I'm coding a game, and I'd like to be able to find the center of mass of an arbitrary shape on a black and white bitmap such as this: 012345678 0.XX...... 1..XXX.... 2...XXX... 3..XXXXXXX 4...XXX... All "cells" have the same weight. Diagonally adjacent cells are not considered to be connected, and the shape will always be a single o...

Send Key Strokes to Games.

Hi, I can send any windows application key strokes with PostMessage() api.But i cant send key strokes to Game window by using PostMessage. Anyone know anything about using Direct Input functions for sending keys to games from C#. ...

Which project template should I use for Visual C++ game development project?

Which project template should I use for Visual C++ game development project? I am really new to Visual Studio and I am little bit confused with all these Windows Form Application, Win32 Console Application, CLR Console Application, etc. stuff. I have previously coded games in Linux and now I would like to do a pure Windows application. ...

Tutorial for tile based side scroller game-play?

Does anyone know a good resource or some pointers which could help me make a side scrolling tile based (descreet movement for character) with box pushing and moving platforms etc. I'm focused right now C/C++ console development (tho after this project I may stop and do stuff a little more graphical, still C/C++). Something bit like Super...

What first game did you program, and did it make you a better developer?

What first game did you program? Name your game, the OS and language, and even a Website URL to get your game. Old DOS Games and Flash Games with ActionScript are allowed. Game kits are allowed, too. ...and did it make you a better developer? Programming games can be addicting, and it will bring out the best in us as we create our fir...