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

-6
votes
1answer
165 views

Making A C++ Game [closed]

I'm gonna make a game and I think C++ would be perfect for it. I think I'm gonna use SDL and OpenGL but I need help with making the code manageable. These were my ideas: 1. Making A DLL File With ...
0
votes
1answer
145 views

jBullet Collision/Physics not working as expected

Below is the code for one of my objects in the game I am creating (yes although this is a cube, I am not making anything remotely like MineCraft), and my issue is I while the cube will display and is ...
7
votes
3answers
435 views

How was 20Q made?

Ever since I was a kid, I've wondered how they made the 20Q electronic game. In this game, which is it's on device, you think of an object, thing, or animal (e.g. a potato or a donkey), once you ...
0
votes
3answers
535 views

How do you make bullets move at an angle in different angles using delta

I'm having trouble making my bullets move at a steady pace using delta. I have the formula I used outside of slick2d, but it doesn't take delta into account. My bullets fly fast. How do I make them go ...
0
votes
3answers
341 views

Can these game be fully coded in html5/javascript?

I mean the mechanics of the game. Would it be possible? -Pokemon GBA series, rendering the world would be easy, but what about battle mechanics? -MapleStory, after seen dragonbound.net which is an ...
6
votes
4answers
416 views

In a casual top-down racing game, should collisions affect the car's engine? [closed]

Is there a way to deter players from colliding with obstacles in a top-down casual racer which keeping the game fun and lighthearted and yet make player's skill matter? Should collisions affect car ...
4
votes
2answers
1k 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 ...
0
votes
1answer
147 views

two-part dice pool mechanic [closed]

I'm working on a dice mechanic/resolution system based on the Ghost/Echo (hereafter shortened to G/E) tabletop RPG. Specifically, since G/E can be a little harsh dealing with consequences and failure, ...
1
vote
1answer
348 views

openGL ES - change the render mode from RENDERMODE_WHEN_DIRTY to RENDERMODE_CONTINUOUSLY on touch [closed]

i want to change the rendermode from RENDERMODE_WHEN_DIRTY to RENDERMODE_CONTINUOUSLY when i touch the screen. WHAT i Need : Initially the object should be stationary. after touching the screen, it ...
3
votes
1answer
373 views

AI Game Programming : Bayesian Networks, how to make efficient?

We know that AI is one of the most important part of Game Programming. Bayesian networks is one of the core part of AI at Game Programming. Bayesian networks are graphs that compactly represent the ...
0
votes
2answers
510 views

Collision between sprites in game programming?

I've since just started coding for an android game using eclipse. I've read Beginning Android Game Programming and various other e-books. Recently, I've encountered a problem with collision between ...
5
votes
3answers
5k 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 ...
1
vote
1answer
989 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 ...
0
votes
1answer
522 views

Lag compensation of projectile shooting game

I'm thinking about an algorithm for firing projectiles with lag compensation. Now I did find only one descent solution: Player hits fire button. Client sends input "fire". Client waits for server ...
14
votes
4answers
4k 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 ...
6
votes
1answer
307 views

Action-oriented AI: evasion-algorithm takes much time

Evasion, the process of evading, is the opposite of chasing. Instead of trying to decrease the distance to the target we try to maximize it. It takes much time while evading multiple objects ...
-3
votes
1answer
247 views

Is there a market for a Text-based empire-building game? [closed]

I am working on building a text-based in-browser empire building game. The screen will be split into a console and an EXTREMELY rough vector map of your empire (just squares in a bigger square). ...
1
vote
1answer
638 views

Acceleration Based Player Movement

Ok, so I am making a first person shooter game and I am currently working on movement that looks and feels good. I want to incorporate acceleration based movement for the player so that he has to ...
5
votes
2answers
552 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 ...
8
votes
7answers
556 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 ...
0
votes
1answer
319 views

Platforming - Hanging off of cliffs and edges? [duplicate]

Possible Duplicate: Programming a climbing system like tomb raider I've been interested in platforming gameplay dynamics for a while now. What I'm trying to ask is how games like Assassin's ...
1
vote
1answer
800 views

What game design/game theory resources should I watch for a “TCG-like” game?

Me and my friend are building a "simple" trading card game - in the beginning we would have 20 cards and two resources, mana and health. This, along with a working multi-player is the minimum viable ...
-4
votes
2answers
356 views

Programming real time combat [closed]

I am programming a lot of turn based game, all text, but how do you program real time combat in games, like an rts, or a shooter, where everything is not input based
0
votes
2answers
1k views

c++ opengl sdl game engine tutorial

I have a decent knowledge of sdl,opengl and fmod. i am looking for a recent tutorial or book on the basic of making a game engine. Most of the book and tutorial i found are using old dead library like ...
1
vote
1answer
448 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 ...
2
votes
1answer
618 views

Android 2D game, shooting and getting animation to stop

I'm developing a game as a learning-process, and since everything I do is new to me, I have alot of problems, usually I can fix it myself but right now I'm stuck and need help. Link to a recording of ...
2
votes
3answers
121 views

