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

How, if possible, do you add loop cuts to models in real time?

I am working on a prototype for a very low poly game. I can't figure out a way for a player to cut or break objects in real time without predefined fractures. For example, if a player cuts a tree, it ...
-1
votes
1answer
38 views

Is there any easy way to understand the Alpha Beta for Othello?

I'm stuck with coding the Alpha Beta algorithm for a console-based game I'm developping at the moment. I tried to understand how it works for a week but still no idea how to get started with it. Here ...
0
votes
3answers
82 views

Simple way to shoot bullets from a ship at angles for shoot em up

Just like the title says. I'm working on a shoot em up for a personal project, and I can't seem to get this to work. I don't have any code for it, but I do have the code to make my ship shoot, but ...
0
votes
0answers
40 views

Finding mathematical formula for balancing items

We are working on a game that is glorified rock-paper-scissors. You can play prototype here: http://duelgame.tryadgames.com/ Here is expaneded version with better balance of numbers (at least I ...
1
vote
1answer
59 views

How to move objects in any direction by swiping with libgdx android game development

first of, I'm new to android game development so I don't know all the classes and dictionaries within android and libgdx. I'm actually following a game development tutorial for the first time ...
0
votes
1answer
97 views

Create a continuous flight path on a Bezier Curve in Unity3d

I am working on a game in which a butterfly is flying along some path. What I am trying to do currently is create a Bezier curve starting from the butterfly's position(previous curves end point) and ...
1
vote
1answer
73 views

What is the difference between framerate independent vs framerate dependent?

What is the difference between framerate independent vs framerate dependent? Can you please give an example.
4
votes
1answer
200 views

How can I efficiently represent territories and their borders on a map like if it was a Risk board game?

I am exploring the idea of programming a territory control based RTS. These territories would be in 3D and I would like their colors to change when captured to represent the faction's color. I would ...
0
votes
1answer
89 views

Game mechanic player following path looks very roughly

I want my player entity to follow a path, which works, but it looks very roughly. Like it would stuck everytime. bool arrivedX = false; bool arrivedY = false; float speed = 0.06f; ...
0
votes
2answers
143 views

Space invader barrier implementation algorithm

I've been struggling with implementing the space invader bullet to barriers. I wanted right now to blast a circle around, when the bullet hits the barrier and modifies the circle. As shown in the ...
0
votes
1answer
64 views

Spherical Collision

I have a made spherical collision system which creates a major problem, the balls gets stuck to each other on high speed and sometime with low speed collisions. I researched a lot but I couldn't found ...
0
votes
0answers
20 views

SharpDX draw 3Dmodels?

Hi i have resently started game development just to expand my programming skill from systemdevelopment. And i gave sharpDX a go, i like how the frameworks are built sinse they resemble xna. My issue ...
0
votes
1answer
64 views

What is the better way to speed up gameplay as the level rises?

I started with game programming couple of weeks back. For the starters I tried to develop ZigZag (link takes you to 2 min gameplay). I am done with the logic of gameplay by now. It runs well and ...
0
votes
0answers
45 views

I have an array of blasts and an array of zombies, how can I efficiently detect collisions? [duplicate]

I have an array of blasts, and an array of zombies, but I'm struggling to find a way to efficiently detect collisions and remove both the blasts and zombies that have collided. Any suggestions? ...
1
vote
0answers
40 views

Procedural Progressive wave system advice [duplicate]

I am developing a game based on waves. Enemies appear as time passes by and every level the hero must kill all the enemies to move to the next level. At this time I have 2 types of waves. Progressive ...
0
votes
1answer
46 views

Z axis for player movement is being incremented, but i don't know how

I'm currently learning and developing a 2D plataform game in Unity, but now i'm having some errors that i can't solve. When I press the arrow keys to make my character move right and left, the Z axis ...
1
vote
1answer
56 views

Applying statements to a single instance in Game Maker?

