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

35
votes
6answers
5k 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." ...
67
votes
11answers
25k 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 ...
8
votes
2answers
4k 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 ...
12
votes
1answer
1k 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 ...
5
votes
3answers
4k 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: ...
88
votes
9answers
4k 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 ...
28
votes
7answers
10k views

How does pathfinding in RTS games work?

[crossposted from stackoverflow] In a game such as Warcraft 3 or Age of Empires, the ways that an AI opponent can move about the map seem almost limitless. The maps are huge and the position of other ...
19
votes
4answers
3k 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 ...
12
votes
4answers
2k views

Programming the combat sequence in a role playing game

I'm trying to write a short "game" where a player goes around and fights monsters but I have no idea how to handle the combat. For example, say I have a "Warrior" and a "Troll". How do the two fight ...
11
votes
3answers
2k views

How to implement buffs / debuffs / temporary stat changes in an RPG? [duplicate]

Possible Duplicate: What’s a way to implement a flexible buff/debuff system? In the context of creating an engine for a RPG I want to implement a generic way to give effects / buffs / ...
5
votes
1answer
748 views

How to balance experience gain in an RPG

I am currently developing an RPG game with a classic experience-points and levelup mechanic. The player kills monsters, gains experience points, levels up when they collect enough and become stronger. ...
7
votes
2answers
2k views

What do you use to support multiplayer turn-based network game for iOS and Android games?

If I'm doing a turn-based card game, what kind of technique do you use to support multiplayer gameplay over Internet? Is it socket? If it's socket, which SDK (CoronaSDK etc.) can provide solid ...
11
votes
4answers
13k 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 ...
10
votes
2answers
407 views

Showing range on hexagonal grid

Here is the situation. I have hexagonal board,and a unit on it,with speed or move value 4.Diffrent terrain has a diffrent cost.When i click on the unit,game should show me a move range. My solution ...
6
votes
2answers
658 views

Designing AI in a 1 on 1 battle similar to Pokemon

I am designing a game where the battle system is similar to Pokemon. That is, a 1 on 1 battle with only a few (4-6) moves to choose from. As the game is taking shape, I'm starting to think about some ...
6
votes
2answers
2k 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 ...
4
votes
2answers
2k views

How to make a scrolling background

I'm making a Shooter game like "1943" and "Jamestown". I am Using Visual Basic 2010. I was wondering how I would make the background scroll up to simulate moving forward. I would also like it to ...
3
votes
1answer
236 views

Verify which bubble is connected to top using DFS

I am working on a bubble shooter game in this game i have implemented searching using DFS as suggested in this link, and this is working fine. Update Here is my code for DFS ...
8
votes
3answers
443 views

Intellectual rights to game concepts

For a client I might be making a small puzzle game about getting a item out of a puzzle. The concept will strongly resemble this game : ...
7
votes
1answer
631 views

How To Approach 360 Degree Snake

I've recently gotten into XNA and must say I love it. As sort of a hello world game I decided to create the classic game "Snake". The 90 degree version was very simple and easy to implement. But as I ...
16
votes
4answers
5k views

A list of game mechanics

I'm trying to compile a list of game mechanics, by which I mean high-level/meta game mechanics like Cooperation, Resource Management, Chance and Time Manipulation rather than low level mechanics like ...
14
votes
3answers
914 views

Peer-to-peer hostless competitive games of chance?

I'm wondering - have any games been ever created that are: peer-to-peer without one peer being designated as host competitive (not cooperative, players play against one another) provably fair (there ...
25
votes
20answers
2k views

Are there many games involving the manipulation of water?

I'm in the very, very early brainstorming stages of a game which centers around the manipulation of water and the terrain around it. (i.e., changing the water's state between solid, liquid, gas; ...
25
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 ...
19
votes
4answers
4k views

Best strategy (tried and tested) for using Box2D in a real-time multiplayer game?

I am currently tackling real-time multiplayer physics updates for a game engine I am writing. My question is how best to use Box2D for networked physics. If I run the simulation on the server, should ...
20
votes
5answers
2k 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 ...
3
votes
2answers
250 views

How to implement special weapon and armor effects (ex: vampiric, holy, damage shield, thorns)?

