game-development

Is studying physics helpful for game programming?

I have a choice between Physics and Economics as elective units in a course I'm about to start (undergraduate level). I'm already doing maths as part of the course, so should hopefully do some trignometry and geometry etc which is helpful for 3D game programming. However I'm not sure if I should choose Physics over Economics. I am awa...

VB.Net - Networking method for client/server game

Hi All, My first question so go easy on me :) I've been developing for years and have written WAY too many apps (mostly web apps) using web services - I'm happy with SOAP/WSDL/etc... I also used to write TCP/IP client-server apps back in the day using good old winsock. I'm a bit bored and looking for a new project to expand my skills ...

Hunt the Wumpus - Room Connection

So I'm writing a version of the game Hunt the Wumpus in C++. The only real difference is that I'm not worried about the cave having a dodecahedron shape. So far I've implemented the creation of the cave and the random insertion of the hero, bat, wumpus, and pit. // Hunt the Wumpus #include "std_lib_facilities.h" #include "time.h" cla...

Client-side technology for a web-based game

I am developing a web-based game (similar to the ESP game), I am done with the server side SOAP web service (built on ASP.NET), and now I am wondering if I should use Flash (swf) or AJAX for the client side layer of the game. Basically, the client side is a web service client making requests to the web server and receiving back instructi...

Network Programmer Blogs (especially for games)

What are some good network programmer blogs? I'm especially interested in people who write about multiplayer games (MMORPG/RTS/FPS/etc), but any well written blog on the subject would be great. Here's a good blog I found on another stackoverflow post: Glenn Fiedler's Networking for Game Programmers Gamasutra Blogs occasionally has arti...

C# problem with closing my small game when the form closing event is fired

Hi! I have for a school assignment created a small game, it is divided into 2 different projects, one project with the form and one with a DLL-file containing the game. The game loop is very simple and looks like this: private void GameLoop(Graphics g) { int lastTick = Kernel32.GetTickCount(); do { ...

Integrate Custom Physics Classes with OGRE 3D?

I have to use OGRE3D for a university project however, we are not allowed to use any third party libraries for Physics or collision detection. This includes using OGRE's built in collision detection. I am having some difficulty with the correct way to approach adding my own custom physics routines to OGRE's built in entities. OGRE uses...

How can I find islands in a randomly generated hexagonal map?

I'm programming a Risk like game in Codigniter and JQuery. I've come up with a way to create randomly generated maps by making a full layout of tiles then deleting random ones. However, this sometimes produces what I call islands. In risk, you can only attack one space over. So if one player happens to have an island all to them self, t...

not reimplementing GUI controls on new 'platform'

We're doing some serious games interface work. Games allow unique new interfaces, but we also want to avoid having to reimplement traditional 2D controls, we want to leverage the years of refinement to windows controls. How would we go about hosting and rendering .NET controls in a '3D' context? 3D in the sense of, eventually they wil...

Abstraction and client/server architecture questions for Python game program

Here is where I am at presently. I am designing a card game with the aim of utilizing major components for future work. The part that is hanging me up is creating a layer of abstraction between the server and the client(s). A server is started, and then one or more clients can connect (locally or remotely). I am designing a thick client ...

Designing tables for storing various requirements and stats for multiplayer game

Original Question: Hello, I am creating very simple hobby project - browser based multiplayer game. I am stuck at designing tables for storing information about quest / skill requirements. For now, I designed my tables in following way: table user (basic information about users) table stat (variety of stats) table user_stats (conne...

Spawning and terminating a person in a sim game (in Java)

Hi all. I am developing a 2D grid based sim game. Progress is good. Been cracking out code for the last few days really well, and I've been having some issues today. I build two rooms, set the door position, and spawn a person. The person has the 2 room types that they must visit in order to be cured (It's a remake of Theme Hospital). I...

C# 2D collision detection problem

Hello! I am stuck trying to figure out how to alter my collision detection to work correctly, i got all my wall objects stacked inside a List and then when the player moves i loop thru each wall object and call the DetectCollision method, this returns true or false depending on if the object is inside the wall or not. Wall detect colli...

Help constructing an OBB, trying to Represent a matrix with 3 vectors

I am presently trying to construct an OBB (Oriented Bounding Box) using the source and math contained in the book "Real Time Collision Detection". One problem with the code contained in this book is that it does very little to explain what the parameters mean for the methods. I am trying to figure out what I need to feed my setOBB() me...

Persistent connections between Flash client and Java server

I'm new to Flash. I'm planning to create a game client in Flash (running in browser) that needs to talk to a server written in Java. Connection between client and server needs to be persistent. I'm aware of XMLSocket - is that the only way to go? Any recommendations? Thanks! ...

Omaha Hi Hand Evaluator

Hi, currently im trying to port Keith Rule's Texas Holdem Hand Evaluator to Omaha Hi: Texas Holdem Evaluator and Analysis More Analysis Part1 More Analysis Part 2 After thinking more about the algorithm, I found a solution which gives me the right percentages for the hands and everyhting is fine.. But it's really really slow. How c...

Designing efficient C++ code for fibers

How do I utilize fibers best in my game code? Should it only be used to manage nonpreemptive context-switches while loading resources (i.e. files from disk)? Or do I allow all types of game entities to run in a fiber? How do I schedule? C++ or pseudo code samples greatly appreciated! ...

Which 3D engine for ruby

i am looking for a 3D engine for developing a ruby game. i found some like G3Druby or ogrerb. which one is better to use and has better functionality? is there any other engine better than these? ...

Detect Collision point between a mesh and a sphere?

I am writing a physics simulation using Ogre and MOC. I have a sphere that I shoot from the camera's position and it travels in the direction the camera is facing by using the camera's forward vector. I would like to know how I can detect the point of collision between my sphere and another mesh. How would I be able to check for a col...

What are some 3D games written in C#?

I've been searching on Google for some C# programs. I have found Paint.NET. Is that the only C# program out there? What about games? Someone have a link to 3D game in C#? ...