I'm currently in the process of making a platformer, and am currently in the process of creating "depth" into my game, by making Up/Down-W/S control your depth. (Come closer to screen, go further). ...
0
votes
0answers
13 views

How to experiment for the value of gravity in Libgdx? [duplicate]

I am following a guide on how to play a flappy bird clone in the LibGdx framework. -http://www.kilobolt.com/day-5-the-flight-of-the-dead---adding-the-bird.html I am currently on the part where the ...
0
votes
2answers
98 views

How do I derive an appropriate acceleration value for my game?

I am creating a Flappy Bird clone from this tutorial. I have a question about acceleration in libgdx. The author assigned the bird a constant acceleration vector in the constructor of the bird ...
1
vote
1answer
170 views

AI to help player by suggesting upgrades

Suppose I'm creating a racing game.. I would like to implement an awareness system AI, that will suggest to the player that he can buy that booster or some other upgrade, .. etc. How should I start ...
0
votes
2answers
109 views

How to make a gameobject Scale up from another GameObject script

hi there im having a rought time with this code, trying to make a gameobject grow in scale from touching this one, and when a set amount of scale is reached destroy this game object ( the one who ...
0
votes
1answer
50 views

memorizing button tap code iOS game

I'm using a single view app in Xcode 6.1 for my game with Storyboards. Not unity or sprite kit. It's a small game not even 3MB. Anyways, I created un-lockable characters with a BOOLEAN. ...
0
votes
1answer
69 views

What is the difference between a tech tree and crafting? [closed]

Are tech trees and crafting the same thing, except the mechanism to attain them? What the real difference between the two?
5
votes
1answer
198 views

How can I implement large moving “colossus” characters that also act as environmental objects?

I'm curious how enormous characters that act both as entities and environments are implemented. I'm thinking of characters like in Shadow of the Colossus which move, but which the player can also ...
-1
votes
1answer
69 views

What's the optimal balance of story and combat in a game? [closed]

A good movie must balance the action and storytelling so that it keeps the pace without boring the audience with too much story. Now the questions is how should the action and story be balanced in a ...
-5
votes
1answer
103 views

Questions about game programmers for School project [closed]

My name i Magnus. I was hoping that some of you, could help me answer som questions, about game development and the game industry. It wille be used for a project about our future, that all 10. graders ...
0
votes
3answers
81 views

Logic level representation that distinguishes “<<under>> and <<above>> the bridge”

I have an logic level/map representation for a 3D game that uses vector<Area> where: class Area{ vector<Point2D> bounding; //determines the shape of the Area, its borders ...
0
votes
2answers
244 views

Can the GUI be used to create game objects?

I want to be able to position 10 various game objects (sprites) within the area of the screen which will be dynamically sized accordingly to the screen size of the device. The area in which I want to ...
0
votes
1answer
82 views

Collision detection Libgdx

I'm trying to implement Collision detection using Rectangles for my game but can't seem to get it to work. Bullets are updated when pressing space every frame so they move across the screen. ...
4
votes
2answers
280 views

Jelly ground collision

For fun I am trying to replicate the mechanics from The Floor is Jelly. So far I have successfully created "jelly islands/blocks" which are represented by an array of points and then drawn by using ...
1
vote
1answer
136 views

Collision detection algorithms with images (2-Dimensions)

Lately, I have been researching different Collision methods, how to deal with multiple collisions and different types of bounding shapes, circles, rectangles, polygons and ellipsoids. Some common ...
1
vote
1answer
65 views

Stat Multipliers: from Base Value or Iterative

I'm aware similar questions have been asked before but this time I'm asking about a specific issue with the maths of stat modifiers. I have a stat system that applies a list of modifiers to a stat, ...
0
votes
0answers
34 views

Game Development Books [duplicate]

I am looking to expand my C# knowledge and am looking into a fun, long term project to help expand my knowledge. I've been studying programming for about a year, but I would still consider myself a ...
0
votes
3answers
168 views

Dynamic Crafting Systems [closed]

I have been toying with the idea of having a game that is based purely around crafting. That on its own is not much of a big deal. The way the crafting would work is the problem. The idea I have is ...
7
votes
1answer
1k views

Using L-Systems to procedurally generate cities

I'm currently making an app that focuses a lot on procedurally generated content. So far, I've successfully implemented the procedural generation of the terrain and shape of a map using simplex noise. ...
0
votes
3answers
478 views

Add a Countdown Timer that increments in JavaScript and resets per level(Resovled)

I am currently developing a Simon says type game using jquery and javascript. I have linked a fully copy of the game on github Github download and unzip to see the game fully ...
0
votes
1answer
46 views

Implement an action “while” touching event

I'm making a game using Xcode for iOS. This is a segment of code I have that makes the sprite jump up when the screen is tapped: //tap/touch to jump (& play sound) -(void)touchesBegan:(NSSet ...
1
vote
0answers
125 views

What are the common techniques to translate game ideas into game mechanics? [closed]

I would like to know of methods, ideas, etc... that game designers use to dissect a game idea and convert it into FUN game mechanics and integrate in a game. This necessity comes from my own and ...
1
vote
1answer
191 views

Random Placement of Objects on a Tilemap

I have read many topics on random world generation on this site and others, and I roughly understand most of it. What I can't see is how to randomly place objects on the generated tile map I get. Say ...
0
votes
1answer
86 views

Moving CCNode with constant speed in cocos2d

I want to move the object (CCNODE) with constant speed in any direction , what i have did till now is applied a force to object at start to get it moving and set elasticity as 1 and friction as 0 to ...
1
vote
2answers
124 views

Tower Defence game scoring system

I am in the process of developing my first game on android mobile platform, it’s a tower defence game and I am currently busy designing the scoring system. At the end of the stage when the user has ...
1
vote
3answers
187 views

Designing a weather system for biomes in a roguelike

I'm making a roguelike game similar to dwarf fortress. So far, I have an average temperature map and average yearly precipitation map generated with simplex noise. Now, I'm trying to implement a ...
5
votes
2answers
234 views

How do I maintain game balance while promoting interaction between dead and alive players? [closed]

How do you motivate players to be content with randomly selected roles that are often complex to play and differ drastically in playstyle (AND to stick around till the end of game)? Some background: ...
0
votes
0answers
35 views

Displaying range around a unit [duplicate]

I'm looking to highlight a set of square tiles around a unit to signify its movable range. The concept should be quite familiar to those who have experienced the Fire Emblem series of game. I have ...
0
votes
1answer
57 views

Originating direction of shots in an FPS problem

Recently I have been asked on the interview about a maybe simple task to solve a problem. We have a player, that looks in some direction, and a shooter, who already is shooting the player. I must ...
0
votes
1answer
183 views

Map scrolling around the world

I am developing an TBS (turn based strategy) game. I have created a simple canvas renderer to render hexagonial map. I already implemented scrolling on the map. My current problem is that I want to ...
1
vote
3answers
168 views

How to handle network game [closed]

I'm currently building my own game using LIBGdx in JAVA but i'm facing some trouble. My game is base like this : A player have a position and some other parameters that are float, int types. He also ...
2
votes
1answer
210 views

Ways to improve player retention

I've recently released my first free to play game on Android and I've spent a few £ on advertising to try and get players involved and see what happens. Below are my retention stats courtesy of ...
2
votes
2answers
248 views

How do you determine the amount of moves/turns/lives that should be given to a player?

Let's take Candy Crush for example. The player is given 50 turns to complete a certain level. How is such number determined? Are there educated ways to reach such numbers? I also presume that these ...
0
votes
2answers
281 views

Recommended approach for event system in Java

What are the recommended approaches for an event system of a turn-based RPG's battle engine? The system I'm currently working on has a runEvent method that sorts the actions queue based on their ...