A set of rules that govern an in-game experience. Game design is an effort to come up with game mechanics that allow for players to have a fun and engaging experience.

learn more… | top users | synonyms

0
votes
0answers
11 views

Protecting/Handling game data

I have been working on a web based game, in which involves a lot of javascript/PHP. My question is what is the most secure way to handle any data being passed between the two languages? At this ...
-4
votes
2answers
80 views

I want to make my first video game [on hold]

I want to make my first video game, but I don't know where to start. I have watched some videos about how to make video games, but I'm still kind of stuck. Any ideas?
1
vote
0answers
27 views

How can I create click and drag for a 3D Jenga game in Unity?

Essentially, I am trying to create a game that mimics Jenga. Right now I have made it so that the blocks collide with each other and have gravity, everything works very well. The one thing that I am ...
1
vote
0answers
18 views

how do i make an object in gamemaker only overlap on one side?

I am making a small flash game in game maker 8.0 pro and I need some help. In my game, the character is in an office with cubicles. I need my character to be able to walk behind and in front of the ...
0
votes
0answers
36 views

Good idea to unlock lower difficulty maps when a higher difficulty map is beaten? [closed]

Imagine a game with different maps. Each map has 3 levels of difficulty, Easy, Medium and Hard. So an experienced player would play a new map on Hard, as the other 2 modes are way to easy for that ...
6
votes
5answers
203 views

Choose your own adventure - choices stack

I'm currently building a choose your own adventure game. Now it's easy enough to have one outcome to every choice and create a linear flow, but is there a good algorithm for having all previous ...
-1
votes
1answer
85 views

create continuous snake like slither.io MonoGame c# [on hold]

I need help creating a snake with continuous smooth motion like slither.Io up till now I just can't find any but the grid snake. EDIT: Following a curve with the snake, Grow that snake.
3
votes
1answer
77 views

Earth-like acceleration seems slow

I wanted to make a kind of "fill the box" style game where you hold down to increase size of a ball that falls when you let go, end goal being covering a percentage of the screen. Anyway, I wanted to ...
0
votes
1answer
72 views

Why is there almost never online multiplayer in indie games? [closed]

There are alot of which are local but very few who have online.
2
votes
0answers
94 views

FPS game UI theory [closed]

Are there any researches concerning FPS game interfaces? I'm interested in analyses of designing & positioning UI-elements. The only thing I can find are blogs and articles about immersion in ...
0
votes
0answers
26 views

Uniform Interpolation?

In currently developing a little local Multiplayer game. In using Interpolation to make the player and entitys move smoothly but there's one problem, im using Interpolation, that looks like this ...
0
votes
1answer
25 views

Object orbitting 2D circle java

I'm using this code to make a square that orbits a circle . When i use it however the rect(); is quite far away from the circumference of the circle, i would like to make it closer. All variables are ...
-1
votes
0answers
23 views

Make a 2D shape “orbit” a circle which has already been drawn in JAVA [duplicate]

I Have a circle, I want to make a shape (for now just a rect();) orbit around that circle. The x position of the circles center is represented by XPos and the y by YPos, the radius is represented by ...
1
vote
0answers
28 views

How to make a Sprite have multiple armors/weapons/Accesories [duplicate]

I am currently developing a game that involves a multitude of weapons, armors, etc. I am using UE4 currently as an engine because I found that easy to use. Currently in development I have found myself ...
0
votes
2answers
94 views

How do I make a game over screen like Temple Run or Subway Surfer?

When you die in one of these 2 games I took screenshots of (Temple Run and Subway Surfers), what exactly comes up to say "Game Over" and posts your score and all-time high score? Is it a different ...
0
votes
0answers
45 views

Create a collision detection system

Public Class Game 'NORTH = 1, EAST = 2, SOUTH = 3, WEST = 4 Dim myFont As Font = New Font(New FontFamily("Microsoft Sans Serif"), 16) 'CONSTANT VARIABLES Const RESOLUTION_WIDTH As Integer = 800 '...
0
votes
0answers
52 views

