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.
3
votes
1answer
108 views
Path finding in games
I am writing my term paper about Path finding algorithms in games, and i've got a couple of questions, hopefully you people could help me out with those ;)
So, i've done a little bit of searching ...
2
votes
4answers
54 views
Java - Best Implementation KeyListener For Games
I am working on a game using only the swing and awt packages. Note I can only use the default Java libs. Meaning I have to use KeyListener. I have imported KeyListener properly, however, it is still ...
-1
votes
0answers
47 views
Database Logic: Weapon “Templates”, Weapon Entities, Weapon Effects [closed]
I want to create a weapon system that ties into my item system (stores in vaults and carried in bags) and I'm having a rough time thinking through the best model for the database.
Weapons have ...
0
votes
2answers
102 views
Replay on game like “impossible game”
So I am making a simple game like "the impossible game" where the character just moves forward(from a 2D prespective) and the only thing you have to do is press the screen to jump at the correct time ...
0
votes
0answers
40 views
360 degree gravity game mechanic like “They Need To Be Fed” game
I am a fan of "They Need To Be Fed" game and I want to understand the game mechanic at a deeper level. What are some good resources for the basic Box2d (or similar) physics behind the 360 degree ...
-1
votes
1answer
64 views
Get distance between the edge of screen and a moving sprite
How to get the distance between the edge of the screen and a vector moving sprite? I want to get the distance between my moving sprite and the edge of the screen so that when my sprite touches the ...
1
vote
1answer
57 views
Hill-jumping game mechanic like Tiny Wings
I'm a huge Tiny Wings fan and I'd like to understand the game mechanic at a deeper level. What are some good resources for the basic Box2d (or similar) physics behind the hill-jumping game mechanic?
...
0
votes
1answer
175 views
Pokémon character turning / facing: How is it achieved? Movement is already done though [closed]
You know that when the player playing Pokémon games want to change the facing of the main character, one would simply tap on the directional pad (D-pad) on the Game Boy (Color/Advanced/Advanced SP) or ...
1
vote
0answers
61 views
Steering behaviour
So I found this steering behaviour code in a book but i dont really understand the last part of the code what exactly is he doing because im unfamiliar with c++. Why would you need to ...
1
vote
1answer
114 views
Story line implementation in a game
Say I have the general engine working and the only thing missing is a story line.
Let's take the Pokemon games as an example:
How would I implement surfing if I don't want to check wether the next ...
29
votes
8answers
2k views
Is it possible to calculate or mathematically prove if a game is balanced / fair?
This question is not focussed on video games but games in general. I went to a boardgame trade fair yesterday and asked myself if there is a way to calculate the fairness of a game. Sure, some of them ...
16
votes
4answers
2k views
“The Game Object” - and component-based design
I've been working on some hobby projects the last 3-4 years. Just simple 2d and 3d games. But lately I have started a bigger project. Soo in the last couple of months I've been trying to design a game ...
-1
votes
1answer
83 views
Game mechanics based on similar game [duplicate]
I want to make an iOs game that is based on an online flash game. There will be quite some differences, but the game mechanics will be extremely similar. Do I have to worry about getting sued by the ...
0
votes
5answers
426 views
Collision detection logic
Edit 2
In the following picture sprite1 (the red square) is hitting the platform from the left, so:
sprite1_rightEdge>platformSprite leftEdge
would be true, so I can simply reposition ...
0
votes
2answers
188 views
Drag and Drop in Construct2
I am new to game development just now begin to make some games with Construct-2. And I tried to make drag and drop function like Plant vs Zombies, Empire vs orcs....
Here is my sample file.
If I ...
3
votes
1answer
78 views
Pygame: circular motion with Bresenham's algorithm
I'm trying to figure out a way to move an object in a circular path. I read about Bresenham's circle algorithm, but all the codes available online draw an entire circle.
For my game, I want it so ...
-4
votes
1answer
123 views
Basic C game jumping [closed]
So, i just started working on basic C game for the GBA and i cannot wrap my head around jumping and how it would work, since C# and c++ do not work, i just need it to be explained to me a bit or shown ...
1
vote
1answer
101 views
How to handle a player's level and its consequent privileges?
I'm building a game similar to Mafia Wars where a player can do tasks for his gang and gain experience and thus advancing his level.
The game is built using PHP and a Mysql database.
In the game I ...
-1
votes
1answer
85 views
Specifying 3D objects in a game [closed]
I have hands on experience in OpenGLES 2.0 , OpenGL and wish to apply the same in a 3D game development in Android.
My idea is to develop a Combat game having fighter planes. I am trying to create a ...
0
votes
1answer
51 views
Follow behavior with randomization factor
I'm trying to make enemy follow player as in picture below, the code below is code for following player with steering behavior ( i'm not sure it steering works tho but it does follow player ), how ...
-1
votes
3answers
242 views
Fruit Ninja Swipe
I now have nearly completed a Cut The Rope type game.
I need only a swipe mechanic to cut the rope, both the logic and the visual effect. Suggestions would be most welcome.
I only need a concept for ...
4
votes
3answers
390 views
What game mechanic can I use to show that the player character is bored?
I'm designing a part in my game where the player must notice that his character feels bored about a certain mundane task he is doing, without being boring for the player.
By observing the game ...
0
votes
2answers
185 views
What beginner level game should I practice developing that has all the basics of game development? [duplicate]
I am a fresh graduate of Computer Science and am very nervoud for my skills test next week. So I have only about 4 days left till the exam and I really want that job which is game development.
They ...
2
votes
4answers
443 views
What are some good examples of exuberant in-game instructions for telling the player to repeatedly smash a button?
What are some good examples of exuberant in-game instructions for telling the player to repeatedly and quickly press a button or perform an action? I'm especially interested in examples in retro games ...
2
votes
3answers
124 views
Generate slot combinations
How do you generate combinations in slots to achieve a wanted probability of the user winning?
Say, you decide that he should win $200. How do you generate combinations that'll cause winnings ...
0
votes
1answer
119 views
Pong horizontal movement algorithm
I was just wondering about the horizontal movement of a pong ball? What is the general algorithm used with this? The ball in my pong game just move vertically and I don't know about the algorithms ...
0
votes
0answers
44 views
Android: Switch(swipe) places on two images [closed]
I have two images next to each other and I want to switch their places with a swipe. I made collision detection but I don't now how to swipe and change their positions.
I'm really new at this, so ...
1
vote
2answers
169 views
Single or Multiple Behavior Trees?
I just finished coding a generic Behavior Tree structure for my games. My question is, when creating behaviors for enemy AI's, do I create one large behavior tree with every possible configuration as ...
5
votes
1answer
358 views
Spaceship interiors: How to approach, implementation-wise?
I'm creating a 3D space game using Ogre3D for graphics with C++ and one of the features is to be able to freely wander around spaceship interiors, but I am lost with how to implement it. Here is what ...
-1
votes
1answer
95 views
A paddle in my pong game isn't moving [closed]
I'm working on a little pong game in LWJGL but only one paddle moves. I've tried to switch around some code in the hopes it would work again but it still doesn't.
Here is my paddle class:
public ...
1
vote
0answers
53 views
Paylines and Pay dots in Slot Game
I'm working on a HTML5 slot game and completely stuck on the pay lines and the dots that produce the lines from 1 end to the other.
Can someone tell me what's the logic behind generating random ...
0
votes
1answer
77 views
Collision and gravity problems
So this is an easy question. I need to implement gravity in my game but where I'm stuck is what variables do I need in my Entity object for the calculations and a good algorithm that I can use for ...
1
vote
1answer
238 views
Implementing powerups for my Breakout clone
I'm making a simple Breakout clone in Python that will have very many powerups/powerdowns (so far I came up with 26). Some will affect the paddle (paddle missile, two paddles, short paddle, etc.), ...
20
votes
5answers
974 views
Spreadsheets in Game Design?
There have been two instances from the past two weeks that I've heard from well known successful game developers that they use spreadsheets when designing games.
The first being David Whatley in ...
-6
votes
2answers
146 views
Moving a sprite diagonal?
I wonder how I should increase and decrease the value of xPos and yPos to be able to move a sprite object diagonal and in different angles?
canvas.drawBitmap(image, xPos - (image.getWidth() / 2), ...
0
votes
1answer
71 views
How do I check for non tilted 2D rectangle collision?
I'm trying to find out how to check collision with different rectangles. Now the cubes I have have a x, y, height, and width to them.
So it might look like this on the screen:
And not like this:
...
2
votes
4answers
425 views
How do I come up with the game mechanics for a puzzle game?
I want to make a puzzle game, but I don't know how to start. I have observed that each puzzle game has a core mechanic that enables opportunity for numerous puzzles. I'm not sure how to think of ...
1
vote
3answers
167 views
Reward volatility of League of Legends matchmaking system
According to this article in league of legends matchmaking there's an average of 50/50 chances of winning or loosing a game based on how system ranks a specific account (player skill). However this ...
4
votes
2answers
189 views
Game Design Issue: Special items implementation
I have a Match Two game similar to the bejeweled board. I am rewarding the player on speed of score. If he scores X in Y time , he gets a bomb. The time window is not rolling but discreat.
I check ...
18
votes
15answers
1k views
How to discourage micromanagement in strategy games?
When designing a strategy game (or one in a similar genre), how do you avoid having your players focus almost entirely on micromanagement? What should be done and what avoided in gameplay mechanics?
2
votes
1answer
202 views
Shooting Bullets Around a Sphere
I currently have a ship that can orbit around a sphere freely controlled by a joystick. There is a separate joystick that controls the gun and starts shooting when it is touched.
Right now the ...
1
vote
2answers
215 views
XNA Game Timer Help
How do I set a game timer in XNA?
I need it to keep the game in sync no matter the lag or frame rate to prevent one moment to be normal but the next everything is sped up.
-5
votes
2answers
311 views
How do I limit the game loop?
How do I make a game update at a consistent speed? For example, this would loop too fast:
while(true)
{
GetInput();
Render();
}
This just wont work ...
1
vote
5answers
317 views
how to rotate enemy to face player? [duplicate]
Okay so i havebeen rotating my enemy to face the player using
float targetrotation = Math.Atan2(playerpos-enemypos);
enemy.rotation = targetrotation; (<this line of code i want to change)
This ...
4
votes
1answer
372 views
RPG game engine. Skill application calculations
Short preface
I am a part of a small team which is entering game development. We're creating a new RPG setting with custom game system and mechanics based on dice rolls. I'm server-side java ...
0
votes
0answers
69 views
What's the most efficient way to manage auras & buffs? [duplicate]
I would like to know, for a game that does NOT use a grid (1-dimensional movement, in fact); what is the cleanest way to manage buffs that change a unit's variables?
My current system is going to be ...
1
vote
4answers
801 views
Cocos 2D - Hold down CCMenuItem
I am using the following code to move a CCSprite left and right.
-(id)init{
CCMenuItemImage * moveLeftButton = [CCMenuItemImage itemFromNormalImage:@"Move Left Button.png" selectedImage:@"Move ...
0
votes
1answer
287 views
3d transformation of game world keeping gameplay 2d - COCOS2D 2.0
Using: COCOS2D + iOS.
I want to rotate the game world, may be loading another .tmx file for another dimensions when user want to switch dimension.
the effect what I am looking for is something like ...
25
votes
6answers
2k views
What's a way to implement a flexible buff/debuff system?
Overview:
Lots of games which RPG-like statistics allow for character "buffs", ranging from simple "Deal 25% extra damage" to more complicated things like "Deal 15 damage back to attackers when hit."
...
0
votes
0answers
79 views
LWJGL not working, need help [closed]
I'm trying to make a simple game in LWJGL but no matter what I do I just get a black screen and it becomes unresponsive. Here is the code that opens the window:
package src;
import ...





