Computer programming is the process of designing, writing, testing, debugging, and maintaining the source code of computer programs.
-1
votes
1answer
113 views
How can i make monsters drop items when they are being killed [on hold]
I am making HTML 5 game with Javascript i am really new to programming,want to know how to make the enemies drop items after they are killed when the enemy dies i want the rectangle to represent an ...
0
votes
0answers
28 views
How could I go about creating a business simulation game for a class project? [on hold]
I can figure out the economical principles and mechanics that would be needed for a business simulation game - the game would focus on resource management in terms of balancing the need for maximizing ...
-4
votes
0answers
29 views
How do you change the window caption in GameMaker Studio?
I am developing a game, but this is the one part that is'nt working for me
-1
votes
1answer
75 views
how to programming game for not native english? [on hold]
is computer can read english language? is computer do anything we order in code with english. where is library word for computer programming? i am not native english so i don't understand how code ...
0
votes
1answer
39 views
Need advice for what to do with my first game idea [duplicate]
My friends and I have this idea to make a game. None of us have much experience with programming. We think our idea is to big too accomplish. Should we present our idea to an indie company that can ...
1
vote
0answers
40 views
How to implement mutable functionality at runtime?
I am making a game in which the player character can gain traits that change how their character behaves in my world model or add functionality to it. For example, the character might gain the "...
0
votes
1answer
86 views
Turn a single player game into multiplayer game
hobbyist / indie dev here and I was wondering about network programming and making a game capable of multiplayer.
So basically I just haven't touched on network programming yet and really don't know ...
3
votes
1answer
104 views
How can I move and rotate an object in an “infinity” or “figure 8” trajectory?
I know that the easiest way to move an object with the figure 8 trajectory is:
x = cos(t);
y = sin(2*t) / 2;
but I just don't know how to rotate it, lets says with a new variable r as rotation, how ...
-1
votes
1answer
81 views
How can you procedurally dismember a character model? [duplicate]
For example in the new Doom, you can use a chain saw and slash an enemy apart, the enemy actually splits in half in the path of the chain saw. I know how to do the cheap effects where you store a copy ...
0
votes
0answers
40 views
Smoothing Voxel Terrains
As part of a unity project, I am trying to make a voxel terrain system. I want the voxel data be able to form smooth terrains, rather than blocky Minecraft ones. I have looked at examples like ...
0
votes
1answer
25 views
Random numbers inside instance (Game Maker)
I've recently run into a weird problem. When I create instances through with(instance_create){ ... }, I can always randomize their variables individually (inside {...}). However, when I try running
...
0
votes
1answer
62 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
82 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
38 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
32 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
36 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
30 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
37 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
28 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
75 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
32 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
193 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
83 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
35 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
37 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
45 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
69 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
57 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
111 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
58 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
62 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
81 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
66 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
85 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
56 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
72 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
124 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
10k 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
73 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
97 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
64 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
141 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
282 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
151 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
63 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
406 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
50 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 ...