I'm working on the inventory system for my game, and am interested in how do I implement additional weapon and armor properties that are not just damage or armor? If all I have is damage and armor, ...
15
votes
5answers
954 views

Game actions that take multiple frames to complete

I've never really done much game programming before, pretty straightforward question. Imagine I'm building a Tetris game, with the main loop looking something like this. for every frame handle ...
10
votes
6answers
3k views

How do I ensure an appropriate payout ratio for a slot machine?

I have done a lot of research into random number generators for slot machines, reel stop calculations and how to physically give the user a good chance on winning. What I can't figure out is how to ...
0
votes
5answers
1k 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 ...
9
votes
3answers
489 views

How to add a sound that an enemy AI can hear?

Given: a 2D top down game Tiles are stored just in a 2D array Every tile has a property - dampen (so bricks might be -50db, air might be -1) From this I want to add it so a sound is generated at ...
8
votes
2answers
5k views

How do I render terrain in a 2.5D perspective, like in the game Don't Starve?

I have experience in making 2D side scroller games such as Terraria, but now I want to challenge myself and make a game that has a 2.5D perspective. The game I am trying to mimic is Don't Starve. ...
6
votes
3answers
471 views

Building an instance system

I am looking into how to design an instance system for the game I am working on. I have always wondered how these are created in games like World of Warcraft, with its instances (dungeons/raids/etc). ...
4
votes
1answer
356 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 ...
1
vote
1answer
2k views

Which all are the best Android 2D Java based gaming libraries / frameworks? [duplicate]

Possible Duplicate: Are there any 2D gaming libraries/frameworks/engines for Android? Which all are the best and top using open source java 2D Gaming libraries for Android?I had already ...
7
votes
2answers
4k views

Word list for use in commercial game

I need a word list to use in a commercial game (even though the game will be free to download) Something like this http://www.puzzlers.org/pub/wordlists/ospd.txt Would be perfect (needs to be ...
5
votes
3answers
205 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 ...
2
votes
5answers
2k views

Are there any good html 5 mmo design tutorials? [closed]

Hey all. I got a rather inspired after playing gaia online's zOMG and wanted to revive an old project idea I've had laying around for a few years now. I'm looking to work with html5 (ie canvas, svg ...
10
votes
2answers
522 views

How do I make good guy attacks only hit bad guys and vice versa?

My game has many different type of good guys and many different type of bad guys. They will all be firing projectiles at each other but I don't want any accidental collateral damage to occur for ...
6
votes
1answer
634 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 ...
4
votes
3answers
1k views

Bubble shooter falling algorithm

To complete this question about the same color search algorithm, I would like to know if someone knows which is the best implementation for making other bubbles fall when they are no longer attached. ...
2
votes
1answer
347 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 ...
0
votes
1answer
437 views

Handling game states like Braid's timeshift or Shooter's Killcam

me as very unexperienced game developer, I wondered how I could achieve something like re-winding the time in my game or jump back to a special moment (killcam) and replay it for the user.
-1
votes
2answers
174 views

What is a Game Engine? [duplicate]

I am new to Game Development, All I have developed is some 2d Games, using Game Maker by YoYo Games. There game development is much more easy, just as simple as Drag and Drop. But, Now I wish to ...
6
votes
2answers
870 views

android multitouch problem

Im aware that there a a couple of posts on this matter, but Ive tried all of them and none of them gets rid of my problem. Im starting to get close to the end of my game so I bought a cabel to try it ...
3
votes
1answer
552 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
1answer
186 views

Setting a displacement or offset between Snake segements

I have a problem in maths or I do not know. I have drawn few circles that simulates the body of a snake, the head of the snake moves and others should follow. but the is no offset or displacement ...
1
vote
1answer
320 views

The right way to start out in game development/design [closed]

Greetings everyone I'm a 19 year old student looking for some help in the field of game development. This question may or may not seem a bit overused, but the fact is that game development has been ...
1
vote
2answers
200 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, ...
-3
votes
1answer
349 views

Populating Sprites

I am making a android game, it's a tower/base defense like type of game (yea I know it is kind of confusing), I was wondering if anyone knows a good way to have the attacking sprites randomly generate ...