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

learn more… | top users | synonyms

3
votes
1answer
70 views

Retrieve outer most points on a 2d graph

G'day everyone, I have a 2d graph which has some points plotted on it. What I need to do is get only the outer most points so that I can connect them up (isn't really relevant). What I can't seem ...
2
votes
0answers
561 views

Catmull Rom Spline - Constant Speed

Given the equations found in the answer here: Determine arc-length of a Catmull-Rom spline How would one A) Apply this to a 3D Catmull-Rom Spline, and B) write A out programmatically (for the math ...
-3
votes
2answers
289 views

How can I really master in game programming? [closed]

Game Programming is fun and interesting. To develop games I have to learn several languages, game engines and should have sound knowledge in Math. But what I'm really looking is how to be a master ...
0
votes
4answers
501 views

Programming Paradigm for Games [closed]

Which programming paradigm resembles or best suits the Game design or game engine programming? by paradigm I mean the Imperative, Object oriented, Functional, etc. I came to know that functional ...
-1
votes
3answers
220 views

Novice prototyping a massive multiplayer webpage based gaming system [closed]

I'm trying to build a website based game in which various pages of the site act as different areas of the game. I am wondering what you would recommended as a design structure. Which languages would ...
2
votes
1answer
185 views

Should I wrap a template function with another template function, or…?

I'm currently making an Entity System, using C++, and I've questioned myself about how I should interface some methods. Specifically in my Entity and ComponentManager classes. The ComponentManager, ...
-2
votes
2answers
1k views

making a game in 2D(C++). SDL or openGL? Or, why not both? [closed]

I'm trying to make a platform game in 2D and I want to know what tool should I use to make it happen. I understand that I can use SDL with openGL. However, if I want to make a solid 2D platform game, ...
20
votes
5answers
2k views

Try-catch or ifs for error handling in C++

Are exceptions used widely in game engine design or it is more preferable using pure if statements? For example with exceptions: try { m_fpsTextId = m_statistics->createText( "FPS: 0", 16, 20, ...
3
votes
0answers
67 views

Check key state or listen for event? [duplicate]

Possible Duplicate: Polling vs event driven input I'm trying to teach myself a bit of game development using Pygame, and I'm unsure what's the best way to approach some of the fundamental ...
9
votes
4answers
3k views

Is there any game engine using a functional programming language? [closed]

Is there any game engine using a functional programming language similar to Scheme, Common Lisp, Clojure or JavaScript? I've tried Unity3D but their "JavaScript" is not actually JavaScript, is ...
19
votes
9answers
1k views

How to get a game done? [closed]

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 ...
3
votes
4answers
386 views

Good way of handling class instances in game development?

I'm a new indie game developer, and I've made a few games, but often times when coding I wonder "Is this the way most people do it? Am I doing it wrong?" because I'd like to become a game developer ...
23
votes
10answers
5k views

What are the most commonly used programming languages? [closed]

When I took my Java courses a year ago, I was told that Java is used mostly in the overseas gaming companies while C++ is used here in the US. What languages should I focus on learning in-depth?
1
vote
0answers
168 views

Is there an IDE that can simplify the process of creating a game matchmaking website? [closed]

Yes, I'm an old guy. And I'm well versed in "C" and have written several games which I have been selling on the web for a number of years. And now, I would like to adapt one of my games to be ...
4
votes
6answers
297 views

Object oriented approach to debug mode

I'd like to introduce a way to turn off/on debug messages and in-game tooling (tweak menus, for example) without non-game related branches, e.g: if(DEBUG_MODE) { // show tweak menu // some ...
-2
votes
2answers
91 views

How to Contact prominent game devs for discussion and queries? [closed]

What is the medium to contact and discuss problems with Game devs, and engine hackers? Any irc, forum, mailing list? Note : Somehow, I did not like gamedev.net
2
votes
3answers
764 views

Computer Games Technolgy or Software Engineering?

I'm in the last year of my college and going to university next year. Could you tell me what the difference between Software Engineering and Computer Games Technology is? I know a bit of both but ...
2
votes
1answer
2k views

HTML5 point and click adventure game code structure with CreateJS

I'm a programming beginner. I made a tiny one scene point and click adventure game to try to understand simple game logic and came up with this: CreateJS features prototypes for creating bitmap ...
2
votes
0answers
283 views

Per fragment lighting with OpenGL 4.x tessellated model

I'm experienced with OpenGL 3+. I'm dabbling with tessellation shaders and have now got to a point where I have a nicely tessellated teapot/plane demo (quick look here) As can be seen from the ...
44
votes
10answers
8k views

New to creating AI - where to start? [closed]

I am new to game programming and am trying to make a basic 2d top-down space game with 2 space ships that fight each other. I am doing well with the user controlled space ship, but have no idea how ...
7
votes
3answers
940 views

Game Asset Storage: Archive vs Individual files

As I am in the process of creating a 3D c++ game and I was wondering what would be more beneficial when dealing with game assets with regards to storage. I have seen some games have a single asset ...
-2
votes
1answer
779 views

Ray casting on a mesh using libgdx [closed]

I'm trying to perform ray casting on a mesh using libgdx. I found this code sample and it misses some explanations. What do these vectors stand for? What is globalIntersection and localIntersection?
2
votes
4answers
290 views

Getting into the details of game engine programming [closed]

I am interested in learning game programming, but I really have an interest in the lower level engineering in games. I have OpenGL experience, and I am really interested in learning more about ...
-3
votes
3answers
79 views

just starting and cant find a place to learn a launguage to code games [closed]

Like i said im justing starting and it feals like it is impossible to learn a launguage. Id like to code games and would appreciate it if some one could direct me to a site where I could learn how to ...
0
votes
1answer
273 views

How to collide with a 45degree wall in XNA

I want to make a PAC MAN imitation game to start working on AI, and while my first version will feature rectangles with widths or heights of 1 to makes walls for collision detection, I want to ...
1
vote
2answers
809 views

Optimal way to learn DirectX? [closed]

I am finding it very difficult to learn DirectX 11. The MSDN website is just full of unorganized information that doesn't seem to help at all. I am particularly looking for something that explains ...
0
votes
3answers
140 views

is wisdom of what happens 'behind scenes' (in compiler, external DLLs etc.) important? [closed]

I have been a computer-fanatic for almost a decade now. I've always loved and wondered how computers work, even from the purest, lowest hardware level to the very smallest pixel on the screen, and all ...
-1
votes
2answers
225 views

What kind of math should I be expecting in advanced programming? [duplicate]

Possible Duplicate: What math should all game programmers know? And I don't mean just space shooters and such, because in non-3D environments it's obvious that not much beyond elementary ...
0
votes
1answer
72 views

RPGMakerVX - Changing item_max?

I've been working on a game for awhile and I am developing it with RPG Maker VX. I came to a point where I needed to... I guess for lack of better explanation... Limit the key items to just 1. So I ...
1
vote
0answers
95 views

Audio Panning using RtAudio

I use Rtaudio library. I would like to implement an audio program where I can control the panning (e.g. shifting the sound from the left channel to the right channel). In my specific case, I use a ...
68
votes
15answers
12k 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
3answers
6k views

How to begin serious game development (in C++) [closed]

I would like to start developing games. I have tried before Game Maker 8, which was a very easy way to start creating games, if you were new in game development. Then, I tried Unity 3D, which was a ...
18
votes
5answers
12k views

How can I implement gravity?

How can I implement gravity? Not for a particular language, just pseudocode...
-4
votes
1answer
3k views

What programming languages are sufficient for web browser game development? [closed]

I am wondering with what kind of languages such a multi-player online game was written? I am trying to find a list of web programming languages which could be sufficient for both of these websites. ...
-4
votes
1answer
95 views

which platform to choose for designing a game [closed]

I am new to gaming platform and don't have any experience in gaming as well. I want to develop a small shooting game and don't have any idea from where to start and which platform to use like things. ...
1
vote
1answer
344 views

How to correct shooting in touch-screen shooting games?

Assume a shooting game for iPhone that the character shoot toward where player has touched. But as we know, There may be fault in touching screen by player and it conclude to bad game play and low ...
5
votes
3answers
1k views

HTML5 game programming style [closed]

I am currently trying learn javascript in form of HTML5 games. Stuff that I've done so far isn't too fancy since I'm still a beginner. My biggest concern so far has been that I don't really know what ...
4
votes
2answers
748 views

How to implement auto-aiming / auto-targeting

We all know how auto-aiming or auto-targeting works in games. Now, I need to find how to implement it in my game. In fact I should implement it in UDK and I would be glad if anyone gave me more ...
37
votes
1answer
3k views

Why is this beat detection code failing to register some beats properly?

I made this SoundAnalyzer class to detect beats in songs: class SoundAnalyzer { public SoundBuffer soundData; public Sound sound; public List<double> beatMarkers = new ...
-1
votes
2answers
552 views

Making a game engine or using Unity3D? [closed]

I was wondering, which one would benefit me the most? I have as much time as I need to make a game engine and rapid development does not appeal to me. Unity3D is easy, but how much will mastering ...
2
votes
1answer
583 views

Shortcut for NodeJS server [closed]

I am tired of typing "cd c:\socket\nodejs" "node testserver.js" Into the command promt.. How do I create a shortcut or bat for it?
8
votes
4answers
3k views

What are some good resources for creating a game engine in XNA? [closed]

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 ...
1
vote
1answer
286 views

How can unrealscript halt event handler execution after an arbitrary number of lines with no return or error?

I have created a class that extends TcpLink and is instantiated in a custom Kismet Sequence Action. It is being instantiated correctly and is making the GET HTTP request that I need it to (I have ...
1
vote
1answer
272 views

Recreating Doodle Jump in Canvas - Platforms spawning out of reach

I have started to recreate Doodle Jump in HTML using Canvas. Here's my current progress. As you can see, if you play it for a few seconds, some platforms will be out of the player's reach. I don't ...
-1
votes
1answer
195 views

Where might a newbie programmer begin with game development? [closed]

I just started picking up programming and I'd love to learn the ins and outs of game development so if anyone could tell me where to begin I'd really appreciate it alot. I'm interested in flash games ...
0
votes
2answers
367 views

Is there any online programmer's community, focusing on core game development? [closed]

I am looking for a stricktly/mostly programming oriented game community, focusing on core graphics, middleware, and research. Any suggestions? Edit: I am specifically looking for ...
4
votes
1answer
304 views

Techniques for displaying vehicle damage

I wonder how I can displaying vehicle damage. I am talking about a good way to show damage on screen. Which kind of models are common in games and what are the benefits of them? What is state of the ...
0
votes
1answer
2k views

How to control an actor movement in UDK

This might be very basic, but I couldn't find something relevant to what I need (see below). I am working on a very basic thing: a 3D environment with some buildings, and actors walking inside it. It ...
4
votes
3answers
925 views

How can be data oriented programming applied for GUI system?

I've just learned basics of Data oriented programming design, but I'm not very familiar with that yet. I've also read Pitfalls of Object Oriented Programming GCAP 09. It seems that data oriented ...
11
votes
4answers
655 views

Little and big endianness in games

Do we have to worry about byte orders in the process of programming a game? Do game consoles use different byte orders?