game-development

A bunch of questions about SDL

I'm starting a little RTS game with SDL and here are some questions: I work with small sprites, is there a way of displaying the screen x2 with scanlines ? I tried zooming it with rotozoom but it slows down the game and I would like to avoid scaling my sprites by hand. How can I switch between fullscreen and windowed while running ? I ...

Open Source Card Games or books for Objective-C/Cocoa?

I'm looking for open source projects for card games like Black Jack or Solitaire to get an idea on some GUI/Mac OSX desktop programming. I'm curious if anyone knows of any that're based on Objective-C/Cocoa that I can read/learn from? ...

diplomacy game judge algorithm

I am writing a server for playing the great diplomacy game online. Does anyone know an algorithm for the judge, that will calculate all moves/supports/convoys on the map at the end at each round? For implementing the protocol I use twisted, for db-access django ...

Making all variables in a program modifiable at runtime by the programmer, smart idea?

I was thinking of doing this with C++, basically from an external editor or something the programmer can say: MyClass::dude = "hello" where 'dude' is a static integer in 'MyClass'. What the program does at runtime is it partitions the input to MyClass :: dude = "hello" and finds the class called 'MyClass' and assigns the dude variable i...

Why is Microsoft not developing a Halo-like next gen title using C#?

The question might look subjective but considering Microsoft: Owns the Xbox 360 platform Owns the Windows platform Have their own game studio (MGS) Own other 3rd party developers Is a major publisher makes me wonder why Microsoft doesn't push their flagship language to prove that not only you can cut down significant development time...

What are some Common 3D Game Patterns?

What are some of the more common design patterns used when developing 3D games? Are there any high-level architectural design patterns that are commonly used? What about general software patterns within the architecture? ...

What are good sites that provide free media resources for hobby game development?

Please redirect me if this is a duplicate. I haven't been able to find a suitable question. I really suck at graphics / music / 3D modeling / animation and it's a must-have when you have a hundred hobby game development projects you're working on. I'm looking for different quality sources on the web that provide free resources. [EDIT] ...

Overview rpg tiled space

I'm trying to make it where the character is in a tile and when they move up or down it moves to the next tile but I'm not sure how to do that. Right now, I have it set up where the character moves by pixels but I want it to move by 1 square. The code right now is this, and it works, but it's glitchy in pixel mode. I believe if it was...

3D Camera Zoom and follow physics in java?

I'm trying to make it so that no matter how far apart two objects are they'll both remain on screen. I'm using JOGL, but that shouldn't matter as I just need help with the math. This is what I have so far: float distance = (float) ((Math.sqrt((p1.x - p2.x) + (p1.y - p2.y)))); float camx = (float)((p1.x + p2.x) * 0.5); float camy = (flo...

Loading image into an array

How would I load certain images into an array set like Map = ( ( 1, 1, 1 ), ( 2, 2, 2 ), ( 3, 3, 3 ) ) I can put images into variables like so one = oslLoadImageFile("one.png", OSL_IN_RAM, OSL_PF_5551); so whould I be able to do something like Map = ( ( one, one, one ) ) and if each image was 32x32 would it be able to be side by ...

Are there any open source tower defence games?

I'm looking for an open source tower defense game. ...

What security practices should I implement for my gambling website?

Is it enough to use secure coding practices such as the OWASP Top Ten? What techniques should I use to detect tampering? ...

Does open-source gambling software exist, and should it?

Is there such a thing as open source gambling software? Would making the source code transparent help increase security over the long haul? ...

Tiled movment

heres what Im working with now if (osl_keys->held.down) { sprite_position = DOWN; SpriteAnimate(); sceKernelDelayThread(20000); sprite->y += 16; SpriteAnimate(); sceKernelDelayThread(20000); sprite->y += 16; } if (osl_keys->held.up) { sprite_position = UP; SpriteAnimate(); sceKernelDelayThread(20000); sprite->y -= 16; SpriteAnimate(); s...

Fast Collision Detection for Circle Insertion into 2D Plane

Hello all. I know there are lots of posts about collision detection generally for sprites moving about a 2D plane, but my question is slightly different. I'm inserting circles into a 2D plane. The circles have variable radii. I'm trying to optimize my method of finding a random position within the plane where I can insert a new circl...

Basic pathfinding with obstacle avoidance in a continuous 2D space

I'm writing a simulation in which a creature object should be able to move towards some other arbitrary object in the environment, sliding around obstacles rather than doing any intelligent pathfinding. I'm not trying to have it plan a path -- just to move in one general direction, and bounce around obstacles. It's a 2D environment (ove...

Audio programming on Symbian devices

I’m a blind programmer who would like to develop games based entirely on audio for symbian based phones. I need the ability to do the following. Get input from the phones joystick as well as regular keys, and play audio with varying volume and direction like can be done in directX. I know the first part isn’t a problem in any language b...

Why use a Vector to represent velocity in a game?

Velocity = length / time so why a vector (x, y, z) is used to represent it? ...

Help with velocity vectors

Hello, I have a velocity vector that is V(233, 188). It makes an object moves toward the right-bottom side of the screen in 300 pixels per second when the origin is V(0, 0). When the position of the object is, for instance, (592, 334), I set the velocity vector to V(294, 55) but the object does not start moving toward that direction......

How to make a wxFrame behave like a modal wxDialog object

Is is possible to make a wxFrame object behave like a modal dialog box in that the window creating the wxFrame object stops execution until the wxFrame object exits? I'm working on a small game and have run into the following problem. I have a main program window that hosts the main application (strategic portion). Occasionally, I nee...