I Need help with Match-3 mechanics in Gamemaker

Engine used: Gamemaker Studio, Professional Edition Note: I just saw a suggestion to use an array/matrix, and that's probably infinitely more useful and easier than what I'm doing right now (free-...
1
vote
2answers
88 views

How to calculate the outcome of a battle?

My game's war system is pretty straightforward, so I will give you a brief overview. You assign soldiers to commanders, and you also assign equipment. Equipment being weapons (e..g: rifles, pistols, ...
0
votes
1answer
88 views

Tips on thinking of a good game mechanic? [closed]

I am trying to make a turned based rpg and I really want to know how can i make original game mechanics like Undertale with it's sparing system.I am not really that creative to think of a good game ...
0
votes
2answers
108 views

A single libgdx gamescreen with pop-up menu, getting ready, hud and game over?

Is it possible and practical to have only one screen, like a GameScreen class, where the menu, getting ready (plus instructions), hud (only score) and game-over screens can pop-up when needed. Can I ...
2
votes
0answers
68 views

How can I connect multiple explorable regions into one large map?

I am planning a 2-D science fiction game involving spaceships. A major thing that I am having trouble figuring out is how to create a 2-d array of smaller maps that the player can explore. My ...
0
votes
3answers
127 views

LibGDX simple button with image

I want to make two image buttons (play, restart) in my main menu screen but I dont know how to do it. I tried this: Texture playTexture = new Texture(...) Image playImage = new Image(playTexture) ...
2
votes
1answer
93 views

Most effective approach when creating % chance of something

When dealing with % chance in a game what are the most effective ways to achieve this? When I use random.random()[python] or Math.random()[javascript] and use an if/elif/else conditional it seems like ...
6
votes
2answers
270 views

Why have the player pick up loot manually?

From a game-design perspective, I was wondering what the mechanic of manually picking up items off the ground does for the player. Keep in mind that items that fall on the ground can most likely be ...
0
votes
1answer
26 views

Canvas/Paint Mechanic

I am currently working on an idea for a unity game app with a canvas mechanic. I understand I may have to use particles for the brush/paint f/x however I can not think of a way to add collision ...
31
votes
8answers
10k views

How can a game handle all characters at once?

This question is just to gain knowledge about how a game can handle so many characters at once. I am new to gaming so I beg your pardon in advance. Example I am creating a tower defense game in ...
4
votes
1answer
342 views

What do you call the Call-of-Duty-style health system?

In games like Call of Duty (and many, many other FPSs), there is no visible health bar; instead, as the player takes damage, their vision is slowly obscured by blood that seeps in from the edges. As ...
3
votes
1answer
87 views

Correct order of entity updates and collision detection

I'm trying to simulate a number of units walking in a single file. My update loop looks like this: for each unit: n = compute next position if n is empty then move to n If I start the loop ...
5
votes
4answers
584 views

How to design a turn-based game which is easy for humans but difficult for AI?

Until recently, Go used to be of the last bastions of turn-based no information-hiding games where world-class human players could not be defeated by computers. But now this bastion has fallen, as the ...
77
votes
28answers
17k views

How can I discourage camping while still supporting a “sniper” style of play?

I am trying to add features into a third person shooter that suit a sniper style of play, in addition to the current rush/deathmatch style it was designed for. The current gameplay is similar in style ...
0
votes
1answer
73 views

What technique should I use to implement the following type of “diggable” terrain?

I'm trying to replicate a certain game mechanic from the game Diggles. This game takes place in a vertical cross-section of the earth and allows the player to dig tunnels and caves into the ...
0
votes
1answer
65 views

How to start encouraging team collaboration?

I am working on converting a single player game to multiplayer, but I am concerned that if I simply do a 1-1 conversion, even in modes with "multiple players" there won't be any incentive for team ...
1
vote
3answers
156 views

What is the difference between “stealth” and “social stealth?”

I was recently researching the stealth mechanics of several games and I stumbled across the distinction of "stealth" (eg. Splinter Cell series) vs "social stealth" (eg. Assassin's Creed series). What ...
1
vote
2answers
82 views

Adversarial Search AI having problems with too many choices

I'm a game designer working with a set of coders trying to create a card game. Currently we're trying to implement a drawing mechanic in which you choose which card you draw, but the Adversarial ...
-1
votes
1answer
43 views

Open-World objective/goal idea [closed]

My game is an open-world. But i'm stuck on the goal/objective. Is there a list of goals/objective for an open-world games?
1
vote
1answer
72 views

Resolving A counters B, who is countered by C, who could be… in an ATB

There are 4 player character slots and 8 enemy slots. I'm using a combat system that's similar to ATB from FF4; You select a move, there's a waiting period depending upon the move, during which other ...
0
votes
0answers
34 views

Doing collisions on both axis with java overlap

I'm making a top down game from scratch and just found out about the java rectangle overlap method that would work great for collisions. However, after the overlap happens, I need to check for which ...
11
votes
3answers
4k views

Attack vs Defence and who is the winner? [closed]

I am in the process of creating a new simple game in mobile and I've spent several days on the following part. For simplicity, let's say that I have two fighters. The only attribute of them is ...
0
votes
2answers
114 views

Is it legal to use the game mechanics of risk if I don't use their name? [duplicate]

I'm currently developing an idea for a conquest-style board game similar to Risk. I was wondering if I would be legally entitles to use some game mechanics that appear in that game so long as I don't ...
-1
votes
2answers
40 views

How can I get information from a function

Okay, so if I use this code to randomly spawn balls at the top of the screen, how do i get them to move down: var max_bollar = 10; var i = 0; var timecounter = 0; var bollarcounter = 0; var ...
0
votes
2answers
85 views

How can i call a thing a lot of times (game: dodger)

Hey I am new to coding and i want to know how to get the same thing to hapen until i "say" stop. The game is that you need to dodge stuff that is falling, i was thinking that i could use a while loop ...
12
votes
4answers
2k views

Games where the story continues via progeny [closed]

In Phantasy Star III: Generations of Doom for the Sega Genesis you periodically marry and then the story carries on through your sons/daughters. In Rogue Legacy when you die you again play on through ...
0
votes
0answers
35 views

“following” Object not Interacting with the game world correctly

So I finally have my object detecting the distance between itself and the player. If within range, the following enemy will chase the player down and touch it. (This will kill the player) However, ...
0
votes
1answer
39 views

“Following” Object is acting Strangely?

So I recently designed an enemy that will follow the player when he comes within a certain distance of the object. However, there are times when the player comes in range, only for the "follower" ...
5
votes
2answers
148 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 ...
2
votes
1answer
319 views

Is flowchart correct way to visualize gameplay?

I made the following flowchart in draw.io. it's just a simple arcade shooter. cardboard zombie pops up, bang, or not. I don't have any official education in game production. So, are there other ...
6
votes
2answers
175 views

RPG Factions - Friendly/Hostile check

I'm having some trouble checking if one faction is hostile to another faction in my RPG. I'm using enums for my factions and relations but I feel like there's a better way to approach this. Currently ...
1
vote
0answers
87 views

Should I compute impact damage with energy or momentum?

My game uses physics (Box2D in particular). Just about every object in the game can be destroyed, and the primary method of combat is by slamming objects into one another at high speed. It makes ...
1
vote
1answer
253 views

How Can I Find a Shape on 2D Array?

For the code in my test project, I want to find 2D[,] array shape on the char[][] list. I created an actual map with 'char[][]' array. So, how can I find a tileChar's shape on the worldChar array? ...
-1
votes
1answer
54 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 ...