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

15
votes
5answers
4k views

How do they made Pokémon games so flawlessly balanced? [closed]

I find it hard to believe how well balanced the Pokémon games are. Not just within the games, where you'll find amazing balance from the very beginning to the very end, but, surprisingly, even when ...
6
votes
2answers
3k views

Bubble shooter search alghoritm

So I have a Matrix of NxM. At a given position (for ex. [2][5]) I have a value which represents a color. If there is nothing at that point the value is -1. What I need to do is after I add a new point,...
2
votes
1answer
790 views

Building different game objects (EG Spells, Items,) for an rpg game

I believe the best way to manage item data would be to use xml? For spells would the best option be to create a class (EG Fireball) and define all of the parameters inside of that class? Like ...
8
votes
2answers
6k views

Interaction between engine parts

I want to ask a question about how the information exchange between game engine parts should be implemented. The engine is separated in four parts: logic, data, UI, graphics. In the beginning I made ...
8
votes
3answers
13k views

Moving from A(x,y) to B(x1,y1) with constant speed?

I currently have something like: float deltaX = point0.getX() - point1.getX(); float deltaY = point0.getY() - point1.getY(); And every 0.01 seconds I refresh my objects position like this: object....
0
votes
1answer
453 views

Resizing a dynamically resizable widget with a fixed aspect ratio?

I've been trying to figure this out for hours. It is a bit tricky to explain but I'll try to explain it. I'm making a game where I have a Window with 3 panels in it. The 3 panels must always be ...
4
votes
1answer
257 views

How can I determine how much I need to rotate an object to face a point?

I have an object located at (208,608) in my 480x800 screen (portrait orientation). I can touch anywhere on the screen (where y < 608) and I will get touchX and touchY. What is the angle I need to ...
2
votes
1answer
406 views

Move Sprite from A(x,y) to B(x1,y1);

I have a sprite with an UpdateHandler that can change it's position every 0.1 seconds. My Question is , given the Sprites current position, how can I move it to another position(like from 10,10 to ...
3
votes
2answers
2k views

Designing Drops system - How and where chance of drops are defined?

Just found a related topic but I have different/extended questions I was wondering how the implement the drop system. I have to start designing the DB model for this so I was wondering whether what I ...
4
votes
1answer
2k views

IRC channel about game development? [closed]

I'm looking for some IRC channel to talk about game development. Anyone know some?
1
vote
2answers
251 views

How do i calc what side the ball is of the rect?

I have this nice drawing: http://bildr.no/view/1085283 I know the ball's center and the rectangle's center, but how do I know (programming C#) what side of the rectangle the ball is? By my drawing, ...
0
votes
1answer
917 views

Open source component-based game engines? [duplicate]

Possible Duplicate: Are there existing FOSS component-based frameworks? What open source game engines with component-based design of game objects do you know? And which best of them? I mean ...
21
votes
4answers
4k 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 ...
11
votes
4answers
22k views

2D character controller in unity (trying to get old-school platformers back)

This days I'm trying to create a 2D character controller with unity (using phisics). I'm fairly new to physic engines and it is really hard to get the control feel I'm looking for. I would be really ...
5
votes
3answers
348 views

What games benefit strongly from using motion controls?

