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

learn more… | top users | synonyms

2
votes
2answers
60 views

What's involved in resetting the graphics device?

I'm playing with XNA 4.0, VS2010. I've created a window (not maximized) and drawn some sprites. All is good until I resize the window, after which the sprites stop displaying or only partially ...
0
votes
1answer
60 views

Why does this LUA code not render any objects on the screen? [closed]

Did I mess up something somewhere? If i put a putsxy in the same box, it renders a string just fine, but for some reason this code hates objects. What this code is supposed to do is render a set of ...
6
votes
3answers
197 views

How can I update Display settings from an Options screen without restarting?

I'm currently creating a 2D RPG in C++11 with Allegro 5 and boost. My goal is to somehow update my game settings when an option is changed in the Options Menu. I don't want to force the user to ...
1
vote
1answer
79 views

How to handle a player's level and its consequent privileges?

I'm building a game similar to Mafia Wars where a player can do tasks for his gang and gain experience and thus advancing his level. The game is built using PHP and a Mysql database. In the game I ...
-1
votes
2answers
68 views

adding space between each bricks in breakOut [closed]

i am trying to create breakout. code below loop though my 2d array(map) and creates bricks. the problem is that i want to add 10 pixels space between each bricks. i was thinking to add ...
-3
votes
0answers
98 views

I have an idea but I need help [closed]

Hey I'm a 17 year old designer and I have a pretty solid idea for a 2d open world RPG game but I lack the skills to make it by myself. I would need a few programmers ( cause I know how much of a pain ...
0
votes
1answer
63 views

cost of Adding Social Feature to your game such Creating guilds/guild chat [closed]

I'm making a f2p game in unity C#. The game currently has no social features. I would like to have players to have their own accounts and also a guild tab. This tab is where they can create a guild ...
0
votes
0answers
115 views

What's the best way to start out as a game programmer? [closed]

I am new to Coding and programming and I don't know how I should exactly start out, and I'm only in year 8 so I'm a bit limited, is there a way I can start out?
-1
votes
0answers
102 views

How should I implement simple/basic combat and leveling in my C++ Rogue Like Game? [closed]

I recently started making a rogue-like game to freshen up on my c++ programming and I'm to the point where I need to decide how the major mechanics should be implemented. I guess C++ doesn't really ...
18
votes
1answer
712 views

Which features belong to the engine and which ones to a game?

Right now I find myself implementing and testing new features of my 2D game engine by directly coding them into engine. Simultaneously I have a showcase game (with scripting support) which should call ...
-1
votes
1answer
230 views

Is it possible to earn money with GameMaker if your game is good enough? [closed]

I'm a graphic designer and will be graduated from school in 6 months. I would like to start developing my own game. I don't know any coding language but I'm familiar with the methods of it. When I ...
0
votes
2answers
111 views

How to I rotate a triangle by dragging the mouse in libGDX?

More specifically, I have rotation working in a way I don't like as follows: //Draw the triangle using this draw method //batch.draw(texture, x, y, ...
1
vote
1answer
132 views

Selecting and moving object in OpenGL Gameplay3D Engine

I'm using Gameplay3d as a game engine to develop a simple board game. PEG Solitaire I've come to the part where I've created a 2D grid for all the movable object, empty locations and also where it's ...
0
votes
1answer
62 views

Interleaved formats for meshes confusion

So I have been reading up on data formatting for 3D objects so that I can render my meshes as fast as possible in openGL, I am quite new to openGL so bear with me. The format for interleaving your ...
0
votes
0answers
133 views

Using Modern Programming Languages for 16-Bit Consoles [closed]

Although largely outdated, people are still developing for 16-bit consoles. Are all of these games still programmed exclusively in assembly languages or do some use modern high level languages? This ...
2
votes
2answers
127 views

Is there a 3d animation software that prioritizes working with code rather than GUI? [closed]

All of the 3D animating softwares I've faced are centered around using GUI to work: windows, menus, mouse clicks, mouse adjustments, keyboard shortcuts. As a programmer, I find that limiting. In order ...
1
vote
1answer
58 views

Augment an existing game with touch gestures

I want to enhance Homeworld 2 gameplay with touch gestures. The game is running on Windows. So, two questions: Is it possible to wrap the game with a program that would capture touch gestures, ...
2
votes
1answer
37 views

Deep copying or cloning in actioscript 3

I would like to make a mirror reflection of an entity in Flashpunk. So I would like to copy a spritemap from one Entity to another (reflectionEntity). If I use something like this ...
0
votes
0answers
140 views

