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
22 views

Python 3.4.3 + PyGame Hit Detection w/Rectangle & Circle [on hold]

Collision VIA. Rectangle & Circle Alright, so I'm trying to take the ship and make collision to the meteor using circle to rectangle collision. I'm new to Python and overall programming so I ...
-2
votes
0answers
46 views

approach for Indie game development [on hold]

I really want to develop indie games. I have beginner's programming skills. I am learning c# also. But how do i approach game development? What should i learn more ? Which books can help me to be a ...
1
vote
1answer
57 views

What does cache mean? [closed]

I'm kinda new to the programming scene. I'm still a high school student but I want to be a game designer so I'm studying independently before I graduate to get an edge. The issue with this is that ...
121
votes
17answers
63k views

What math should all game programmers know? [closed]

Simple enough question: What math should all game programmers have a firm grasp of in order to be successful? I'm not specifically talking about rendering math or anything in the niche areas of game ...
6
votes
2answers
3k views

Unity: how to apply programmatical changes to the Terrain SplatPrototype?

I have a script to which I add a Terrain object (I drag and drop the terrain in the public Terrain field). The Terrain is already setup in Unity to have 2 PaintTextures: 1 is a Square (set up with a ...
-1
votes
0answers
27 views

Can I develop games like flappy birds or super mario using C language only? [duplicate]

I'm a second year student pursuing B.Tech in Computer Science. So, as a minor project I have to program a game using C only. I have heard of people discussing about the games like flappy birds and ...
3
votes
3answers
11k views

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

I can't figure out how to tell if a GameObject is currently colliding with another in Unity. I've looked online and can't find any tutorials or answers that work. Also, what's the difference between ...
0
votes
3answers
133 views

Programmer career roadmap [closed]

this is my first post on this SE, and I have noticed the large numbers of closed/downvoted career-related questions, so I will try to ask in a fashion most gingerly. What would the career roadmap for ...
5
votes
2answers
646 views

Visual Programming tool for creating game quests

I've found a question for visual script editing software tool for creating game behavior logic, but I am looking for something more flexible. I would like to configure the tool to make it produce code ...
0
votes
1answer
26 views

XNA C# Texture Atlases

Fairly new to XNA and not an expert on C# either. So I was following a tutorial, specifically this one http://rbwhitaker.wikidot.com/texture-atlases-1, and there is a bit of code I am unfamiliar with. ...
0
votes
1answer
79 views

Help with scoring system and score multiplier

I am new to the scripting world and I am currently trying to add a score multiplier to the game code I am working on. Right now the score is set to increase as the player runs across the level however ...
2
votes
2answers
122 views

How did Blizzard implement replay like in Warcraft 3 with not consistent data(attack damage)? [closed]

Units in wc3 has range of attack damage and it isn't consistent most of the time e.g critical hit and so on. Yet, they managed to make a replay that could even reconstruct bugs scene. I am just ...
4
votes
1answer
6k views

why is Lua so important ( frequently used ) in game development [duplicate]

I have written some small games for fun myself, but never used Lua myself. I have seen people discussing Lua's use in games everywhere. The question is: What benefit can I get from using Lua in game ...
2
votes
0answers
68 views

Rotating a 3rd person camera toward a target

I have a 3rd person camera that doesn't look directly at the player but somewhere in front of him. When the user enter shooting mode, I want the camera to turn around the player to face the target. ...
3
votes
1answer
373 views

What are some great papers/publications relating to game programming? [closed]

What are some of your favorite papers and publications that closely relate to game programming? I'm particularly looking for examples that are well-written and illustrated, and/or have had a profound ...
0
votes
1answer
64 views

How does one write a wrapper for a game server? [closed]

From what I gathered, wrappers mimic the game server in question, receiving packets from client and sending them to the server (and vice versa). It acts like a bridge between the client and server, ...
0
votes
2answers
52 views

Custom key binding/mapping

Currently I am starting to develop my first serious game. Before the games are all training, and learning how to do things in a good way. Unfortunatly, I've missed a big part in my preparation: Key ...
-1
votes
1answer
123 views

Are there places in the gaming industry for people who are artistic and programmers? [closed]

Are there jobs, where you can switch from project to project between artistic roles (like sprite animations, concept art, visual development or even sound design) and programming roles?
2
votes
2answers
1k 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 ...
15
votes
4answers
2k 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 ...
0
votes
0answers
53 views

Gravity around a sphere with rotation? (Blitz 3D)

I've been making this space/moon type FPS game with Blitz 3D and I can't seem to get gravity working perfectly. Right now, it works, however when I go farther on the moon, I see that my character is ...
0
votes
2answers
298 views

Recommended approach for event system in Java

What are the recommended approaches for an event system of a turn-based RPG's battle engine? The system I'm currently working on has a runEvent method that sorts the actions queue based on their ...
0
votes
2answers
135 views

Why it’s recommended to keep global variable initialization and the objects’ constructors very simple (C++)? [closed]

Considering game-development? I have this question in a gamedev quiz and I wonder what to answer. Any clues?
1
vote
0answers
100 views

How do I make a Minecraft recipe that costs XP?

I want to program a Minecraft client-mod or server-plugin that adds a recipe for making a Bottle o' Enchanting with the following ingredients: 1 glass bottle + 1 lvl of experience → 1 Bottle o' ...
-1
votes
2answers
205 views

Aspiring game dev - Is HTML5 worth it? [closed]

I'm a college student who is fairly familiar with JS & PHP and have made a couple web apps for my previous job. I'm looking into working with Unity for my future game projects, but there is a bit ...
1
vote
1answer
78 views

How to to convert UV coordinates to texel coordinates and how to convert texel coordinates to “array coordinates”?

I am currently writing a UV texture mapper. But i don't know how to convert UV coordinates to texel coordinates. And i also have no idea how i should convert texel coordinates to "array ...
1
vote
0answers
176 views

A problem with collision when a sprite changes size (Phaser framework) [closed]

I have a sprite in my game that changes size at certain points in the game. It changes size via the sprite.body.setSize method. Unfortunately, it seems that the sprite is unaffected by objects that it ...
2
votes
0answers
87 views

NegaScout with Zobrist Transposition Tables in Chess

I'm trying to put Transposition tables into my alpha beta scout. I do see an incremental speed boost I think toward mid or late game, however, even with a table size of 1-2GB, its may or may not be ...
3
votes
1answer
154 views

Generate planet like heightmaps

I would like to procedurally generate planets, but I don't know how to wrap a heightmap around a sphere. I already know how to generate plane heightmaps, but not how to generate spherical ones. Can ...
0
votes
1answer
32 views

Are there such things as online development projects? [closed]

I would like to practice a bit as a programmer in the gaming field but know of no one making games in my proximity. I was wondering if there is an online community or something where people look for ...
-5
votes
1answer
106 views

Questions about game programmers for School project [closed]

My name i Magnus. I was hoping that some of you, could help me answer som questions, about game development and the game industry. It wille be used for a project about our future, that all 10. graders ...
80
votes
10answers
4k views

What can I do to make sure that I have the energy to work on my game while working full-time? [closed]

I work as a software engineer 40+ hours a week and I find that between balancing my personal life and family responsibilities that I have literally no energy to work on game development. What can I ...
1
vote
1answer
131 views

Andengine onAreaTouched TouchEvent not working - ACTION_OUTSIDE & ACTION_CANCEL

I have a simple problem. I have a button on the screen. I want isActionDown to push the button down, and isActionUp to push the button back up again and make my character jump. But the problem is if I ...
6
votes
1answer
1k views

How to profile CPU and GPU performance if I have a monster PC?

I'm going to upgrade my PC soon. I'm worried that I will no longer spot performance losses in my game because of the better specs. I can check memory usage easily, but how do I check and debug CPU ...
1
vote
1answer
70 views

Stat Multipliers: from Base Value or Iterative

I'm aware similar questions have been asked before but this time I'm asking about a specific issue with the maths of stat modifiers. I have a stat system that applies a list of modifiers to a stat, ...
0
votes
1answer
70 views

Gravity: Slow down on ground approach

I'm looking for some math, nothing language dependant. "Standard" gravity for a character in a 2D game would go something like this: if player.y > ground.y { player.velocity.y = ...
-1
votes
2answers
996 views

Changing a Sprite When Hit in GameMaker

I am making a simple little Galaga style game. I want the objects sprite to change whenever it is hit. For example if a laser hits an alien then the sprite takes 1 out of 4 damage to its health ...
1
vote
2answers
698 views

What's the best phone for game development? [closed]

Yeah yeah I know, best is probably a bad way to phrase this. But I need some pros and cons. I need a new phone and if I'm going to get a smartphone and pay all that money, I better get one that I can ...
229
votes
28answers
64k views

What are good games to “earn your wings” with? [closed]

I believe that in order to become a good game developer, you need to make games. From a programmer's perspective, what are some good entry level games to get your hands dirty? What skills and ...
2
votes
3answers
922 views

Beginners' Guide to Development

So I have some experience programming in Java, and at the moment I am learning how to use Python. I have read on the process of game design and such. I also have media covered, got experience with ...
-2
votes
3answers
1k views

What language for Indie dev? [closed]

What would be a easy/fast language that would be good for an Indie developer for a FPS? Java? C#? C++? C? Anything else that would be good? Edit: (Platforms: Linux, Mac, Windows)
1
vote
0answers
156 views

How to write a global GameState manager for a game in Java [closed]

My implementation is written in Java: public class GameState { public static String state = ""; public static void setState(String state) { GameState.state = state; } ...
2
votes
1answer
2k views

Game development with D programming language [closed]

I have recently found out about D programming language and its basic features. It seems D is quite powerful alternative for C++ and more effective at some points. Also D can interface to C, but ...
8
votes
4answers
4k views

What are some good resources for creating a game engine in XNA? [closed]

I'm currently a student game programmer working on an indie project. We have a team of eleven people (five programmers, four artists, and two audio designers) aboard, all working hard to help design ...
-2
votes
1answer
5k views

Where can I find a programmer/game developer to team up with? [closed]

I'm a pixel artist looking for an ametuer programmer/game developer to team up with, But I'm not sure where to start! I'm not particularly worried about profit, I'm only interested in making the game ...
2
votes
1answer
1k views

How can I access a script variable from another script in Unity?

I'm creating a space shooter (think Space Invaders or Galaga) where the GameManager persists between scenes but the player and enemies don't. I need to access a boolean value from the player and ...
0
votes
1answer
79 views

Possible to create 3-D or accelerated graphics on Windows using your own library/API?

Say I want to come up with a way to replace what OpenGL and DirectX specifications do: communicate with GPU to get some functions done that help hardware-acceleration and rapid drawing of screen data. ...
10
votes
2answers
6k 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?
6
votes
1answer
7k views

Clickable hex grid in c#.net

I want to create a Windows Form-based adventure game where the player clicks a hex on a static map to bring up their next encounter. I have the map already and plan to scan it and convert it to a .bmp ...
0
votes
1answer
138 views

Get Facebook Picture in Cocos2d-iphone V3

I'm trying to get the profile picture from Facebook, but I'm getting the following error: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImage ...