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

Getting my 2D follower to double jump :L

Ok so here is the current situation, I am essentially trying to get my player's follower to double jump after he jumped. I've successfully got my follower to jump at edges but not so much for double ...
0
votes
0answers
23 views

Robot Arm Simulation in Unity3D

A friend of mine is having a trouble when he needs to rotate the robot arm simulation he's working on, the robot can already grab stuff with its hands however seems like sometimes randomly crashes ...
9
votes
8answers
2k views

Introduction to game engines for children [closed]

My friend's 10 years old kid is very interested in programming and video game development. The little guy has already finished CodinGame, so I directed him to other learning games I know of in the ...
0
votes
1answer
39 views

Using Unity as a front-end GUI for a non-unity application?

I'm working on a game right now that is 2D, and grid based, and for a variety of reasons have decided making it in Unity wouldn't be worth the hassle I'd have fighting the engine. That said, I want ...
1
vote
1answer
47 views

Unity - protect MonoBehaviour-derived classes from instantiating via new in C#

When the class hierarchy grows and you deal with a lot of custom types in your project, it sometimes becomes hard to remember which types are allowed to be created via new and which types are derived ...
1
vote
1answer
57 views

How can I give the mouse position to my GameObject nicely?

I am making a basic Asteroids game in SFML, and I want the Player ship to always look at the mouse. I have a LookAt(x,y) function which works, but I am not sure how to get the mouse position from the ...
1
vote
1answer
68 views

Where do i start with game development when i'm terrible at art and 3d modelling? [closed]

I've wanted to try and make my own game for a while now but i'm i'm terrible at art, textures and 3D modelling but i want to learn it so has anyone got any pointers to get started with the whole ...
0
votes
3answers
58 views

How are the same items generated with slightly different attributes?

Consider games like Destiny. How do they generate weapons that have the same skins and names, but different attributes? Two people can have the same weapon or armor piece, but have different ...
2
votes
0answers
73 views

Learning to think like a programmer [closed]

I'm pretty interested in game development and I've tried a couple of platforms and languages. Including libgdx and game maker studio, all without any real success. I'm currently using unity and it's ...
1
vote
1answer
52 views

Process of Game Updates/Patches

I am currently in school studying game design and programming and I am wondering, simply: How are games updated? Whenever I create simple, little programs, if I change anything, essentially the ...
1
vote
1answer
71 views

Decide whether bot is approaching or leaving

Consider a static obstacle placed in 3 Dimensional coordinate plane. A moving bot is programmed to pass through it. We know the position of obstacle. We also know the current position and current ...
1
vote
1answer
106 views

Why are games using interpreted languages instead of compiling code into libraries and calling them at runtime?

Say I want to include a game mechanic where players are invited to code up some algorithm to control robots which would defeat the enemy and protect the tower efficiently. Most games I've seen to ...
25
votes
6answers
9k views

Programming Inside a Game

There are some games which allow the player to write/create scripts in-game, for example: Space engineers or Psi. I want to use something similar to either one,but I've had a hard time finding ...
0
votes
1answer
66 views

C++ Independent Objects?

before I started C++ I digged around in ActionScript3 for a while. The first thing I've noticed is that you apparently have to call all your objects/game-characters individually and tell them to ...
0
votes
1answer
59 views

Unity in c# errors with “the type does not contain a constructor that takes 0 arguments” [closed]

