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
1answer
73 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 () ...
2
votes
2answers
247 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 ...
1
vote
0answers
92 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
58 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
114 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?
5
votes
1answer
613 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 ...
-1
votes
2answers
175 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 ...
49
votes
2answers
3k views

How can I get textures on edge of walls like in Super Metroid and Aquaria?

Games like Super Metroid and Aquaria present the terrain with the other facing parts having rocks and stuff while deeper behind them (i.e. underground) there's different detail or just black. I ...
1
vote
1answer
421 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 ...
9
votes
3answers
382 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 ...
12
votes
2answers
4k views

What programming language were PS1 games written in?

Is there any common language that is used to create Play Station 1 Games? Or how can I find out what programming language is used for one of those games?
0
votes
1answer
107 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
78 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
160 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 ...
0
votes
1answer
144 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
89 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 ...
30
votes
6answers
7k views

Multi-threaded game (engine) design resources?

What are the best resources on multi-threaded game or game engine design and development? As this is obviously where computers are headed, I intend to study this topic and I'd like to know what ...
3
votes
3answers
4k views

How do I tell if an object is currently colliding with another object?

I know this sounds simple, but I can't figure out how to tell if a GameObject is currently colliding with another object in Unity. I've looked online, but can't find any tutorials or answers that ...
0
votes
1answer
138 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 ...
17
votes
3answers
514 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 ...
4
votes
2answers
253 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 ...
4
votes
4answers
288 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 ...
2
votes
3answers
377 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
205 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 ...
6
votes
2answers
619 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
1answer
1k 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
358 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 ...
22
votes
4answers
2k views

Appropriate level of granularity for component-based architecture

I'm working on a game with a component-based architecture. An Entity owns a set of Component instances, each of which has a set of Slot instances with which to store, send, and receive values. Factory ...
35
votes
5answers
3k views

How to avoid the GameManager god object?

I just read an answer to a question about structuring game code. It made me wonder about the ubiquitous GameManager class, and how it often becomes an issue in a production environment. Let me ...
2
votes
1answer
127 views

Deep copying or cloning in actionscript 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 ...
1
vote
1answer
379 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
130 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
149 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 ...
11
votes
4answers
646 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 ...
0
votes
1answer
89 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 ...
2
votes
2answers
3k views

Arc'd jumping method?

Okay, so I'm making a platformer, and I wanna know how I can make a arc'd jump easily. Like what Mario does in super Mario Bros 1. Any ideas on a simple way to accomplish this?
4
votes
1answer
137 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 ...
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 ...
-2
votes
2answers
422 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 ...
14
votes
2answers
924 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++, ...
-1
votes
2answers
121 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 ...
10
votes
6answers
2k views

How much memory usage is too much in a Flash game?

I'm developing a Flash game, and I can appreciate that the memory usage is a little high for a Flash game (I think). Let's say 100+ MB. So how much is too much when talking about memory usage in ...
2
votes
1answer
142 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) { ...
-1
votes
2answers
119 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
1answer
269 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 ...
5
votes
5answers
3k views

Killer Game Programming [Java 3D] outdated?

I'm thinking of picking up the book Killer Game Programming by Andrew Davidson, but its pretty old now. I know Java, and I've been messing with jMonkeyEngine for a few days now, but I'm curious to see ...
2
votes
2answers
115 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 ...
-2
votes
4answers
300 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. ...