Computer programming is the process of designing, writing, testing, debugging, and maintaining the source code of computer programs.

learn more… | top users | synonyms

5
votes
1answer
267 views

What's the right/standard way of achieving separation of concerns?

Some background: I want to start developing games, and taking some of the advice given in this site, I've started with something simple and familiar, such as pong, tetris, etc. I want to take as much ...
8
votes
1answer
374 views

How to represent cliff faces in terrain?

I'm trying to figure out the best way to programmatically represent terrain in my game. I've been considering using a heightmap (or grid of evenly spaced vertices) to represent the surface of the ...
23
votes
2answers
979 views

Is there a way to procedurally generate the history of a world?

I am somewhat intrigued by the diagram found here representing 1800 years of cultural history in an imaginary world some guy created. This sort of thing would seem to have strong applications for ...
3
votes
2answers
280 views

Programmatically drawing a “pencil” line or curve

If you look closely (scan it on a computer and zoon in) at a carbon pencil line you can see that there are differing shades of gray. I tried looking on the Internet for any kind of algorithm or ...
0
votes
2answers
297 views

What basic non-games related computer knowledge should a games programmer possess? [closed]

So the question will very likely need re-phrasing. I thought about asking this for a while, but held off because it's a tad vague. To explain - I have been a programmer for 4 years and only begun ...
0
votes
0answers
266 views

Working on C++ and DX11. What should I learn next to make simple (and complex) games? [closed]

I think video games are great and I have many ideas I want to work on. I'm about 40% through a year long course in C++ and it is very fun and starting to be useful (now that we are using classes). ...
-4
votes
1answer
790 views

should i use java or c#? [closed]

i know a similar question has been asked before but, my question is somewhat different. I have been learning C# for a few years but nothing in game making, more like applications and web like ...
8
votes
2answers
437 views

Implementing behavior in a simple adventure game

I've been entertaining myself lately by programming a simple text-based adventure game, and I'm stuck on what seems like a very simple design issue. To give a brief overview: the game is broken down ...
-1
votes
1answer
375 views

Is this idea suitable for a computer science final project? [closed]

I'm a senior student in Computer Science and I want to take a graduation project that would help me get better at any subject that is related to game development. I'm doing some research on the ...
2
votes
1answer
772 views

C++/SDL Getting Multiple Bullets On-Screen

I've finally gotten this laser thing to work for my Space Shooter, and so far I've come across a slight problem. I've gotten the laser to position itself at the starting position correctly and move ...
14
votes
3answers
1k views

How does one do unit testing in a game engine?

Much to my shame, I have never written a proper unit test, only small unorganized test programs that I would then dispose of after the test succeeded. I don't really have a clear idea of how unit ...
19
votes
9answers
2k views

Is storing all game objects in a single list an acceptable design?

For every game I've made, I just end up placing all my game objects (bullets, cars, players) in a single array list, which I loop through to draw and update. The update code for each entity is stored ...
17
votes
7answers
896 views

How important do you find exception safety to be in your C++ code?

Every time I consider making my code strongly exception safe, I justify not doing it because it would be so time consuming. Consider this relatively simple snippet: Level::Entity* entity = new ...
4
votes
3answers
3k views

Should I use Game Engines to learn to make 3D games?

HI i am a software engineering student in his second-last year. I am proficient with C,C++,C# and java programming languages, and being a student of engineering I have studied calculus, vectors etc ...
2
votes
2answers
281 views

Bezier Curves for visual programming node connectors

Probably everyone is familiar with all kinds of visual node based programming tools like HLSL editor in Visual Studio 2011 or UDK engine Kismet/Material editors. My point of interest are the ...
2
votes
4answers
359 views

What is a right datatype in C++ for OpenGL scene representation with use of GLSL

