Greatest Hits

24
votes
6answers
122k views

What is the difference between an alpha and a beta release?

What is the difference between an alpha and a beta release? I'm surprised this question hasn't been asked here before.
106
votes
12answers
31k views

Why are people developing and publishing games online without charging money?

What's the incentive of sharing games one designs themselves for free online such as itch.io? I see people doing this and I don't understand.
117
58
votes
4answers
82k views

What is the proper way to handle data between scenes?

I am developing my first 2D game in Unity and I have come across what seems an important question. How do I handle data between scenes? There seems to be different answers to this: Someone mention ...
166
24
votes
2answers
206k views

How to merge two objects in Blender

What I've Done I created a Cube object with Subdivision Surface modifier in order to model a spehere. I created a cuboid object looking like a angled, longish baton. What I Want to Do I want to ...
5
votes
6answers
121k views

How would I find the SDK folder for Android Studio so I can build my Unity project?

So I've been trying to build my unity project for android, but my problem is that I don't know how to find the Android SDK. I have the old developer bundle installed, when it was still the one with ...
48
votes
7answers
53k views

What are atan and atan2 used for in games?

I am having some trouble understanding Math.tan() and Math.atan() and Math.atan2(). I have ...
155
votes
3answers
127k views

What is Vulkan and how does it differ from OpenGL?

Khronos Group (the standards body behind OpenGL) has just announced Vulkan: Vulkan is the new generation, open standard API for high-efficiency access to graphics and compute on modern GPUs. This ...
177
votes
1answer
42k views

What is the role of “systems” in a component-based entity architecture?

I've been reading a lot about entity components and systems and have thought that the idea of an entity just being an ID is quite interesting. However I don't know how this completely works with the ...
118
votes
12answers
111k views

How to develop RPG Damage Formulas?

I'm developing a classical 2d RPG (in a similar vein to final fantasy) and I was wondering if anyone had some advice on how to do damage formulas/links to resources/examples? I'll explain my current ...
121
votes
20answers
44k views

Is it unethical to make a game AI that is secretly non-competitive?

In several games the AI is designed to give the player an easy time without their knowledge. This can be having a 0% chance to hit the first time you appear, enemy letting you sneak up on them by not ...
26
votes
3answers
57k views

Moving an object in a circular path

I want to move one object (dot) in a circular path. How should I change the X and Y coordinates to accomplish this?
40
votes
9answers
86k views

In Unity, how do I correctly implement the singleton pattern?

I have seen several videos and tutorials for creating singleton objects in Unity, mainly for a GameManager, that appear to use different approaches to instantiating ...
72
votes
6answers
26k views

Why do RPGs let you know how much XP you need to level up?

I was reading this article called Behavioral Game Design, and it says: ...how do we make players maintain a high, consistent rate of activity? ... the answer is a variable ratio schedule, one where ...
11
votes
1answer
73k views

Change the sprite of a Object in Unity

Inside the script code of the the hero(object) I want add the possibility to change its sprite. So the player hits the space button and the sprite changes into the other sprite already added to the ...
209
votes
4answers
17k views

How can I store game metadata in a .png file?

Spore allows player-created creatures to be shared by exporting a .png file. That .png is a photo of the creature, but if it's ...
43
votes
2answers
9k views

Sanitise a high score table to remove offensive terms / usernames

I'm building an app for a client, which they've requested to have a publicly-visible high score table. It'll be displaying their username, which is a free-text field that the players can input. Player ...
56
votes
6answers
128k views

What is ambient occlusion?

I've heard about ambient occlusion and it looks nice, but what exactly is it?
169
votes
9answers
32k views

Why is it so bad to optimize too early?

After looking into optimization a bit, I have discovered (literally everywhere) that it seems to be a universally recognized sin to optimize a game too early. I really don't understand this, would it ...
154
votes
25answers
28k views

How do I get players to say “no” when they are afraid of missing out on sidequests or XP?

In my RPG, I have a companion NPC who is overconfident in his abilities and lacks self-control. I wanted to create a few situations where the player needs to reign them in and tell them "no". One such ...
10
votes
1answer
57k views

Pygame for python 3.5?

I just got Python 3.5 from... LINK: https://www.python.org/downloads/windows/ previously i had Python 3.4 and the Pygame version 1.9.2a0. It worked perfectly. However, my the new Python 3.5 isn't ...
96
150
votes
3answers
28k views

What is the point of a borderless fullscreen window?

Quite a lot of game allow user to play in a "borderless fullscreen window" instead of a "fullscreen mode". I've been wondering. Why would one prefer a fullscreen window over the "built-in" fullscreen ...
6
votes
3answers
61k views

Changing color of UI Text in Unity into custom values

There are a few objects in the scene as well as a title. I want the title to change its text and color based on the object that is mouse-overed. The script below is added to each object that is ...
101
112
votes
26answers
27k views

How to deal with “Scrooge McDucks” in my fixed-currency-amount game?

I'm currently working on a very small scale MMO game planned to support approximately hundred players per server, but we're having trouble with our economical model. For various reasons we have ...
0
votes
4answers
48k views

How to access a variable from another script in Unity c#

I need to access a variable from another script in Unity, but I can't figure it out. Script: ...
98
54
votes
10answers
72k views

most efficient AABB vs Ray collision algorithms

Is there a known 'most efficient' algorithm for AABB vs Ray collision detection? I recently stumbled accross Arvo's AABB vs Sphere collision algorithm, and I am wondering if there is a similarly ...
13
votes
2answers
79k views

How to use Input.GetAxis(“Mouse X/Y”) to rotate the camera?