Victory rewards in digital CCG

I am currently polishing a digital CCG where people can play against friend and random opponents in a classical Magic the Gathering-like duel CCG. I plan to award the players with 20 ingame currency ...
2
votes
3answers
608 views

RPG combat and gold/exp reward equations

I have a game that I'm creating, but I'm running across issues in keeping the ratios between high and low level players similar in the battle and reward equations. Obviously a higher level player ...
2
votes
2answers
136 views

Improving the monster tamer battle mechanics: 2 choices

I'm developing a new monster taming/hunting game and I wanted to make some changes to the battle mechanics. Which would you find more fun and can you offer any suggestions to improve on what I've ...
5
votes
6answers
359 views

Low dexterity game development

I am tasked with developing a game for kids with low dexterity (as a college project). I am stuck trying to find examples of similar games to generate ideas about game play and overall function. The ...
3
votes
3answers
529 views

Interpolate and collisions

Lets take the simple example of a ball bouncing off a wall. The physics is separated from the display. The physics is set to run at say 20 frames per second and the display is running faster than this ...
3
votes
2answers
385 views

Does a basic game engine prototyping tool exist, for common game types?

There are a lot of classic game engines out there (Real Time Strategy, Turn Based, etc), of which you can find countless variations. All of them have a basic starting point which involves units, ...
4
votes
1answer
144 views

How to balance damage dealt by opponents in a strategy game?

Consider the following situation: you are developing a RTS, with different races opposing each other, with different kinds of abilities (e.g. Starcraft). How should I go about in balancing the damage, ...
-3
votes
1answer
572 views

What is the MTV (Minimum Translation Vector) in SAT (Seperation of axis)?

What is the MTV (Minimum Translation Vector) in SAT (Seperation of axis)? and how can i use it? Im trying to create my first game, where a ball can hit a a static brick (rectangle). Now if a ball ...
1
vote
2answers
215 views

Separation of axis theorem implementation

I have been following the this guide to implement this. My current implementation is the following: class SAT { SAT(); bool collides(Rectangle rect1, Rectangle rect2){ var axises = [ ...
5
votes
2answers
961 views

Collision detection between circle and rectangle in 2D

In a game im developing in 2D, im have one or more circles (balls) that can collide with several rectangles (bricks). Im trying to figure out a collision detection strategy, and have come up with ...
4
votes
2answers
212 views

How to do simultaneous action without it being real time?

This is really a pacing question, but there's no tag for that: The general concept is that the players are working in a team and need to be able to react to eachother's movement and observations as ...
1
vote
2answers
265 views

Simplified trajectory equation to identify Time Taken(t) by a protectile to travel Distance(d), under gravity?

I am building a game, where I have to plot a trajectory of a ball in 3D space, launched with an inital velocity Sx, Sy, Sz. [I am using OpenGL and Android-NDK] Lets assume Sz is always 0. And Sx ...
0
votes
1answer
238 views

How to get xy coordinates along a given path

Say i have two points (x,y), (0,0) and (10,10). Now i wan´t to get coordinates along the line by stepping through values of x and y. I thought i solved it with the following functions: fy = startY ...
9
votes
4answers
6k 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 ...
1
vote
2answers
216 views

How do I interpolate air drag with a variable time step?

So I have a little game which works with small steps, however those steps vary in time, so for example I sometimes have 10 Steps/second and then I have 20 Steps/second. This changes automatically ...
2
votes
2answers
375 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 ...
0
votes
1answer
261 views

Logic behind greedy Spider game?

What will be the best algorithm or logic that can be used for game like greedy spiders. As far as I can think it is based on A* algorithm ? Where the shortest path has to be a search between the ...
2
votes
2answers
139 views

Different methods of ammo resupply

I'm writing a small game at the moment. Presently, I have one or two design elements that aren't locked down yet, and I wanted to ask for input on one of these. For dramatic effect, the player's ...
3
votes
4answers
560 views

What are examples of games with “minimalist” models/art assets [closed]

When teaching game development, my student's obsess about building realistic or complex art/models/animation. And spending wayyy to much time trying to get accurate collision detection between two 3D ...
0
votes
1answer
399 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.
0
votes
1answer
215 views

Effectively implementing a game view using java

I am writing a 2d game in java. The game mechanics are similar to the Pokémon game boy advance series e.g. fire red, ruby, diamond and so on. I need a way to draw a huge map maybe 5000 by 5000 pixels ...
5
votes
3answers
419 views

Game programming course materials: What should it include?

I am tasked to create the course materials for a game programming class, and I’d like your opinion on what aspects and areas of game programming, such as game state management, game object storing or ...
0
votes
4answers
448 views

Turn-based tile game dynamic item/skill/command script files

I want to create a mechanism that could read text script, for example some kind of custom script such as ".skill" or ".item", which maybe contain some sort of simple script like .item Item.Name = ...
2
votes
0answers
175 views

Game Resource Generation

I am currently building a game that has a "City" entity. These cities generate and consume resources such as food variably over a period of time. I need to be able query the server often to find ...