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

Making a sound every time I get to the edge of the platform

I'm trying to make a runner game for the blind, and I need help making a sound every time it is time to jump. I am using Game Maker, and I have no idea how to do it. How do I play a sound when my ...
1
vote
0answers
70 views

Ive created a learning plan for myself - would someone recheck it for me? [closed]

Ill try to keep this short: Currently im certified unfit for work, and this state will last about a year. I want to start creating video games. I worked as junior software developer in java about 3 ...
1
vote
0answers
34 views

Trying to create a UE4 blueprint or script to recognize set shapes

I'm currently developing an indie game using Unreal Engine 4 and I've stopped developing it within the last week because I have hit a massive roadblock.. I am trying to figure out how to create a ...
0
votes
0answers
24 views

How do I generate concatenated looped edges from a tilemap

I have been looking for a place to ask this question. I hope I've found the right boards. If not I'm sorry, I would appreciate any advice on where to ask this :) My Problem: I'm working on a C++ ...
1
vote
1answer
30 views

Getting player cube to move left or right in relation to camera based on camera's rotation

Right now I'm trying to make the player cube move left, right, up and down in relation to the camera's rotation and position. I figured what I could do is create an empty game object, make the main ...
0
votes
0answers
23 views

How can I calculate a corrected oblique clipping matrix?

This problem has been eating at me for a little while now, and it's extremely frustrating. Unity calculates culling matrices incorrectly. From the matrix, it seems to generate the actual occlusion ...
0
votes
1answer
25 views

Non-existent instance in Game Maker

I'm currently trying to make the fire object (created by the fireball) stick to the enemy, by specifying the enemy type and its id. I'm getting the following error: "Unable to find any instance for ...
0
votes
1answer
27 views

Recognize that user has traced a path of vector points with mouse

How can I check if a player has traced a closed vector shape from an arbitrary starting point all the way around to the beginning? Setup Given are the vector points A through E, which form a closed ...
0
votes
1answer
73 views

Help with this enemy kill code [closed]

I'm trying to make an enemy for my game, and everything works, except for the bit of code where the enemy is supposed to die. My player attacks but nothing happens. I filled in the prefabs, I have ...
0
votes
1answer
25 views

Game Maker (and others): what data type is colour and how can I compare them?

In Game Maker, and I imagine other engines, one can "make colour" by defining either the red-green-blue values of the colour or its hue-value-saturation. I want to create a program that can compare ...
3
votes
2answers
190 views

What do I need to consider before making any class singleton? [closed]

I am sure most of my classes like for rendering text, sprite, shapes are not going to need more than one instance. Is it adequate to consider only this fact that its only going to need one instance? ...
1
vote
2answers
77 views

LibGDX - Image width is not set to resetting to zero when full width

I am making a progress bar for showing the players current experience. However I have come around to a bug, which appears when the player is maxing out his experience and then is getting a new level. ...
0
votes
0answers
31 views

rendering technic for water in pipeline game

For fun I want to clone a waterpipe game, where the player places pipe pices on a gridfield and after some seconds water starts flowing from the start, through all places pipes and hopely reaches the ...
0
votes
1answer
35 views

Quantity of dropped/spawned items in container

I'm having trouble figuring out how to spawn more than one item in to a container with a weight limit. What I'm having trouble with is the understanding, rather than what statements to write; My ...
0
votes
0answers
32 views

Finding the intersection of a plane and a ray

There are many formulas to check a ray against an unbounded (infinite) plane. Is there any way to quickly check if a ray goes through a bounded plane (i.e. a surface)? I currently have a plane ...
0
votes
1answer
59 views

Sticking things to Walls in 3D

I'm trying to leave the second dimension and finally make a 3d game, but I'm having a hard time coming up with a way to implement a certain concept. I am trying to make a flat object which would "...
0
votes
1answer
26 views

How to rotate a surface in pygame, without changing its shape

I'm writing a class in pygame to create a sprite object, and I'd like to be able to rotate it. It works fine with an image, and rotates without issue. But when rotating a surface with a plain colour, ...
0
votes
0answers
38 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 ...
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
2answers
66 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
57 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
59 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
76 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
61 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
80 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
54 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
114 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 ...
26
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
71 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
77 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
55 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
125 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
25 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
190 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
139 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
62 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
307 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
49 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
125 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
66 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
19 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
96 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 ...
15
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
246 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
47 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
73 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
72 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
79 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 ...