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

learn more… | top users | synonyms

0
votes
0answers
15 views

How to handle and make animations?

I just finished a game for my design class and I ran into a problem that I always have but this time I'm going to learn the right way to do it. I was making the background animation for my menu in ...
-6
votes
0answers
42 views

Game Development - GENERAL [closed]

I dont program or design and i was wondering how to create a simple side scrolling game(3D) and what software do I need and what programming language do i need to learn? Please provide all the ...
15
votes
4answers
617 views

What is “tools development?”

I have been looking at different jobs in the games industry and a lot of the jobs that I have seen advertised are for a "Tool Developer" position. I do not know what this actually is. Could someone ...
-2
votes
1answer
80 views

Giving the update function a history

I am using Unity but this is an issue, that can be applied to every programming language. I only have one Update-Function. function Update () { } This function runs each frame. If I want to ...
-2
votes
4answers
161 views

Making 2D Games [closed]

I am starting out on making my own games. I am very interested in making 2D side scrolling games, such as SNES/Mega Drive games and eventually I want to create my own Metroid/Cave Story inspired game. ...
2
votes
2answers
57 views

Relevant file paths for reading in from a file?

Working on something in XNA, need to be able to read in data from a text file for something. Trying to figure out how I can shorten this pathname down, so instead of it always checking there, it just ...
8
votes
5answers
350 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
votes
0answers
110 views

About C++ Game/Engine Development books [closed]

I would like to ask a question about C++ game/engine programming books. I have C++, Java, C# and various other languages OOP fundamentals, so programming logic is not foreign to me. I'm planning to ...
-1
votes
0answers
20 views

Assertion fails with events in lua, Corona SDK

So I have two objects, an Enemy and Bullet Object. In the level there are several different instances of Enemy Objects, about 16. Each of which are linked to their own Bullet Object. keep in mind ...
4
votes
1answer
143 views

One job per method

I always hear things about that each method should only do one job. But lets say I got Update() method in my game that updates entities state, path finding, player position, etc. Should I refactor ...
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 ...
2
votes
2answers
65 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
64 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 ...
1
vote
1answer
100 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
72 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 ...
10
votes
5answers
834 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 ...
0
votes
1answer
64 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
121 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?
18
votes
1answer
721 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
vote
3answers
683 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 ...
0
votes
2answers
138 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
votes
1answer
286 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 ...
16
votes
15answers
4k views

Simple game engines / development tools made with artists in mind?

I've been working in the 2d art side of games for a while now, and my full time job keeps me very busy on the art side of things, but I'm becoming more and more interested in learning to prototype my ...
1
vote
1answer
238 views

Implementing powerups for my Breakout clone

I'm making a simple Breakout clone in Python that will have very many powerups/powerdowns (so far I came up with 26). Some will affect the paddle (paddle missile, two paddles, short paddle, etc.), ...
1
vote
1answer
172 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
65 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 ...
9
votes
3answers
2k views

How to wire finite state machine into component-based architecture?

State machines seem to cause harmful dependencies in component-based architectures. How, specifically, is communication handled between a state machine and the components that carry out state-related ...
11
votes
5answers
5k views

Complete Math Library for use in OpenGL ES 2.0 Game?

Are you aware of a complete (or almost complete) cross platform math library for use in OpenGL ES 2.0 games? The library should contain: Matrix2x2, Matrix 3x3, Matrix4x4 classes Quaternions ...
0
votes
0answers
143 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 ...
5
votes
5answers
1k views

Are there any good UI widget toolkits for Pygame? [closed]

Are there any good, modern widget toolkits for Pygame? I've looked at PGU, but it's apparently unmaintained.
2
votes
2answers
134 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 ...
2
votes
1answer
62 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
38 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 ...
7
votes
10answers
854 views

What tools should I consider if my aim is to make a game available to as many platforms as possible?

We're planning on developing a 2D, grid-based puzzle game, and although it's still very early in the planning stages, we'd like to make our decisions well from the beginning. Our strategy will be to ...
0
votes
0answers
146 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
86 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 ...
16
votes
14answers
1k views

Does Big O really matter?

In academia worst case Big O is taught over everything else. Compared to space complexity, normal case analysis, simplicity over complexity, etc. In particular to game programming and industry, what ...
2
votes
1answer
197 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 ...
0
votes
0answers
121 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 ...
5
votes
2answers
2k views

C++ entity component system framework [closed]

I have found several entity system frameworks for other languages besides C++, like Ash and Rush for ActionScript and Artemis for Java and C#. My question is whether there exists a framework like one ...
-4
votes
1answer
158 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 ...
1
vote
2answers
187 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 ...
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 ...
-3
votes
2answers
199 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
100 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 ...
1
vote
3answers
145 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 ...
2
votes
2answers
185 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
2answers
176 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
73 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
83 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 ...

1 2 3 4 5 8