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

For Indie Developers should abstraction or development speed be prioritized? [on hold]

As an indie development team/business with no projects released and therefore no income, should abstraction or development speed be prioritized? This question assumes the following: This is the ...
-5
votes
0answers
44 views

Which Language to Learn to Start Game Development [closed]

I'm thinking about starting career in Game Development, which programming language should I learn and on which game engine. I like 2d Games
-1
votes
0answers
36 views

Is it possible a programmer learn to model? [closed]

I'm graduating in Digital Games here in my country. I'm programmer cause that is easier for me since the beginning. But always liked modeling and animation. Arts requires a lot of time of dedication ...
1
vote
1answer
88 views

Android OpenGL Sprite Component Pattern

Ok so I have a 2D OpenGL project that was originally a class assignment, and now I am using it to experiment with and to broaden my knowledge. Originally, I had been using the Normalized Devices ...
2
votes
0answers
55 views

Masters in Computers Science OR Game Design and Development? [closed]

Hey guys so I've been very confused on what path to take in terms of education. I'm a soon to be computer science graduate with a BS in Computer Programming. My hope is to one day land a job in the ...
2
votes
0answers
29 views

Where can a game developer/programmer get freelance jobs? [closed]

I'm a game programmer looking for freelance jobs online. I know that there are lots of sites for freelance jobs, but I haven't been lucky with them, I was wondering, which sites are the best for ...
2
votes
1answer
103 views

How do i implement a hit box system in a fighting game?

In a fighting game a move that you execute is basically just a series of hit boxes that are enabled and disabled at certain times. I want to know how do you create this hit box system. I have no idea ...
0
votes
1answer
66 views

Do I need to use a game engine to make a simple game function on other platforms? [closed]

I'm a complete beginner really enjoying learning how to code (currently in Python) and my first games will be very simple, mostly text based, but I'd like them to run on friends' phones and computers ...
0
votes
0answers
11 views

What software technologies was Demon Souls built on?

I am wondering about Demon Souls as a case study. I realize that they utilized the Havok engine, and I would like to gain an increased awareness about other aspects of its development. What ...
0
votes
2answers
38 views

Single player game into Multiplayer game(Not online) [closed]

How difficult is it to do this?(Like, do you need to so skilled that you aswell might have created the game yourself) Do you need to change a lot of the code? For example, if I have a single player ...
3
votes
2answers
100 views

Designing ability interaction system

I am making a turn based game where player chooses a team of heroes with specific abilities for each of them. (ex. stun one enemy, deal 20 damage to all enemies, heal 10 HP to one ally,...) The design ...
-1
votes
1answer
31 views

Unity List spawner problem ? C#