I am programming in C++ OpenGl with GLSL. Until now I have been using a data structure that is composed of std::vector filled with structures of vertexes and with their parameters (position , normal, ...
-6
votes
5answers
494 views

Designing first game, deciding which language to use [closed]

Looking to make my first basic game (maybe some platformer) but haven't got across the "which language" barrier yet and hoping to get a few tips. I have basic knowledge of C++ and classes and can ...
3
votes
3answers
263 views

Should each UI screen contain the list of screens on the stack or should I use a manager class?

I have a Screen class that encapsulates the updating and rendering of several distinct states, such as the menu, gameplay, and credits. A stack of screens exists on which the screens themselves need ...
13
votes
2answers
609 views

How should I check if a player has completed an achievement?

I'm making an MMO game and I just got to a point where I need to implement achievements... How do I do that? The most straight forward thing to do would be to run this once every 100ms,: for a in ...
1
vote
2answers
429 views

Android pong clone, having trouble getting the paddle to stop at the screen edge

Well, I'm obviously very new to game dev and android. I've got a ball bouncing around (successfully detecting screen edge collision so that the bitmap stays within screen) and a paddle that the user ...
0
votes
3answers
156 views

How should I proceed next with my programming skills? [closed]

I am currently studying at University of technology in Brno (Czech Republic). This semester is almost over and I might say I have some knowledge of C. Since I went to this school just for the purpose ...
1
vote
1answer
116 views

Help with puzzle game

I have a pattern game and it is almost done however I am stuck on the last part. I have a screen with 25 blocks (in a table format 5x5) and the user clicks on it to turn over the blocks, I need to ...
1
vote
1answer
138 views

3D Location Handling

I am thinking about making a simulator type game that will involve having lots of small objects in a 3D space. What is the typical solution for handling these objects? The first thing that comes to ...
6
votes
5answers
1k views

Persistent game where you program your own bot(s) [closed]

I'm looking for an online game with a persistent world where you are allowed to code (and add) your own 'players' (it can be in any language / script). A sort of RTS but for bots. Does that even ...
11
votes
2answers
744 views

Could I be going crazy with Event Handlers? Am I going the “wrong way” with my design?

I guess I've decided that I really like event handlers. I may be suffering a bit from analysis paralysis, but I'm concerned about making my design unwieldy or running into some other unforeseen ...
4
votes
1answer
243 views

What are some great papers/publications relating to game programming? [closed]

What are some of your favorite papers and publications that closely relate to game programming? I'm particularly looking for examples that are well-written and illustrated, and/or have had a profound ...
3
votes
1answer
150 views

Make an object slide around an obstacle

I have path areas set up in a game I'm making for canvas/html5 and have got it working to keep the player within these areas. I have a function isOut(boundary, x, y) that returns true if the point is ...
0
votes
2answers
403 views

Check if an object is facing another based on angles

I already have something that calculates the bearing angle to get one object to face another. You give it the positions and it returns the angle to get one to face the other. Now I need to figure out ...
20
votes
5answers
959 views

Beyond “Novice” Game Projects

I was reading this answer on the type of math a game developer should know and this part really stood out at me: How do I move my game object? The novice might say: "I know! I'll just do:" ...
6
votes
4answers
2k views

Programming a MOBA bot: any open-source genre entries or games with an open A.I. API?

So some background: I play League of Legends (LoL) religiously and have a strong background in A.I. programming. In an attempt to put 2 and 2 together I've been trying to implement a bot for playing ...
0
votes
0answers
154 views

What Game Programming podcasts, Videos, etc are out there? [duplicate]

Possible Duplicate: What are some good podcasts for game developers to listen to? I am a programmer and like to listen to podcasts, and watch instructional videos, but everything I've found ...
-6
votes
1answer
143 views

What platform should I use? [closed]

I will be doing final year project this year, its a group of 6 members project. But in the group, only 1 member is experienced (mid level) in programming (ah yes, thats me). The game should be an ...
4
votes
4answers
1k views

What are some good game programming short courses?

I'm from Brazil, and I want to take a short course on game programming, 2 months at most, in a country that lectures are given in english. I'm almost a BSc in Computer Science alredy. Can you tell me ...
16
votes
4answers
810 views

It is worth adding 'futuristic' features to our game, or should we put our focus elsewhere?

I'm lead programmer in a medium-sized indie game studio. This is our first game as a team. We're working on a futuristic FPS game, with a profit-sharing buisness plan. Anyway, we have some very good ...
6
votes
2answers
356 views

What score/level function is often used?

In many games you raise a level when you reach a certain score, and later levels are harder to reach than in the beginning. I am suspecting that it is some sort of exponential function that is used ...
3
votes
2answers
401 views

How can I make the switch from immediate mode to VBOs?

I've been using OpenGL for a short time now- and I'd like some clarification on VBOs. As I understand it, a VBO is an object stored on VRAM. In immediate mode, to apply a texture we simply bind it and ...
14
votes
3answers
531 views

Tangible benefits to speed-coding your personal game projects

I noticed a few programmers setting time-sensitive challenges for themselves, usually in the area of "write game of type X in Y amount of time" or "write X number of games giving only Y time for ...
4
votes
2answers
283 views

Starting a Game Dev Incubator - Engines to Start With?

I'm currently in the process of developing a technology incubator in my region to cater to game development professionals and aspiring devs and I'm curious about what engines are best to use, with ...
-3
votes
1answer
257 views

programming light sources in java

I was making a game and I wanted to program light sources but I don't know how to. every where I search it comes up with lightweight java. Can any one offer any help. Its a birds eye view mmorpg. Can ...
3
votes
2answers
294 views

VS deployment problems

I created an installer for my XNA demo in the hopes that people could just download it and use it. It runs perfectly on my computer, however on others, it installs fine, but the demo doesn't run and ...
9
votes
1answer
892 views

How do I create an installer for my XNA demo?

I have a demo coded in XNA3.1 using VS2008. I'd really love to be able to send this to anyone with a PC and let them install and run it without requiring them to have VS installed or the .Net ...
61
votes
10answers
3k views

What can I do to make sure that I have the energy to work on my game while working full-time?

I work as a software engineer 40+ hours a week and I find that between balancing my personal life and family responsibilities that I have literally no energy to work on game development. What can I ...
6
votes
9answers
1k views

Is it essential that I learn Try/Catch and Finally statements for Game Programming, or is it something I can come back to? [closed]

Doesn't seem like something that would be an essential part of GAME Programming.
6
votes
4answers
695 views

Efficient 2d Java Line of Sight for a lot of entities?

My problem today is this: I have many civilians going around, they are classes stored by an arraylist. The idea is when they see another civilian panic, they'll start to panic and it will spread. ...
0
votes
2answers
490 views

How to move the ball in straight line in gamesalad?

I have an actor named ball and I want to move it in a straight line which is created by actor ball's X and Y coordinate and cursor's X and Y coordinate. I have Move To behavior in gamesalad but I ...
0
votes
1answer
210 views

Particles are not moving correctly [closed]

I want to make a particle explosion, after something gets destroyed, but somehow only one line of mixed colors show up on the screen. Here's the header: http://pastebin.com/JW5bPLj2 Here's the ...
17
votes
9answers
1k views

How to get a game done?

My problem is, whenever I start programming a clone of a game (for practice) or my own game or some other problem I stop somewhere in the middle of the development, because I lost interest in it. How ...
1
vote
1answer
133 views

What's the URL of the video showing an EA representative talking about game programming?

The video shows an EA representative talking about how a programmer can get into the industry by showing some demos (in fact, he shows a physics demo presented by a candidate who wanted a job at EA). ...
0
votes
4answers
381 views

Pickup another book or submerge into XNA [closed]

Completely read Head First C#. Should I read something else or get personal with XNA from here on? Got links? Edit: Hobby. Interested in 2D and 2.5D gamedev for personal fun, nothing serious. ...
0
votes
0answers
795 views

Setting up perspective projection on Opengl ES 2.0 makes objects disappear

I'm working on a project using opengl-es 2.0, and I'm having some trouble setting up perspective projection. If I don't set up the perspective projection and simply multiply the object-to-world ...

1 2 3 4 5 8