Computer programming is the process of designing, writing, testing, debugging, and maintaining the source code of computer programs.
4
votes
2answers
2k views
How to handle platform collisions in a 2D game?
If I have a map in my platformer game and I want my character be able to jump on some platform, for example. Is there an easy way to tell the game where the platforms are and where the player can jump ...
6
votes
2answers
725 views
Do AI or graphics programmers have more job opportunities?
I've come to a crossroads where I need to choose between focusing on AI or graphics programming for a career in games. I'm interested in both and am really wanting to know which area might have more ...
2
votes
1answer
89 views
How can I transmit move information from player to player in a web application?
I am trying to create an online chess game using ActionScript and Flex. It works well when I have two players on the same PC, but I want to publish it as a web app. How can I transmit a move or ...
13
votes
3answers
910 views
How can a game prevent people from running multiple instances of itself?
I am playing a game called Starcraft II that restricts me from running multiple instances. However, when I run a second instance sandboxed in Sandboxie, I can do so perfectly fine. What might account ...
1
vote
2answers
331 views
Are C and Objective-C sufficient for creating games on the iOS?
These days, I'm focusing on games development on the iOS.
C++ is the lingua franca for games development but seriously, I prefer to code in C programming language, not in C++.
So for iOS games ...
11
votes
5answers
5k views
How can I implement gravity?
How can I implement gravity? Not for a particular language, just pseudocode...
1
vote
2answers
380 views
What are the technologies used to create Metal Gear game?
What are the technologies (programming languages and engines for example) used to create "Metal Gear : Snake Eater" and "Metal Gear : Guns of The Patriots"?
Is it usually to keep those things secret?
...
1
vote
1answer
422 views
Language agnostic game programming books [duplicate]
Possible Duplicates:
Game programming books that don't teach programming?
Must read game development books
Does anyone know any good language independent game programming books?
I ...
0
votes
0answers
779 views
C++ or C for Indie Dev [closed]
I've been learning C++ for about a week now (I haven't got through that much) because I'm finding it a very hard to understand most things (maybe because there is so much to it).
As I've been looking ...
8
votes
2answers
392 views
Manage a large number of independent actors in real-time
I am working on a large scale real-time strategy game - ideally with thousands of units active at once - but I am having trouble managing all of the units at once without it becoming astonishingly ...
-3
votes
3answers
884 views
What language for Indie dev? [closed]
What would be a easy/fast language that would be good for an Indie developer for a FPS?
Java?
C#?
C++?
C?
Anything else that would be good?
Edit: (Platforms: Linux, Mac, Windows)
42
votes
2answers
2k views
How can I get textures on edge of walls like in Super Metroid and Aquaria?
Games like Super Metroid and Aquaria present the terrain with the other facing parts having rocks and stuff while deeper behind them (i.e. underground) there's different detail or just black.
I ...
2
votes
2answers
772 views
Does an indie game developer really need to know graphics programming beyond the basics?
I've been working on a 2D game for the iPhone and learning a lot about game design in the process. I've looked at some of the most popular games for the iPhone ( angry birds, cut the rope, doodle ...
8
votes
2answers
2k views
Video playback in Unity
I'm not satisfied with the quality of video playback in Unity (Movie texture which I run after converting video with Miro converter and importing it to Unity),... so, is there any chance that there is ...
3
votes
1answer
351 views
Organizing platformer game into classes
I'm making a platformer game and I'm having some trouble wrapping my head around how to organize my classes. I'm wondering what the best way to have everything interact would be without passing ...
1
vote
2answers
433 views
Game development: Art vs Programming [closed]
I'm a programmer and would like to get some perspective on the art / content creation part of game development.
Comparing a 2D platformer like Super Meat Boy and a high-end game like Crysis 2, what ...
12
votes
3answers
1k views
Appropriate level of granularity for component-based architecture
I'm working on a game with a component-based architecture. An Entity owns a set of Component instances, each of which has a set of Slot instances with which to store, send, and receive values. Factory ...
1
vote
1answer
211 views
Timer not going off
I've got a timer in my game which is supposed to set off a Boolean back to false after a certain amount of time has passed it just doesn't seem to work despite me trying to debug the issue, although ...
10
votes
5answers
832 views
How could you parallelise a 2D boids simulation
How could you program a 2D boids simulation in such a way that it could use processing power from different sources (clusters, gpu).
In the above example, the non-coloured particles move around ...
3
votes
1answer
447 views
Simulating a 2D rope from a top down perspective
I was wondering if anyone could point me to any resources and/or explain how to properly simulate a 2D rope from a top down perspective?
I found a game that has the exact mechanic I'm looking for...
...
0
votes
2answers
256 views
Question on methods in Object Oriented Programming [closed]
I’m learning Java at the minute (first language), and as a project I’m looking at developing a simple puzzle game.
My question relates to the methods within a class. I have my Block type class; it ...
4
votes
3answers
2k views
What are some ways to separate game logic from animations and the draw loop?
I have only previously made flash games, using MovieClips and such to separate out my animations from my game logic. Now I am getting into trying my hand at making a game for Android, but the game ...
13
votes
1answer
685 views
What are pros and cons of Voronoi shatter?
I have seen some Voronoi shatter videos on Youtube.
What is your experience with it?
What are the pros and cons in time complexity, resource complexity, implementation difficulty...?
Does it ...
-6
votes
1answer
3k views
Can you make a 3d game in eclipse java? [closed]
Hello can you make a 3d game like minecraft using java?
65
votes
15answers
8k views
How are bullets simulated in video games?
I have been playing games like MW2 recently and, as a programmer, I tend to ask myself how do they make the game so immersive. For example, how to they simulate bullet speed.
When an NPC fires a ...
-1
votes
2answers
454 views
creating random monster encounters for 2d rpg. im using visual basics 2010
i just started programming a couple days ago. ive picked up on it pretty easy enough, but i still have a lot to learn. i was wondering if someone could help me out with making a system for random ...
1
vote
2answers
256 views
Different types of memories which a graphics card has
I've been googling this around and yet nothing showed up but some articles from middle ages which were talking about Gforce mx and ... . My question is just this: what are the different memories in a ...
6
votes
3answers
392 views
When does parallel-tasks engine becomes a good solution?
I'm often tempted to break the game I'm working on to try a parallel-tasks based architecture, but that don't seem a big requirement for my project so I avoid this for the moment. I'm planning to just ...
6
votes
3answers
510 views
Trophies programming design pattern
What design pattern is best for implementing trophies in a game? I am not a games developer, but is it easy for each player's action to check and update conditions that satisfy 50-100 trophies at any ...
3
votes
4answers
229 views
What are windows used for?
I have a very general question: In games, what use does the programming concept of a window have? Or, in other words, why do some game dev libraries offer interfaces through which to create multiple ...
3
votes
3answers
4k views
Is it possible to use Windows Forms in an XNA project?
Is it possible to keep a Windows Form inside a XNA project? I tried it but without success.
Below I'm showing how my main file is.
using System;
namespace JogoSuecaOnline
{
#if WINDOWS || XBOX
...
-1
votes
3answers
314 views
Suitable programming language [closed]
Which in your opinion is the programming language of choice for game development?
Any special mention for .NET developers?
1
vote
1answer
551 views
Networking SFML Berkley Sockets
So I'm starting work on a multi-player space shooter. And I've run into some issues. As I type this, my system is currently:
//Main While Loop
Gather Input
Update Own Sprites Based on Input
Send ...
0
votes
2answers
593 views
How do i get my tilemap to move at the same speed as my character
I have a little problem in my solution, i'm trying to make a pretty big map for the players to walk around in.
I decided to use a tile-engine, but when I move my character it moves faster than my ...
3
votes
1answer
2k views
Mouse location is off due to camera
I'm building a top down shooter but I have a little issue with my camera and mouse.
When I add the camera that I use to my game (see here) my mouse pointer seems to be in the wrong location.
When I ...
9
votes
4answers
3k views
What are some good resources for creating a game engine in XNA?
I'm currently a student game programmer working on an indie project. We have a team of eleven people (five programmers, four artists, and two audio designers) aboard, all working hard to help design ...
21
votes
1answer
824 views
Determine position of a rotated element in Tetris
Tetris-Tiles are stored as a 4x4 boolean matrix. Each rotation step has it's own matrix, the representation of the T-Block would look like this:
[
0, 0, 0, 0,
0, 1, 1, 1,
0, 0, 1, 0,
...
1
vote
3answers
676 views
Actionscript 3: Which side of object is hit?
I have a two objects colliding with each other. I am testing for the collision with if(ob1.hitTestObject(ob2)){//do something }. Is there a way to determine which side of the object was hit, i.e. if ...
6
votes
1answer
278 views
Literature about Open World Games, Freedom to Choose
I'm doing a diploma thesis about the development of games with freedom to choose or open world.
Topics will be i.e. development issues in programming and the design itself, mechanics etc.
For that I ...
-3
votes
3answers
634 views
game maker book for beginner
Which book is more a beginner to learn to program in c++ (or GML) and more fun: "Game Maker 8 Cookbook" (available for pre-order), or "The Game Maker's Companion" ?
4
votes
3answers
443 views
Should our group try to make a game?
I am a second year, learning C/C++ and Java.
In our first year of university we did basic C++, no classes. This year we have been introduced to classes and inheritance. We have not yet done pointers, ...
4
votes
3answers
319 views
Internal Game Organization
I've been trying to make various sorts of games throughout the past few months, I've had several false starts (currently using python + pygame). I find that what happens is that I get a first pass of ...
11
votes
1answer
747 views
What research areas exist in game programming?
I'm currently in a group that researches network optimizations and various distributed applications, I'm much more interested in games but more from a research side.Is there a resource that focuses on ...
3
votes
1answer
108 views
connecting multiple anti-aliased lines together
I implemented/copied the wu line algorithm from pseudo-code on wiki-pedia and other places.
When drawing a sine wave it breaks down at the point where the line changes from y dominant to x dominant ...
7
votes
2answers
2k views
Information on seamless MMO server architecture
I'm looking for any material on seamless MMO servers! I do have a few articles in the "Massively Multiplayer Game Development" books and "Game Programming Gems 5." Has anyone experience on that topic ...
7
votes
6answers
526 views
Game companies - Involvement of programmers in the design process
This is a question basically to programmers with experience working in game companies.
How common is it that game coders participate in the design process of the game? Both gameplay design, and ...
7
votes
3answers
696 views
Effective methods to continuously update movement in a tower defense game?
We are four guys making a Tower Defense game as a project in first grade on a university. The game is going to be really simple!
Three different towers
Three different monsters
One map (maybe add ...
8
votes
4answers
2k views
Java game in a day or two
We are three people who are going to make a simple game in Java as a school project (University, first year). The game has to be object oriented. We don't have much time, 10-20 hours tops. None of us ...
0
votes
1answer
139 views
Took one major now want to be in different industryssT
How different is Programmer Analyst from Game Programmer?
I took the first one as my major but want to go with game development industry.
Is it possible to transition from one to another?
EDIT: ...
7
votes
8answers
934 views
Is it possible to program the entire logic and flow of a game without ever touching a graphic's engine?
I'm not interested in rendering engines or level design, but I'm very interested in programming the AI that drives all of the characteristics of game play. I'm thinking of how the d20 system drives ...