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
3answers
262 views

Do I need “cube subclasses” to represent the blocks in a Minecraft-like world?

I would like to try to develop a very simple game like Minecraft for my own education. My main problem at the moment is figuring out how to model classes that represent the world, which will be made ...
0
votes
1answer
154 views

Text resource not loading

I'm trying to load text from a .txt file into a TextAsset variable. The file is in the assets folder under Texts/. My problem is that bindata is returned as null. string instructions; void Start () ...
1
vote
0answers
101 views

How to perform game object smoothing in multiplayer games

We're developing an infrastructure to support multiplayer games for our game engine. In simple terms, each client (player) engine sends some pieces of data regarding the relevant game objects at a ...
3
votes
1answer
63 views

Armature rest matrix - why does this exist?

I'm not sure I have a clear idea on what purpose the rest matrix/bindpose is supposed to serve in skeleton animation. If it is supposed to transform a bone into the rest pose and the mesh itself is ...
1
vote
1answer
121 views

How do programming skills aid a game designer [closed]

So many game designers are programmers as well nowadays. Is it so extremelly helpful for a game designer to have programming skills and in which ways programming skills aid a game designer?
-1
votes
2answers
187 views

How to structure the code of a game? [closed]

I come from a web development background and want to learn game programming. To bridge the gap, I plan on creating a simple one-on-one fighting game in JavaScript. There’s two fighters on a stage, and ...
9
votes
3answers
403 views

Flexible alternatives to many many small polymorphic classes (for use as properties or messages or events) C++

There are two classes in my game that are really useful, but slowly becoming a pain. Message and Property (property is essentially a component). They both derive from a base class and contain a ...
1
vote
1answer
73 views

An approach for storing points in space

I am going to work on my next game project, however there are some issues I want to correct since my last one. Here is one of them: This is a problem I think I can already solve, but I'd like to hear ...
0
votes
1answer
125 views

Different aspects of games development [closed]

I am and have been quite interested in programming games for quite a while now, however an interesting question I've thought about lately is what do I want to specialize in? After doing some research ...
-1
votes
3answers
84 views

When in the development process should the programming start and what should be programmed first? [closed]

I think the title really says it all. Should I start programming after designing the basic outline of the game or should I have the whole thing written out? If I write the whole thing out isn't that ...
2
votes
2answers
162 views

Large game project, local variables [closed]

I'm hoping that some experienced programmers can give me their point of view. I'm writing a large game in Windows with dx11. So far, I've got global objects of the class that interfaces with dx11, the ...
1
vote
1answer
149 views

Should I use a visual tool or code myself? [closed]

I've been writing a small game in Python that generates random dungeon rooms with creatures for the player to fight. It's all text based, choose your own adventure style. A couple months of working ...
0
votes
1answer
103 views

Building a visual scripting component (like Kismet) [closed]

I'd like to know how can one get started building a visual scripting component (or what is the more accurate term for this type of component?) such as UDK's and Unreal Engine's Kismet. For those who ...
2
votes
2answers
325 views

Designing spawning system

I played this game recently http://www.kongregate.com/games/JuicyBeast/knightmare-tower and I am amazed by the way how different monsters are beign spawned. I personally developed my own shooter game ...
6
votes
4answers
349 views

Passing data between engine layers

I am building a software system (game engine with networking support ) that is made up of (roughly) these layers: Game Layer Messaging Layer Networking Layer Game related data is passed to the ...
0
votes
1answer
145 views

Enumerating full game tree for small board game

I am trying to list all the possible positions in a small board game (nannon) (using C++) So far I have decided to split it into two parts, the pieces that are in home positions and end positions ...
30
votes
2answers
3k views

Will there be any more books in the Game Programming Gems series?

It's been more than three years now that the last Game Programming Gems book was published. The official website isn't updated anymore, and this page of Mark DeLoura's website seems to imply that the ...
-1
votes
1answer
223 views

Human to Monster Morph on 2D graphics [closed]

A friend and I are writing a topdown RPG called NecroMonster. In the game when you defeat an enemy you can take its shape (basically morph into it) and we dont know how to make this look right. First ...
17
votes
3answers
532 views

How can I maintain a rectangular formation when units are added or removed?

I've got bots in a rectangular formation with rows and columns. A problem arises when a bot is added or removed from the formation. When this happens, the bots have to rearrange themselves so that the ...
8
votes
2answers
805 views

What is data-driven design? [closed]

I've been reading up on a lot of articles covering data driven design for games. It seems to come down to: No hard coding No game-specific code in the engine Scripting for AI, cutscenes, et cetera. ...
2
votes
3answers
395 views

