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

learn more… | top users | synonyms

-1
votes
2answers
114 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 ...
11
votes
5answers
1k 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
80 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 ...
18
votes
1answer
821 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 ...
2
votes
3answers
1k 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 ...
1
vote
2answers
1k 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
4k 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 ...
17
votes
15answers
7k views

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

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
523 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
507 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 ...
15
votes
3answers
4k 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 ...
12
votes
5answers
9k views

Complete Math Library for use in OpenGL ES 2.0 Game? [closed]

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 ...
6
votes
5answers
3k 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
250 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
87 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, ...
7
votes
10answers
1k views

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

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 ...
4
votes
1answer
162 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
2k 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
387 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 ...
7
votes
2answers
3k 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 ...
1
vote
2answers
717 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
2k 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
267 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
201 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
247 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
296 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
367 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) { ...
4
votes
4answers
780 views

How important is Programming for a Level Designer?

I'm currently attending school in a Level Design program, and I was wondering how important programming really is in being a Level Designer? I'm apparently incapable of learning programming (despite ...
3
votes
1answer
71 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 ...
-3
votes
2answers
304 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
565 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
227 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
195 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, ...
21
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
68 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
397 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
176 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
312 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
92 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
992 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
345 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
9k 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
1k 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
864 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
297 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 ...