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

4
votes
1answer
414 views

How to balance a ball on a rotating plane?

I'm doing some research and I really don't want a physics engine when a simple mechanism will do. I have a ball that will be balanced on a plane. The ball will always be "stuck" to the plane and ...
-3
votes
1answer
369 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 ...
11
votes
1answer
1k views

Moving an Object along a Curve while Rotating it

I woud like to move an object along a curve. At particular points on the curve, I wish the object to change speed and rotate itself along its axis. Imagine an airplane flying to a destination. It has ...
11
votes
5answers
900 views

Do any games have this type of mechanic?

This question got closed on gaming SE as off topic. I hope it's on topic here. Many years ago, a friend and I prototyped a simple 2d rpg with what we thought was a unique idea for the combat ...
6
votes
1answer
353 views

Literature about Open World Games, Freedom to Choose

I'm doing a diploma thesis about the development of games with freedom to choose or open world. Topics will be i.e. development issues in programming and the design itself, mechanics etc. For that I ...
9
votes
7answers
3k views

Other games that employ mechanics like the game “Diplomacy”

I'm doing a little bit of research and I'm hoping you can help me track down any games, other than Diplomacy (online version here), that employ all or some of the mechanics in Diplomacy (rules, short ...
6
votes
2answers
398 views

Are there any good articles that layout the evolution of game development techniques?

I'm just getting into coding up some 3d rendering apps and I'm considering taking the jump into interactivity. While developing I've learned about Euler angles, gimbal lock, quaternions, frustum, ...
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 ...
4
votes
3answers
139 views

Need a better function for transportation efficiency

I'm making an economic kind of game, and one of the things I'm simulating is the transportation of resources to a central depository, e.g. moving metal from a mine to the city (so it can be turned ...
1
vote
1answer
146 views

Degrees to Coordinates

Hey, I'm creating my second game ever, but this time - using Java. Before I used Pascal and CRT module! =D It's 2D game where you need to drag the ball with mouse from location A to location B. Right ...
6
votes
2answers
548 views

How to store 'dots and boxes' data?

I'm trying to explore a little as to how I could make a simple 'dots and boxes' game. The problem I'm facing is in what way to store which lines are allocated by who. The problem lies in the fact ...
6
votes
8answers
430 views

Is it useful to monitor framerate over the course of an arbitrary (but long) period of time?

How useful is it to keep a measurement of framerate over the course of long times (such as an hour) spanning multiple scenes/data environments? I've had plenty of times where data throttling/pushing ...
11
votes
1answer
403 views

Why has it become commonplace for NPCs to have one weapon per class instead of variants?

For instance, in Half-Life 2 you have Civil Protection, Combine Soldier and Combine Elite. Each class has a weapon. Is there a shift away from this at all, where the NPCs are matched with the player ...
1
vote
2answers
971 views

Game Maker not recognizing variable

Attempting to set up a targeting array for a MMO-style game in GameMaker8 Pro, I have this code in the create event for the player's character, which is and has been running perfectly fine: j = 0 i = ...
5
votes
1answer
367 views

Realistic damage

I'm looking for a good way to simulate damage, for example a weapon firing at a ship it would calculate the damage depending on layer type, weapon type, angle and similar what i need is a way to to ...
6
votes
1answer
404 views

What should “own” the battle state in combat between the player and NPCs?

I have a Map, a Tile, NPCs and the Player. When a player enters a tile in the map, a moveTo event is fired, which calls for any NPCs associated with that tile to be "activated". Those NPCs may be ...
7
votes
2answers
3k 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 ...
1
vote
1answer
242 views

Developing internet sweepstake games

I have absolutely no idea about game developing but want to know following things about internet sweepstake games: Click on demo and play any of the game. What technology (programming language) is ...
8
votes
5answers
662 views

Do you think it's Possible to go from C++ Straight to 3D (skipping 2D)

Do you think it's possible to go straight from Experienced C++ programming (5 or so years) straight into learning DirectX 3d? I mean....i'd be starting with the basics, im more interested in setting ...
1
vote
1answer
361 views

Theoretic question about rendering in sfml and in general

I have read whole tutorial section on sfml-dev.org and have some question. What are exactly views and how to use them ? Should I render things in views or in renderwindow ?
1
vote
2answers
276 views

Traffic estimation for a multiplayer flash game

hey, i want to know if my rough traffic estimations are right, it would be for a pretty simple realtime flashgame in the style of haxball (but not as a soccer game) heres a video of it ...
10
votes
4answers
956 views

Game mechanics patterns database? [closed]

Do you know http://tvtropes.org ? It's a kind of wiki/database with scenaristic tropes, patterns that you can find in tones of stories, in tv shows, games, books, etc. Each trope/pattern have a ...
8
votes
5answers
453 views

Building (simple) stellar systems

I'm currently looking at how to easily simulate some stellar systems (meaning some central stars and then some planets with maybe satellites), in order to allow later some space based strategy game ...
10
votes
6answers
4k 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 ...
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 ...
1
vote
1answer
623 views

Tetris Movement - Implementation

I'm developing a Tetris clone and working on the input at the moment. When I was prototyping, movement was triggered by releasing a directional key. However, in most Tetris games I've played the ...
6
votes
3answers
511 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). ...
7
votes
5answers
1k views

Turn-Based RPG Battle Instance Layout For Larger Groups

What a title, eh? I'm currently designing a videogame; a turn-based RPG like Final Fantasy (because everybody knows Final Fantasy). It's a 2D sprite game. These are my ideas for combat: The player ...
17
votes
5answers
1k 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 ...
3
votes
6answers
2k views

Character Stats and Power

I'm making an RPG game system and I'm having a hard time deciding on doing detailed or abstract character statistics. These statistics define the character's natural - not learned - abilities. For ...
3
votes
4answers
432 views

Time/duration handling in strategic game

I'm considering developing a space opera game, having already done some game design. Technically, though, I'm coming from a business applications background. Hence I don't really know how I should ...
19
votes
5answers
2k views

Reasons to disable game save during combat (e.g. Mass Effect 2)

So I've been playing Mass Effect 2 (PC) and one of the things I've noticed is that you can only save your game when you're not engaged in combat. As soon as the first enemy shows up on your radar, ...
7
votes
4answers
610 views

Recursive dungeon maps as represented by an elastic 2d array

I came up with a method for recursively generating simple dungeon maps by starting with one room and recursively connecting new adjacent rooms randomly to it. Maps are represented as two dimensional ...
6
votes
5answers
4k views

How to implement zombie AI?

We need to make a zombie videogame for a semester project and I was wondering about what are considered nice algorithms/techniques for implementing zombie AI that don't take too long to implement. ...
-2
votes
8answers
867 views

Where is a good place to learn how to develop games? [closed]

I'm brazilian and I want to learn how to develop a game in some college or something like that, but I don't know any place here to learn it. Here is not that good either to develop games, as we don't ...
2
votes
1answer
258 views

Where can I find a list of gameplays?

Long ago I found a website with a huge list of different gameplays; around 250 or so. I wanted to go back but right now I cannot find it (I've already spent some time on Google, believe me). The site ...
2
votes
1answer
190 views

Counting point for a recursive domino-like game: Carcassone

I have to build a 2D version of this game: http://en.wikipedia.org/wiki/Carcassonne_(board_game) counting scores for Towns and Roads seems easy enough (but I'm not sure), but for Lands I feel I ...
19
votes
4answers
5k views

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

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 ...
5
votes
1answer
1k views

Successful Elements to a 4X Game

4X games (That is, Xpand, Xplore, Xploit and Xterminate) like Civilization, Sins of a Solar Empire, and other top Strategy games, all seem to have the same addictive hook. I'd like to know what ...
1
vote
3answers
657 views

Is there an approach in creating an AI Framework?

I am creating a board game using Actionscript 3.0. I've finished it to the point of the game playable with (computer players making random decision). I'm now working to create an AI framework/module ( ...
6
votes
4answers
730 views

Developing interesting game mechanics when not an avid gamer

I've realized that though I like playing videogames, I find it much more entertaining to actually make them. This makes me wonder, if I'm planning to develop an [X]* game, do I need to be an avid [X] ...
2
votes
2answers
196 views

Can't figure get the conversion from cartesian to spherical(“polar”) correctly for my orbiting camera

The two angles from the polar coordinate system are defined as hRotation and vRotation This is how they are converted from polar to cartesian: // Get the distance between the object and the ...
4
votes
5answers
1k views

How should I plan RPG battle mechanics?

I'm working on two RPG battle mechanic ideas. I haven't chosen a game engine yet. Before starting to write code, how should I plan their details? Should I draw and write on paper? Should I write a ...
0
votes
3answers
471 views

Is there a leveling guide somewhere?

I am designing a simple game and am looking for some help designing different level/ranks. For instance, starting from "Novice" to "Intermediate" to "Master". Is there are repository somewhere that ...
26
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; ...
9
votes
6answers
673 views

Designing rules to fight smallpox in Civ-style TBS games

TL;DR: How do you design a ruleset for a Civ-style TBS game that prevents city smallpox from being a profitable or viable strategy? Long version: Civ-style games are pretty great. Bringing a ...
3
votes
1answer
2k views

Mental Image of the engine behind an RTS like SimCity/Settlers, what is it?

Disclaimer: I'm first a programmer and then an RTS gamer. This means I'm a complete and utter newb in terms of patterns, best practices and glossary of technical terms on the game dev world. Since I ...
14
votes
2answers
1k views

Elevation model for hexagonal game grids

TL;DR: Where should elevation be anchored on a civ-style hexagonal grid? Center, side or vertex? (Or more complex?) Question proper: Consider for a moment a classic game we all know and love ...
33
votes
7answers
13k 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 ...
1
vote
1answer
670 views

Game Programming [closed]

Are there any major/fundamental concepts that one should know about game programming versus control driven programming? Game Programming is event based? with a timer? An outer-infinite loop? I come ...