XNA Rending Bottom Half of Video, How to fix?

First off, sorry if this is a repeat question i didn't see anything similar in my searches. The issue i am having.... When running an XNA game any Video objects & related Texture2D's are not ...
-1
votes
1answer
2k views

How to create a text-based game? [closed]

I would like to create a text-based game. As simple as that. I have some understanding of the coding that needs to go into it as I do know a fair amount of JavaScript and I can do it in the ...
1
vote
1answer
489 views

How to make minecraft like world round?

everyone! I'm interested is there a game or at least example which shows how minecraft-like world turn to sphere? Idea is that there is sphere which consists from cubes like in minecraft but they ...
1
vote
1answer
521 views

How can I create an extending chain like the hookshot in Zelda in Unity?

In the Zelda games, there is an item called the hookshot. It is a small mechanical apparatus held in one hand that acts similar to, but not the same as the gun. When it is triggered, the hook at the ...
-5
votes
2answers
141 views

Why should I write a computer program if I don't know exactly how the program gets run in its entirety? [closed]

One can not simply just write some code and competently believe they know how their little MAIN.exe is getting executed underneath the exposed API functions. I want to know deeper on how my games are ...
4
votes
2answers
315 views

Mobile Multiplayer games and coping with high latency

I'm currently researching regarding a design for an online (realtime) mobile multiplayer game. As such, i'm taking into consideration that latencies (lag) is going to be high (perhaps higher than ...
11
votes
4answers
662 views

What's the difference between a “Gameplay Programmer” and a “Gameplay Engineer?”

I was reading some job descriptions from some AAA developers in the gaming industry, and I noticed there were jobs for "Gameplay Programmers" as well as "Gameplay Engineers." Are those the same ...
4
votes
4answers
312 views

Networking gampeplay - Sending controller inputs vs. sending game actions

I'm reading about techniques for implementing game networking. Some of the resources i've read state that it is a common practice (at least for some games) to send the actual controller input across ...
0
votes
1answer
93 views

Displaying performance data per engine subsystem

Our game (Android based) traces how long it takes to do the world logic updates, and how long it takes to a render a frame to the device screen. These traces are collected every frame, and displayed ...
4
votes
1answer
143 views

Time critical events based on framerate

Problem Description Basically, I've made a "programming game" in which I've made my own scripting language. It is a completely standard Lunar Lander game, though instead of directly controlling the ...
-2
votes
2answers
464 views

Newbie game programmer - Where do I start? [closed]

Okay, so I have been really inclined towards game programming this past few weeks. I have primarily been a web programmer and know a fair number of lanugages like PHP, Java, javascript, python, etc. I ...
-1
votes
2answers
135 views

What libraries and tools does LISP have that's usefull for games? [closed]

LISP is my favorite language and i don't wanna use c++ or any other language, but i don't know if there are much support for tools for game making, and i cant find much on the internet, anyone care to ...
14
votes
2answers
1k views

Best way to gain C++ working experience for a job in games (coming from C#) [closed]

I am a software developer, experienced with C# (5 years experience) alongside a few other languages. My "dream job" is working in video games as a developer. Most jobs require knowledge of C++, ...
2
votes
1answer
165 views

Implementing a wait function in a game script

I have been implementing behavior for enemies in my game and so far I have been doing it sort of like below: public void update() { if (frame > 60 && frame % 30 == 0) { ...
15
votes
5answers
1k views

How do I implement a programming system in my game that is both accessible, powerful, and fast to code in?

I'm currently working on a space-based sandbox game which will heavily feature the ability to custom program your systems. I want to implement this in a way that is both accessible, powerful (bare ...
5
votes
1answer
668 views

What underlying character stats would you put into your “character” object in an RPG engine

basically I'm making my own RPG/TBS engine named Uruk (making an rpg themed about the epic of gilgamesh) and I am thinking of a combat system similar to the Disgaea franchise or the Super Robot Wars ...
-2
votes
1answer
304 views

How to start graphics programming? [closed]

I'm trying to find a complete guide for OpenGL programming but all i can found is some blogs with non-finished lessons and old books. I don't want to just make a game, i want to develop my own game ...
2
votes
2answers
120 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 ...
14
votes
4answers
1k 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 ...
-1
votes
2answers
122 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
315 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
80 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 ...
4
votes
1answer
194 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 ...
4
votes
2answers
154 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
102 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 ...
8
votes
5answers
550 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
439 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
106 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 ...
0
votes
1answer
78 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
814 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 ...