I have four spawners in my scene that spawns four enemies. My problem is when I try to add game objects to the list it works but only for one spawner. My code if (Score.levelNum >=2 ){ ...
5
votes
2answers
950 views

AI multithreading [closed]

MMO game. ~5000 (fake) players should be controlled by the server. Many of them have different classes -> different behavior. They should make some random pauses while doing some actions (~500-1500 ...
-2
votes
1answer
49 views

How do I find and change a value of ALL the instance around another instance GAME MAKER

I basically need that, changing a variable of all the instance (all of the same object) around another instance (another, or the same object). I have tried with collision_rectangle but it doesn't ...
3
votes
1answer
222 views

What language do you program in Lumberyard?

I've looked through the FAQ on amazons site and all they mention is C++/Lua for the web service stuff. Can i assume it's C++ for the game content itself or something else (the visual script editor ...
1
vote
1answer
69 views

What exactly is a 'set of states'?

Whilst looking into game-oriented applications of programming patterns I discovered a question on this site which suggests that a 'set of states' is superior to a 'stack of states' but does not ...
1
vote
1answer
82 views

Implementing time step in main game loop

So ive read both http://gameprogrammingpatterns.com/game-loop.html and http://gafferongames.com/game-physics/fix-your-timestep/ and I kind of understand how I'm supposed to do it, but some parts are ...
1
vote
0answers
54 views

Which programming language should I start with in game dev? [closed]

I am a front end web developer and I've always been interested in building games. I work primarily with HTML, CSS, PHP, and JavaScript on a daily basis, so I'm not new to coding. I would like to ...
-1
votes
1answer
61 views

At which school levels do you learn to make games form scratch? [closed]

By which "school levels" I mean: high school, college etc.... So, I've just choose a high school in Sweden which has a game programming line. I read some on their webpage and what you will learn ...
1
vote
0answers
31 views

Help for structuring classes [closed]

I am creating a platformer game with some card base fighting. I was thinking about how should I structure my classes? There are 2 types of cards i.e. Continuous effect and 1 time effect. Also, they ...
1
vote
0answers
40 views

Picking college degree (want to be games programmer) [closed]

Alright, so I know there's plenty of questions that have to do with college degrees on this site, but I don't feel that any of them really answer my question. I recently got accepted into Northeastern ...
1
vote
3answers
102 views

Ways to track time and character ages across many years of game time?

I'm working on a system to track large numbers of characters across long periods of time. Characters grow old and die, give birth to new characters, etc. It's a grand-strategy game, with warring ...
-2
votes
1answer
62 views

Can someone help me with this Game Maker code

I want to make a little platformer. I watched Shaun Spalding's tutorial but nothing seems to work. Everything was fine until I put in the collision detection. But the player can't move while he's on ...
5
votes
2answers
137 views

Decoupling input from game states / entity behavior

I'm looking for a way or general best practice advices for decoupling the architecture of my game, in the example below the input from the current game state workflow / entity behavior. While I'm all ...
-1
votes
1answer
51 views

Unity3D 5 Personal? [duplicate]

I want to make a game in Unity3D and I am planning to launch it to Android using the free license. However, if the game becomes a huge success and earns more than $100k, does (a) unity take the money ...
-1
votes
1answer
52 views

Quite conflicted on advice given to “learn programming” for game development. [closed]

I have been reading a few sources online that talk about learning programming with the end goal of game development in mind. I have heard many people saying that starting with Unity is the best way to ...
-1
votes
1answer
53 views

How are pocket dimensions created in multiplayer games? (programming aspect) [closed]

How do multiplayer games deal with multiple instances/dungeons/regions? I'm familiar with server clustering which is what larger games use such as Eve and World of Warcraft. How do games such as ...
0
votes
1answer
115 views

Good Resources for Random World Generation [closed]

Is there a good reference or tutorials available for adding world generation into a 2D game? I've gotten to the point where I have most of the resources available to add world generation but I don't ...
4
votes
1answer
103 views

In a 2D multiplayer game should I send the position of user to the server all the time? [duplicate]

In a 2D game where the user moves with the keyboard arrows, should the user send all the time he moves his position (x, y)?. If the user has some speed, the user would send (x, y) like 50 times ...
0
votes
0answers
39 views

Problem with Collision Detection

So I am adding collision detection into my game but whenever I start the game I get a rendering crash saying that there is a 'Game.update() failure - check the game code.' I have repeatedly tried to ...
0
votes
1answer
53 views

My game has messed up layouts!

Earlier, I asked this question: Landscape mode for game? Where I had a directory for each and every layout, but the layout in the layout-land directory wasn't showing up when positioning my layout in ...
1
vote
1answer
43 views

Error When Loading a .tmx TILED map through the TiledMap class

So I made a map using the TILED application and I have it as a .tmx for reasons, but whenever I use the TildMap class in the Slick2D library to render the map on the screen, it gives me an error. Here ...
0
votes
1answer
76 views

Is It Better To Generate A Pre-Generated Map or A Randomly Generated Map When Using Tile Properties? [closed]

So I am contemplating whether or not to add a Pre-Generated Map or a randomly generated map into my game. But I also need to add Tile properties into the map (i.e. so that water tiles aren't being ...
1
vote
2answers
127 views

How to make a “Camera” in Java

I need some help with getting my camera to work in java for a game that I am making. The problem is is that I've never made a camera in a game before and this is my first time trying to make one in a ...
1
vote
3answers
229 views

Can't parent the standard FPSController during gameplay

I'm parenting the standard assets FPS controller during play with a simple script. The controller get's parented but also instantly inherits the rotation of the parent. This doesn't happen in Editor ...
0
votes
1answer
42 views

Stopping Animations For Player In Java Using Slick2D

I have a problem with stopping animations for a player in Slick2D. I have tried many solutions to the problem and have looked up a couple of resources but I am still stumped by the fact that it is not ...
4
votes
1answer
63 views

What is an OO way for my input layer to act upon objects?

I'm building a top-down RPG specifically to practice Object Oriented thinking and design. I am keeping in mind coupling, single-responsibility, and so forth. One design issue that's been bugging me is ...
0
votes
2answers
84 views

Trying to use yield to wait for a few seconds to avoid the sounds from Interfering with each other

Ok so when my player hits a wall (Enemy tag). My player is destroyed after a certain amount of time. During this time, I disabled the mesh renderer on impact so it "appears" as if the player is ...
1
vote
1answer
100 views

Confused about this Timer function C++

I am confused about the argument "m" of this function. I also need to know how to make this work. I am working on a simple 2d game and I am really new to programming. I don't know how to make things ...
0
votes
2answers
93 views

Progress bar for EXP in javascript

So I am making an incremental game with Javascript, HTML5, and CSS, I need to have this bar that is esentialy a div with a p element in it "fill up" as the player earns more points through sacrifice. ...
-1
votes
1answer
79 views

Repeat a bit of code? [closed]

I want to complete a task, which assigns the variable randomButton a value. At the end, I want to check the value of randomButton If it is something I don't like, I want to re do the task where I ...
1
vote
0answers
59 views

Game is responding very slowly?

I have a very simple app which removes buttons and re-adds buttons to certain layouts when a button is clicked. The problem is, this process is taking a very long time. My question is: How can I make ...
1
vote
2answers
122 views

Swap buttons in layout

Say I have 4 buttons. I want to have button 2 always swap out with another button, randomly. So, when the user taps button 2, it should swap with another button (randomly). Now, button 2 is at the ...
-1
votes
2answers
107 views

How to model an Attack( ) action? How to model combat? In general, how objects communicate?

I never understood how would you elegantly describe two people talking in OO. I think this question extends to how similar objects communicate in general. I am designing a game now and Units have to ...
1
vote
1answer
51 views

Is There A Self Uploading/Downloading Game Management Software? [closed]

I am currently not in the game development industry and develop my own games using GameMaker, but as a high school student I don't really have the time to make proper titles and actually make money ...
2
votes
1answer
37 views

Store and retrieve different objects on a tile

(I hope the title is clear enough, if not feel free to suggest a better one) I'm trying to make a simple tile-based map for a college project in Java. But I'm stuck on how to literally place things ...
0
votes
0answers
70 views

Does the sound need to be fixed?

Are there special requirements for audio for different devices? I have been stuck on this for around two days now, and would really appreciate all the help I can get. I have some audio in my code. ...
9
votes
0answers
301 views

Load ads in splash screen?

I have some ads that take a very long time to load. I was wondering it it is possible to have them load while the use was in the splash screen. I have looked at this answer: ...
3
votes
1answer
86 views

How to make “Shaky mouse cursor” Before shoot the target Like in a Dart Game?

I develop a shooting game. To make it harder I want to make the reticle shaky/move randomly. I use Robot class to move random as suggest here. But I modified it by adding an infinity loop and by ...
1
vote
1answer
238 views

Cocos2d Sprite 3D position

When I set a position3D for a Sprite in cocos2dx, it render two times the same sprite, i took a screenshot: I set the position3D because i want to use the Z position the give an effect of distance, ...