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

0
votes
0answers
9 views

Witcher 3 save file question [on hold]

I have done the path of warriors quest xp glitch. Next to my save file is a wolf medallion picture, rather than a screen capture for the game. Is this normal? Should I be concerned? Not sure if ...
2
votes
0answers
40 views

Dialog/event system in Java/libGDX

I hope that I'm posting this correctly as I'm new to the site, feel free to correct me if I'm in the wrong spot. As for my issue: I'm working on an 2D side-scrolling platformer game in libGDX, and ...
0
votes
1answer
19 views

Approximating strength and hardness of alloys

I do not have any formal education in metallurgy, but I am trying to make a game mechanic based on it. I need to be able to alloy together different metals and alloyable materials such as carbon in ...
5
votes
2answers
205 views

How to create rope?

I'd like to re-create this game, but I have no idea how to create the rope, or its influences on the ball. Basically, there is a rope, "attached", at one end, to the mouse pointer, and at the other ...
3
votes
2answers
1k 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 ...
0
votes
2answers
95 views

Why does player still leave map?

I'm making a simple HTML5 RPG in pure JavaScript likened after Nox, Diablo or Titan Quest, with the character centered on the screen and the map moving around it. TL;DR: My character, when colliding ...
0
votes
1answer
31 views

I want to design a scoring system calculating coins, stars and lives, (50%/ 30% / 20% )

the player has to collect coins to clear levels. he has to collect stars to unlock collectibles. collection of coins lead to purchase of lives. Hence the importance to lives. (50, 30, 20)
1
vote
1answer
87 views

Daily quest system

I am creating a game for Android/iOS. The game has a server that communicates with my appengine database. I want to implement daily quests as motivation for the players to return every day, but I need ...
4
votes
1answer
119 views

How can I show slow motion?

In my very, very simple 2D game I'm working on, I'd like there to be moments of slo-mo. What is the best method of showing the player that the game is currently in slow-motion? As in, what is the ...
0
votes
1answer
12 views

Using Similar Mechanic Names For Attributes

I am working on a pen and paper game and I am wanting to use three core attributes that everything else is based off of. These three attributes being Physique, Skill and Will. However, if you're ...
3
votes
5answers
4k views

How do I come up with the game mechanics for a puzzle game?

I want to make a puzzle game, but I don't know how to start. I have observed that each puzzle game has a core mechanic that enables opportunity for numerous puzzles. I'm not sure how to think of ...
2
votes
1answer
40 views

Need help with making a journal system

My game uses a system similar to Metroid Prime's logbook, in that it logs things the player encounters and discovers on their journey, categorizing it, etc. I want to write out all of the possible ...
1
vote
0answers
22 views

How to add 3D Sprite on tmx file background using Cocos-2dx?

We have been working on sample game, wherein we want to show 3D sprite on .tmx file(background). But 3D sprite is never shown up, though we tried setting tileMap->setGlobalZOrder(-1). Following is ...
1
vote
2answers
418 views

Create a continuous flight path on a Bezier Curve in Unity3d

I am working on a game in which a butterfly is flying along some path. What I am trying to do currently is create a Bezier curve starting from the butterfly's position(previous curves end point) and ...
0
votes
2answers
267 views

How to make a gameobject Scale up from another GameObject script