A lot of games use motion controls, be it Wii, Kinect or otherwise, but for most of them, this control scheme seems forced. What are the games that benefited the most from using motion controls (as in,...
0
votes
4answers
594 views

How can I know how big my game “world” should be?

here is the world map (randomly generated) for a game I'm making: The green rectangle corresponds to the size of one screen. Each pixel represents 3x3 tiles in my game, this makes the whole map be ...
6
votes
1answer
2k views

Pokemon Battle System A.I

For my newest project, a Pokemon fan-edition, I need to collect much information on the game mechanics. So I need to know a few things about the A.I. implemented in the games. For the sake if ...
1
vote
2answers
613 views

Attack Vs Defense in text based games

I'm trying to come up with a formula for the computer to determine who should win a match between an attacker and a defender, in a way that would improve how engaging the battle rules would be in a ...
5
votes
1answer
574 views

How does this animation work?

This project "Locomotion Skills for Simulated Quadrupeds" creates an animation for the dog model in the program. However if you go into the project's files the dog's skeleton is made of individual obj ...
8
votes
7answers
724 views

How to create a mathematical mechanism in order for a game to be balanced?

For example, in a game like Diablo, how did they decide how much damage each skill does? Is it the amount of clicks that the player needs to do? Or maybe the expected lifetime of a player? Maybe ...
1
vote
1answer
197 views

Silverlight player centered viewport example

I am new to game development and i want to use silverlight for it. First of all i want to learn the logic of player centered gameplay. Something like this; Player character moves in large scaled map ...
0
votes
2answers
1k views

Creating slot reels

Is there any automated way to calculate the slot machine reels icons based on the LIMITS: # of reels # of lines % that is returned to player Include free spin icon or not Include bonus game or not ...
4
votes
1answer
540 views

how to script a match 3 game without waiting for matches to finish

I have developed a full match 3 game without the ability of making another move until all cascading is finished. I was stuck trying to figure out how to do it with the ability of making moves even if ...
0
votes
2answers
304 views

Licence to use RPG systems like Pathfinder

I am sketching out my 2012 programming project, and Im planning to make a classic fantasy RPG game. The world design, plots, characters and all that I can make, but being a avid tabletop role-player, ...
0
votes
3answers
192 views

How should I actually enforce the effects of components?

I asked a question about implementing components here: Am I on the right track with this component architecture? But I had more questions I'd like to ask. What's the best way to actually enforce ...
5
votes
2answers
220 views

How to evaluate a user against optimal performance?

I have trouble coming up with a system of assigning a rating to player's performance. Well, technically there is is a trivial rating system, but I don't like it because it would mean assigning ...
2
votes
2answers
546 views

How do I design a game framework for fast reaction to user input?

I've played some games at cca 30 fps and some of them had low reaction time - cca 0.1sec. I hadn't knew why. Now when I'm designing my framework for crossplatform game, I know why. Probably they've ...
36
votes
9answers
3k 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 ...
1
vote
4answers
1k views

Beginning RTS game student project [closed]

I have experience with XNA and Unity3D. I have also built my own engine with Tao and C#. I am in last year of college and I want to make a small RTS game demo, nothing fancy I won't bother much with ...
4
votes
2answers
1k views

Is it correct to assume that behavior trees work for AI, but the player character and static entities still need state machines?

When I read discussions about state machines vs. behavior trees, it is often in favor of using one over the other. However, this seems odd to me that you wouldn't still need a state machine to manage ...
8
votes
2answers
270 views

Is there a design flaw when an entity's state doesn't fully utilize enter(), execute() and exit()?

I'm following Mat Buckland's Programming Game AI by Example, and I find that I don't always have use for enter(), execute() and exit() on an entity's state. For example, in an RPG, a weapon may have ...
0
votes
3answers
467 views

How can I spawn multiple monsters in my game?

I made a little iPhone game in which I want to make multiple monsters spawn. I have one UIImageView called enemy that spawns at beginning of the game. But I want it to spawn many more monsters until ...
3
votes
1answer
806 views

How can I spawn monsters at random locations?

I made a little 2D shooter game for my iPhone. I want monsters to spawn at random locations. But I don't have any clue where to start to make them spawn. I already made the monster image and ...
2
votes
2answers
564 views

Physics in a 2D oblique perspective game

So, just to clarify, because I'm still fuzzy on the terms for perspectives in older games myself, examples of an oblique perspective can be seen in many older RPGs (Earthbound, Final Fantasy, Secret ...
1
vote
1answer
2k views

Are there any top down view sources available for SLICK/LWJGL? [closed]

I've been working with java for a few months now with my girlfriend and we're moving along at an expected rate. I understand the concepts of OOP, we've built many pseudo code starter games from ...
1
vote
1answer
308 views

Does this constitute as copyright infringement?

Say there is a card game, and it has cards that arc out, and has certain types of memberships with certain features such as premium members being allowed to chat, or use private game rooms etc. If I, ...
3
votes
1answer
380 views

Vector fields and game engine

It exist a game developed with a vectorfield game engine? What I mean is that instead of calculating intersections, one could calculate the vector field generated for example by gravity, and for ...
0
votes
2answers
306 views

How to decrease velocity constantly?

I am developing a golf game using the GameSalad framework for iPhone. I have one attribute named speed of type integer with value 5000. I also have one boolean attribute named speedControl which is ...
5
votes
3answers
227 views

What are the different ways to balance an online multiplayer game where user spend different amounts of time online?

Let's consider a game where every player is building his own medieval town. To make this question simple, let's assume that, on this persistent world, some people will play an hour every day (heavy ...
3
votes
1answer
177 views

How to get the physics just right in a physics driven game

I'm working on a physics driven game using a java port of Bullet (JBullet). In our game we have a ball that can have collisions with the other objects, including the objects that define the ...
102
votes
9answers
6k views

What makes a computer opponent feel alive?

Are there any recommended blogs or whitepapers that talk about making the AI in an RPG game feel more real? (Specifically in turn based combat.) I know something must be out there, but I am only ...
1
vote
1answer
672 views

Language agnostic game programming books [duplicate]

Possible Duplicates: Game programming books that don't teach programming? Must read game development books Does anyone know any good language independent game programming books? I don't ...
1
vote
1answer
2k views

2D Physics Engine for Platform Games - Riding on a Platform

I have a number of questions relating to using a 2D physics engine in a platform game, but one main one that I'm grappling with at the moment. I managed to somewhat integrate the Physics2D.Net engine ...
4
votes
2answers
468 views

What is the name of this power or value-oriented gameplay mechanic?

I would like to identify the name of a certain gameplay mechanism. It is fairly commonly seen but probably best illustrated with card games: A game played with a pack of cards usually has card values ...
12
votes
1answer
2k views

Programming a climbing system like tomb raider

I was wondering if anyone knew or had knowledge of how to program a climbing system like the one found in tomb raider/uncharted. I had thought of just having bounding boxes at all the climbable ...
27
votes
8answers
2k views

In-Game Tutorial Decisions

I'm working on a game with confusing mechanics such as energy storage and the coolant temperature. What is the best way to get a new player learned quickly? What are the pros and cons of different in-...
12
votes
4answers
20k views

Logic behind a bejeweled-like game

In a prototype I am doing, there is a minigame similar to bejeweled. Using a grid that is a 2d array (int[,]) how can I go about know when the user formed a match? I only care about horizontally and ...
-4
votes
1answer
101 views

Randomize Sprite moment Help needed [closed]

I am new to Android, I am developing a fighting game in Android with AndEngine. Now I want my enemies to mimic my player behavior and on base of score they should come up with different tactics. I ...
90
votes
12answers
57k 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 ...
-3
votes
2answers
306 views

Sources (other than tutorials) on Game Mechanics

But, I'm not quite sure where I should start from here. I know I have to go and grab an engine to use with some prebuilt libraries, and then from there learn how to actually code a game, etc. All I ...