I want to make a first person camera that rotates with the mouse. I looked at the Input.GetAxis Scripting API page and found a sample code, which I have included at the bottom of my post. Upon trying ...
16
votes
1answer
31k views

How do I add a custom mob to Minecraft?

Basically decided to make my own mob, I have: Created my mob's entity class Created my mobs model class Drawn the model Added the function call for addMapping within the EntityList class I'm stuck ...
63
votes
11answers
97k views

What is the fastest way to work out 2D bounding box intersection?

Assume that each Box object has the properties x, y, width, height and have their origin at their center, and that neither the objects nor the bounding boxes rotate.
28
votes
7answers
7k views

What is the design rationale for having armor and magic penetration mechanics?

It seems to me that the penetration stat found in many games adds needless complexity and often is not easily understood. It is obvious to a player that if they are taking a lot of damage, then they ...
68
votes
12answers
76k views

How do you handle aspect ratio differences with Unity 2D?

I've gotten a lot of answers to this question, but they are all generic and generally not very useful. None of the tutorials talk about aspect ratio and dealing with mobile devices and there are a ...
24
votes
2answers
95k views

Is it possible to use C++ with Unity instead of C#?

The title kind of says it all. Is it possible to replace C# with C++ on a game using Unity?
54
78
votes
6answers
37k views

How does a collision engine work?

How exactly does a collision engine work? This is an extremely broad question. What code keeps things bouncing against each other, what code makes the player walk into a wall instead of walk through ...
27
votes
12answers
37k views

Comparing angles and working out the difference

I want to compare angles and get an idea of the distance between them. For this application, I'm working in degrees, but it would also work for radians and grads. The problem with angles is that they ...
61
votes
3answers
111k views

What is the correct order to multiply scale, rotation and translation matrices for a proper world matrix?

Assume DirectX as the platform, if that is important. (Pretty sure it isn't) Assuming I have a proper scale, rotation and translation matrix, in what order do I multiply them to result in a proper ...
74
105
votes
13answers
28k views

What are the advantages of putting cheat codes into a game?

Some games have cheat codes in them, but I'm not sure I want to add some to mine because I fear they'll ruin the game by making it too easy to beat. What would be the advantages of putting cheat ...
9
votes
5answers
39k views

How do I scale up pixel art without blur in GM Studio?

I'm creating a game in Game Maker Studio that uses pixel art. When I launch the game, all scaled-up textures are really blurry. (It doesn't happen to small ones.) For example, this image renders ...
12
votes
5answers
23k views

How can I change the Google Play Console language?

How can I change the Google Play Console language? Here you can see that the language is not English:
67
votes
6answers
46k views

How does Lua work as a scripting language in games?

I'm a little hazy on what exactly Lua is and how a game that is programmed in C++ would use it. I'm asking primarily about how it is compiled and run. For instance when you use a program written in C+...
70
votes
5answers
50k views

Which image format is more memory-efficient: PNG, JPEG, or GIF?

Which image format is more efficient to save memory? PNG, JPEG, or GIF?
45
votes
2answers
68k views

How to make a character jump?

I am currently making a game in C# using Direct X 9.0. The game remake is Donkey Kong NES. I have nearly everything completed, but I am having problems with the physics of Mario's jump. I have ...
44
votes
4answers
35k views

Why don't we use octogonal maps instead of hexagonal maps?

I understand the advantage of hexagonal tiles over square ones. But why aren't octagons used instead? I would think they would provide better, more natural movement in eight directions. I was ...
105
votes
7answers
56k views

How can I simulate a bad internet connection for testing purposes?

I am developing an online multiplayer game. It works well when I test it on the local area network, but before I release it I would like to test how the user-experience works out for someone who has ...
2
votes
1answer
58k views

'Resetting' Google Play Games Services so app forgets it previously connected (so it shows confirmation screen again)

When I first integrated Google Play Games Services into my app, it came up with a 'confirmation screen', something like: App Name wants to connect to Google Play Game Services I don't recall the ...
106
votes
4answers
20k views

What is actually moving in an endless runner?

For example the famous Flappy Bird game, or anything that sort really, is the player(in this case the bird, or the camera whichever you prefer) moving forward or is the whole world moving backwards(...
136
votes
11answers
24k views

How can I create borders in an open-world game that don't feel artificial?

When creating open-world maps, a big issue to take into consideration is how "borders" of sorts are implemented. Obviously, in an open-world game, there shouldn't be invisible-wall borders, as it ...
1
vote
3answers
29k views

Having trouble with grouping in 3D Studio Max

I'm using 3D Studio Max 2012. I've got a simple mesh and several other polygons and I want to group everything all together. But the option is greyed out, I can't actually select 'Group' under the ...
110
14
votes
3answers
42k views

Typical Maximum steering angle of a real car

I'm building a car sim in Unity3D. I'm trying to set the properties of the car to be as realistic as possible. I can't seem to get a straight answer on Google so I thought of asking here. What is the ...
129
votes
10answers
70k views

How do you generate tileable Perlin noise?

Related: Simple noise generation Understanding Perlin Noise I'd like to generate tileable Perlin noise. I'm working from Paul Bourke's PerlinNoise*() functions, ...
93
votes
5answers
73k views

How should a one-man team do game audio?

Most game development (game design, art, programming, etc.) can be done by one person with relatively little equipment: A game designer needs a pencil and paper, an artist Photoshop or Paint, a ...
6
votes
3answers
28k views

My game crashed… Access Violation (0xc0000005)

I guess this is the first official crash I've had in Unity (that is not just an infinite loop.) The game works just fine in the editor but when build and run it, the game won't even start. I just ...