hi there im having a rought time with this code, trying to make a gameobject grow in scale from touching this one, and when a set amount of scale is reached destroy this game object ( the one who ...
0
votes
1answer
119 views

Moving CCNode with constant speed in cocos2d

I want to move the object (CCNODE) with constant speed in any direction , what i have did till now is applied a force to object at start to get it moving and set elasticity as 1 and friction as 0 to ...
0
votes
0answers
26 views

Implement Special Effects triggered at certain moments in game

In my turn based RPG/Puzzle game I planned to have different Special effects, which enemies, weapons and armory can have. So for example an enemy can have a "poison" effect, which has a certain ...
2
votes
1answer
32 views

Detecting possible moves in a swap-match game

I've been coming up with ideas for how I would go about programming a Bejeweled-like minigame. After some deep thought, I've managed to figure out how to detect matches (including special bonus cases ...
0
votes
1answer
43 views

What is the best way to manage 'state' in Phaser?

I have heard that this is not the best way to manage state in phaser var game = new Phaser.Game(800, 600, Phaser.CANVAS,'YourGameName'); game.state.add("Boot", Boot); game.state.add("Preload", ...
0
votes
1answer
79 views

is there a formula to know how many enemies i can place before jumping character?

My game is very similar to the hidden game in chromes web browser. I have a character that needs to jump over incoming enemies. Is there any way i can know when to send an incoming enemy? Some of the ...
75
votes
12answers
41k 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 ...
5
votes
2answers
2k views

Implementing strafe jumping

As a Defrag player, I would like to add advanced movements to my (simple) game, in particular strafe jumping. I currently have basic fps movements (WASD and free look to be clear), but how can I add ...
0
votes
1answer
36 views

How to use custom font in Phaser ?

I am trying to load webfont in Phaser, I have seen the Phaser example but I cant understand, what asset do I need,what function I have to call....,what exactly look like the javascript file?. I am new ...
2
votes
2answers
117 views

How to randomly spawn obstacles for infinite runner?

I am trying to create randomly generated path properly? Think of flappy bird (its not really) but my code/algorithm is all wrong. If I make BarMax, BarMin too large, then player can cheat cos in ...
1
vote
2answers
65 views

How can i handle collision response in a voxel game?

I'm making a voxel game with cubes - like in minecraft - and I have figured out how to check wether the player is colliding with a voxel, I have just done it by checking wether the player is within a ...
0
votes
3answers
118 views

Procedural generation of stars in the background with given random seed

I want to generate stars (actually a 2d vector) in the background. The player is moving left and right endlessly. When the player moves the stars, which aren't in sight anymore, should be deleted from ...
0
votes
1answer
59 views

MMO - Boss Action Distribution

I was considering how MMO mechanics work and especially how NPC/mob decisions are calculated and distributed among players. Say for example that you have a team of 5 fighting a boss. The boss's ...
-1
votes
1answer
27 views

How to calculate coordinates of ball when collided with a wall?

I'm developing a game like bubble shooter and need to implement bounce of ball off the vertical wall. I have the following inputs: Starting position of bubble: {left: 382, right: 378} Firing angle ...
0
votes
1answer
27 views

Diagonal Movement with Pygame Rect Class

I have been using pygame and have been struggling to understand how to implement vectors and the pygame rect class to make an image move diagonally on the screen at the correct speed.I know it must be ...
1
vote
1answer
110 views

How not to show ads to paid customers when I decided to make it free?

I am planning to publish a paid game built with Unity. After a while I will update the game as free and will start showing ads. But I do not want my first paid customers to see the ads after ...
0
votes
0answers
45 views

How can L-system detect intersections between two lines [duplicate]

I'm trying to create a Procedural Road system using L-system, but I have no idea that how can I detect is there intersection between two lines in L-system, I can use a for loop to check one line ...
1
vote
0answers
32 views

Weapon index sets index values to the same

i've got a question about my unreal blueprints. I've been trying to get this right for almost a month now, but i don't know how to fix this. These are my are down below and a small video to explain my ...
7
votes
2answers
600 views

What is a game mechanic?

I am trying to understand exactly what defines a game mechanic, and whether it is the same as a gameplay mechanic. There are many different sources online that try to define this but they appear to be ...
0
votes
0answers
26 views

2d Platformer Player with set of Items [duplicate]

I need some help on what is the easiest way to implement this feature. I had created a 2d platform game. the main character has a sword. so I had some set of frames for its animation. currently I need ...
7
votes
3answers
968 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 ...
9
votes
3answers
1k views

What's the economical design difference for a global auction house or seperate auction traders?

I'm playing The Elder Scrolls: Tamriel Unlimited and there we have local auction houses. (Thy don't have auctions, but I keep the term to not get confused in the following text.) I can see the ...
1
vote
3answers
101 views

Story game loop [closed]

I have been playing story based games such as lifeline or choice of games. I was wondering what game loop best describes what's happening logically? As when mauling over it myself in my head I am ...
4
votes
3answers
513 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, ...
0
votes
1answer
64 views

Restricting my horizontal slash attack

I've been working on making this slash attack for my character in the unity engine. The whole point to this script is to put the damage range in sync with the slashing animation. The slash is ...
3
votes
2answers
145 views

Algorithm for a smooth weather transitions in game weather system

I've been slowly learning c++ and building up a codebase intending to create a simple first person role playing game. I've coded a time management tool to track time elapsed in game, an inventory and ...
3
votes
1answer
166 views

Branching quest system

I've started working in a quest system for my game, but I stumble in a zone where I have to many, if/else conditions to handle a quest, whether you have X and Y item in your inventory, whether you ...
7
votes
1answer
246 views

How can I predict player-to-projectile collisions in Box2D?

I'm making a real time shooting game with Box2D as the physics engine. The gameplay is mostly about trajectory, like Angry Birds. I want to make a slow motion effect and move camera to the player when ...
8
votes
4answers
594 views

Skill vs. Luck, the ratio and its measurement

Gamer buddies, is there a term to describe the level of variance in a game, in comparison to luck. The card game war would have 0 skill and 1.0 luck because the player cannot affect the game. I can't ...
0
votes
2answers
301 views

Moving a character depending on the direction he is facing (C#/Unity3D)

Right now I have a small soldier on the screen that moves with W, A, S, D and rotates / changes direction with the arrow keys. What I want to happen is when the player's direction changes (by using ...
2
votes
0answers
71 views

Progression in a Sandbox Game (to xp or not to xp) [closed]

I'd like to know the strengths and weaknesses of different progression methods through a game (or a part of a game), where they're suited best, and where they should never appear. I have several ...
1
vote
2answers
242 views

What are some methods which can be applied to make arcade-highscore games fun/interesting? [closed]

Consider an arcade game where you shoot falling objects and the goal is to beat the high-score. What are some methods you can apply to such games to make the player feel it is fun and wants to play ...
0
votes
1answer
66 views

memorizing button tap code iOS game

I'm using a single view app in Xcode 6.1 for my game with Storyboards. Not unity or sprite kit. It's a small game not even 3MB. Anyways, I created un-lockable characters with a BOOLEAN. ...
0
votes
2answers
72 views

Is there any easy way to understand the Alpha Beta for Othello?

I'm stuck with coding the Alpha Beta algorithm for a console-based game I'm developping at the moment. I tried to understand how it works for a week but still no idea how to get started with it. Here ...
1
vote
3answers
151 views

Modeling player mechanics with a finite state machine

I have three states standing walking jumping When I press D standing transitions to walking. The velocity will be set to a defined value and the player moves. When I release D walking transitions ...
0
votes
1answer
36 views

How, if possible, do you add loop cuts to models in real time?

I am working on a prototype for a very low poly game. I can't figure out a way for a player to cut or break objects in real time without predefined fractures. For example, if a player cuts a tree, it ...