Game Institute courses - DirectX version used? (SOLVED)

Which DirectX version is being covered in their game programming course? Anyone who has been through these courses can please tell me? thanks! EDIT: Support contacted me back, they still use DX9.
3
votes
1answer
76 views

How to setup a client to work with a remote server or a local included server?

I'm working on a Networked multiplayer game, but while developing and for testing I want to set up a local server that acts like the multiplayer server. My thought is to approach the server as a ...
0
votes
0answers
118 views

Stack Frames and the Heap [closed]

I am exploring more in depth how c++ handles memory management. More specifically I am trying to figure out the relationship between stack frames and the heap. I have so far been able to find out ...
1
vote
2answers
166 views

My SDL Game executable cannot run outside codeblocks

After compiling and running SDL programs successfully inside CodeBlocks, when I run them outside CodeBlocks (by clicking .exe file) my program does not run. Instead, it says that libstdc++6.dll is ...
-3
votes
1answer
156 views

What's wrong with my code? [closed]

I'm starting out writing a game in C++ and SFML, I have a lot of experience writing business software for servers in C# but very little experience in C++ and none in game development. I have tried to ...
-3
votes
2answers
195 views

Need help with game development. (I know C++ and I need to learn an API) [closed]

I know C++ but I don't know an API looking at Directx. I can't find any good tutorials and really need some help to start 2D game development. I'm doing an game development focused Art course that ...
0
votes
1answer
97 views

Simulating flight dynamics in two dimensions

I have decided that in order to improve my math skills and game programming skills I am going to work on a two-dimensional space simulator. The view of the player or camera will be from inside the ...
2
votes
2answers
182 views

Looking for an elegant way to represent fixed parts of a randomly generated level map

I'm coding from scratch a small experimental game on a medium-sized random rectangular square tile map. (Say, a map of a dungeon.) There are several types of tiles (for example: floor, wall, monster, ...
1
vote
3answers
131 views

How to differentiate between instantiated objects in Unity?

I'm currently trying to solve a way to go about the following problem before I start writing any code (the old fashioned pen and paper way) but I'm not sure how I could achieve the following. I'm ...
1
vote
2answers
168 views

How to store different abilities in player class?

So, I have a player class with basic actions. During the gameplay he unlocks new abilities. I don't know how to store new actions within the player class. To be precise - I know how, but my method ...
1
vote
1answer
69 views

Keybindings in Unity

I need to know how to bind keys to actions through Javascript within Unity. When I develop web applications, I normally use this: var KeyBind = function() { if (document.addEventListener) { ...
0
votes
0answers
81 views

Building a team, hiring TL/PM [closed]

I've finally secured enough funds and I'm starting a game company at the moment. I don't plan anything over the top. For starters I'm planning to hire 3-4 people and see where it all goes. But I have ...
3
votes
1answer
58 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
152 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
160 views

Programming language choice [closed]

I'm interested in 2d tile game development. What's your experience with that? What programming language would be wise to choose? I am thinking of C# or Java... Either way, I have some experiences, but ...
-2
votes
2answers
212 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 ...
2
votes
1answer
185 views

UDK Fixed AIController / Pawn Height

[I already asked this question on the UDK forums, without much success though.] I'm using a class derived from AIController to control my pawn in RTS-style. My problem is that the pawn does not have ...
-2
votes
2answers
433 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, ...
-3
votes
2answers
115 views

Programming a game [closed]

I am looking to do some programming for hobby\interest, I have never programmed before and I am looking at with mobile games as they seem easy to do with the kits you can get. However I would like to ...
3
votes
0answers
60 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 ...
17
votes
5answers
1k 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, ...
6
votes
4answers
681 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 ...
-6
votes
1answer
105 views

develop a game for pc,ps3,ps2.x-box [closed]

What are the subject requirements for develop a game for pc, x-box, ps3, ps2.etc. And what should be the qualification for gaming.
3
votes
4answers
303 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 ...
8
votes
1answer
199 views

Showing range on hexagonal grid

Here is the situation. I have hexagonal board,and a unit on it,with speed or move value 4.Diffrent terrain has a diffrent cost.When i click on the unit,game should show me a move range. My solution ...
1
vote
0answers
111 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 ...
2
votes
1answer
143 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
85 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
4
votes
6answers
241 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
3answers
259 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 ...
1
vote
0answers
144 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 ...
-2
votes
1answer
260 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?

1 2 3 4 5 7