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

2
votes
4answers
890 views

Detecting long held keys on keyboard

I just want to ask if can I check for "KEY"(keyboard) that is HOLD/PRESSED for a long time, because I am to create a clone of breakout with air hockey for 2 different human players. Here's the ...
0
votes
1answer
176 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 ...
0
votes
3answers
1k 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 ...
6
votes
4answers
513 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 ...
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 ...
0
votes
1answer
161 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
834 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
499 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 ...
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 ...
1
vote
1answer
959 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 ...
17
votes
4answers
6k 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
428 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
388 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
2k 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 ...
6
votes
2answers
910 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
641 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
2k 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
2k 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
552 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
2k 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 ...
2
votes
1answer
989 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
936 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
137 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
886 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
184 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 ...
4
votes
3answers
995 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 ...
4
votes
2answers
457 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
225 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, ...
-2
votes
1answer
2k 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
363 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 = [ ...
6
votes
2answers
2k 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
272 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
367 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
357 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 ...
1
vote
2answers
349 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
469 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
354 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
158 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
1k 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
445 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
348 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
509 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
660 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 = ...
0
votes
2answers
437 views

Calculating an experience formula

I'm having trouble working out a formula using this experience curve to get the total exp after each level. I bet its easy and im just over thinking it. maxlvl = 10; increment = 28; baseexp = 100; ...
0
votes
1answer
2k views

How can I Implement KeyListeners/ActionListeners into the JFrame?

I'll get to the point: I have a player in my game that you control with the keyboard yet the key methods in the player class and ActionListener w/ KeyAdapter in the Board class don't seem to fire. ...
3
votes
4answers
623 views

Alternatives to a leveling system

I'm currently designing a rough prototype of a mecha fighting game. These are the basics I came up with: Multiplayer (matchmaking for up to 10 people, for now) Browser based (HTML5) 2D ...
4
votes
4answers
1k views

C++ Game engine time scale

i have begun creating a very simple game engine and i am trying to work out how to create a time scale for the game.by time scale i mean some way of increasing and decreasing the speed of the game(not ...
1
vote
2answers
358 views

improve Collision detection memory usage (blocks with bullets)

i am making a action platform 2D game, something like Megaman. I am using XNA to make it. already made player phisics,collisions, bullets, enemies and AIs, map editor, scorolling X Y camera (about 75% ...
19
votes
5answers
1k 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, ...
1
vote
1answer
738 views

Pathfinding using nodes/waypoints without connecting them?

I've been doing some research on pathfinding lately because I want to code a game modification for a game (won't say which exactly) and what I've done is defined a huge list of 3D vectors where a ...