This is the problematic line datosAguardar datos = new datosAguardar (); Here is my code public class estadoJuego : MonoBehaviour { public int puntuacionMaxima = 0; public static estadoJuego ...
0
votes
0answers
41 views

How would I P2P synchronize a tower defense?

I have a TD game I'm making, and it currently has dedicated servers and user account systems. However, I want to incorporate a matchmaking system into the game, like Bloons TD Battles, and I'm not ...
1
vote
2answers
105 views

3D on GBA, how was it done?

I've been wondering, how did game programmers make this: https://youtu.be/S6huq2G43Ls?t=4368 possible? There seems to be some odd morphing of textures when you walk by objects, and the textures are ...
1
vote
0answers
23 views

Vehicle audio recording [closed]

So I red an article on "The sound effect" website about recording the audio of a vehicle. I'm planning on making a race game in the future and I'm having a little concern about the sound of the ...
1
vote
1answer
105 views

Why does my custom network Manager disable the main one

Whenever I add a custom Network Manager to add functionality to and override it's functions, the main NetworkManager got disabled so I could not see the NetworkManager HUD or start matches. It there a ...
0
votes
2answers
130 views

What's the difference between Gameplay Programming and Graphic Programming?

I know the answers are obvious, someone told me this: Graphics Programming: DirextX, OpenGL, etc. Gameplay Programming: Bringing everything together. From design, music, levels, etc. But may you ...
0
votes
1answer
61 views

Game Website Wrapper

I am looking to make a simple program (in any language) then when you run the .exe the only thing it does is display a website (the whole website is my game) without any navigation buttons as they are ...
-6
votes
3answers
230 views

Are AAA games still made with programming languages?

I've been interested in how AAA games are made recently.I looked up how Fallout 4, one of my favourite games, was made. It turns out bethesda games uses a drag-and-drop style engine with maybe a ...
0
votes
2answers
47 views

What is wrong with my Item collection/Itemcounter Script [closed]

So I am making a script for item collection and a counter for it. I have a script made but for some odd reason I can't seem to the get the GUI part right. The compiler error says something like "This ...
0
votes
1answer
121 views

How could I implement programming as a mechanic?

I am wondering how I could manage to execute programs made by players in my game via some sort of in-game computer. I have been trying to figure it out but I have no idea how it is even possible. ...
1
vote
0answers
50 views

Game Maker Studio: How to make Player Circular Movement

I want to make a player move in circular but not that he move automatic but manual. Similar like in the game Zero Refelx.
0
votes
1answer
17 views

Asset Library Class or passing Asset's through constructors

I am at the point of designing UI-Logic and I was wondering what a good way to pass asset information to these objects would be. What I was trying as of yet was passing assets to the objects ...
6
votes
2answers
2k views

How likely will I be able to get a job in game design with a masters in computer programming? [closed]

I'm currently attending college and am almost finish with my Bachelors in Computers science.I plan on getting my masters in computer programming in hopes that it will help me get into game design. If ...
0
votes
1answer
89 views

How does code translate to graphics? [closed]

I know this is kind of a basic question, but I'm trying to create my own game from scratch and really don't understand this. How does the code of a videogame program certain pixels to be certain ...
16
votes
6answers
7k views

How do videogames store information offscreen?

I'm trying to make a videogame from scratch, but I'm really new to this and keep running into basic issues. Most importantly, how do videogames store offscreen information? What I mean is, how does ...
0
votes
1answer
146 views

Is it possible to embed a chatbot AI in a game?

Is it possible to embed the AI used in evie cleverbot into a game? For example GTA5 or Sims, to enabe conversations and mood that is if you type something and the game characters will react to what ...
1
vote
0answers
42 views

Multiplayer game for iOS

I am planning to make a multiplayer 3d game using server-client model, which is similar to Marvel Champion Fight. Is there anyone who knows how to set up server, which stores information of all ...
1
vote
0answers
58 views

Game logic implemented using TPL / async / await, and performance of it

I'm working on a game, and as a typical game (here using Monogame) it uses frame based approach, where all logic happens in Update() method called every frame. As a consequence, any sequential logic ...
0
votes
1answer
65 views

How can I get all components of a type from a List with mixed components?

I have a list of GameObjects. Half of these GameObjects have Component1, and the other half have Component2. I want to get all of Component1 from the list. So an example of my list: var list = new ...
-1
votes
1answer
71 views

What properties should be private, public, and protected? [closed]

I'm currently trying to write a base player class, and I'm not exactly sure what I should make private, and what I should make public. I know that as a programmer, I need to keep as many variables as ...
-3
votes
1answer
108 views

MMORPG networkconnection like Vindictus [closed]

to be honest, I like to make "small" MMORPG with my frends. We are 4 guys and are using Unity3D and Blender. I am a Programmer and I am using Eclipse. I know, it's silly to start a Question like "How ...
3
votes
0answers
69 views

How can I bundle assets into an executable from my game-maker-like editor?

I am attempting to implement a simple "game-maker" solution. I'm working with Visual Stsudio, in C#, using MonoGame. I'd like the games my editor creates to be stand-alone executables, with their art ...
59
votes
6answers
15k views

How do bullets work in video games?

I came across this question when I was designing a video game in C#. If we consider games such as Battlefield or Call of Duty, hundreds or even thousands of bullets are flying at the same time. ...
0
votes
2answers
93 views

Need some advice on how to decide where to implement my enemy behaviours

I'm in the middle of writing a platformer game in Unity using C#. I have my character, if he presses the kick button his state switches to kicking. During this "kicking" state the character doesn't ...
2
votes
1answer
174 views

How to code a multi level isometric map?

I have already worked with isometric grids in the past, but in my current project I found an issue I am not sure on how to solve. I am trying to produce something similar to what's in the below screen:...
1
vote
1answer
217 views

Unity using Animation and Ragdoll

The question is simple, but I can't resolve it for a couple of days. I have an enemy model with ragdoll attached and also a couple of animations(e.g. idle, walk, run). It seems that ragdoll work only ...
11
votes
2answers
433 views

How do I avoid writing Manager classes?

I seem to keep reading it's a bad idea to use XxxManager style classes in game engine programming, yet even when I try to avoid their use I always end up with something that holds all the actors/...
0
votes
1answer
67 views

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

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 ...
1
vote
1answer
120 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
113 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
154 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 ...
4
votes
2answers
294 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
128 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
18 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
52 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 ...
1
vote
0answers
34 views

Using GLFX.js on a full HTML page

I have a friend who is developing a game for HTML, and wants me to implement GLFX into the site page. The problem is GLFX was designed specifically for use with the HTML5 Canvas, which he isn't using, ...