Questions tagged [game-mechanics]

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.

Filter by
Sorted by
Tagged with
4
votes
4answers
351 views

Explicit difficulty selection without breaking the game flow

According to the flow theory, in short, if the challenge is too hard, from flow state the player will go into an anxiety state, and if the challenge is too easy, he will go into a boredom state. This ...
1
vote
0answers
37 views

Why is my player falling through the Tiled map?

I am gassed. I have this game due very very soon. I made my player so that it doesn't fall through or go through tiles from Tiled that have the property "blocked". I do not know why but it is not ...
0
votes
0answers
13 views

How do I make match 3 blockers bigger than a 1x1 cell?

How do I implement blockers in a match 3 game that are bigger than the normal 1x1 cell size? Here is a short example clip from the game Genies & Gems level 181. It shows a circle blocker of size ...
-3
votes
0answers
41 views

Gacha Summoning Event

I am interested in building a gacha summoning event and was wondering if anyone here knows how to do it or could recommend me some tutorials. I am aiming to do something like the Dragon Ball legends. ...
0
votes
1answer
78 views

What are known game mechanics to disallow player to become infinitely rich still keeping it fun to progress?

I want to make an online game with a leaderboard. A player should be able to gather tools/resources to continue exploring/harvesting. The problem I want to solve is that someone can find a way to ...
0
votes
0answers
14 views

most flexible way to implement a buff /debuff system for a RPG game [duplicate]

I'm making an RGP board game where I have different heros, each one of them belongs to some types for example ("Aatrox" is a Dragon and a Ninja hence he belong to these two types),and each player has ...
0
votes
0answers
14 views

Simple Orbital transfer and intercept equation

I'm working on a game which has a game board made up of objects orbiting the center of the board. You can think of it as our solar system, but greatly simplified in terms of physics. All objects ...
4
votes
4answers
234 views

What colour space or mixing algorithm should I use for “watercolor-like” colour mixing in-game?

I want to make a game where the player creates potions out of coloured ingredients, and I think the RGB or HSV colour spaces would be confusing for players expecting (red + yellow = orange, red + blue ...
1
vote
1answer
54 views

How to handle all the customization data for a Loot and Shooter?

Games like Borderlands, Fortnite, Destiny all have some sort of mechanic where your skills are modifiable by the equipment you carry. For example in Borderlands, you can equip a pistol with generic ...
0
votes
0answers
34 views

Concept design-pattern for industry simulation required

I am making a mobile game simulating industry. A brief high level description is below. A hub could be thought of as a base/city, within which there are rooms/buildings which determine what is ...
1
vote
3answers
188 views

WoW attack speed calculation

Reading up on attack speed calculations for World of Warcraft I noticed that the formula for attack speed is: Attack_speed = "current attack speed" / (("Percent increase or decrease" / 100) + 1 )...
0
votes
1answer
46 views

How to create a over world map with multiple sub maps

my game's idea is to use a open world map consisting of say 4096x4096 size, and multiple grids of 64x64 size. When I click on any grid, the map zooms in to show that grid(either creating in from ...
1
vote
2answers
50 views

Best way to do multiple choice in Unity 2D? [duplicate]

So I'm about to start development on a game in unity that is going to require multiple choice each choice having a some what unique function. I've thought of 2 ways of doing this but I'm unsure if ...
0
votes
4answers
174 views

What is the best way to implement the story functionality (dialogue and cutscene management, etc.) in an RPG?

I would like to know what the best way to implement the story functionality of an RPG would be. I am writing the game in C++ using the SFML library for graphics, and I have implemented drawing tiles, ...
0
votes
0answers
24 views

object position handling for multiplayer a game

I am creating a multiplayer HTML game which focuses on manipulating planet trajectories with gravity points. I am creating bunch of planets with random initial velocity and random direction and i am ...
1
vote
0answers
83 views

some questions about game development [closed]

I'm a web developer, I also love games, but I really don't know anything about game development. Recently I've decided to write an outline document about an idea. I've got a few questions to get me ...
0
votes
0answers
30 views

Manage weapon special gear enhancements (buff, life steal, fire DoT, slow enemies, etc)

I plan to develop an RPG, and I struggle with my weapon damage calculation. I'd like to be able to attach modifiers to swords, like life steal, damage buff, fire damage over time, make the enemies ...
1
vote
2answers
46 views

Moving an object to random points Unity3d c#

So here is the problem I want to change the position of gameObject to specific points that I declared with empty objects randomly but the problem is the moment the object reaches one of the points it ...
3
votes
2answers
96 views

Mimicking enemy boss movement of Wonderboy in Monster Land

I want to imitate the movement of the "Death" boss enemy in Wonderboy in Monster Land. At first, I thought it just moves with a sine wave, but it's not. The up and down movement is erratic. I ...
1
vote
1answer
83 views

How should I structure the layout and saving system of my game concept?

I am a huge fan of Minecraft and (to an extent) Terraria. I’ve always wanted to make my own version of that type of Creative sandbox game, and recently I’ve been thinking of so many things I could add ...
0
votes
3answers
70 views

How do I prevent players from flying too low in an infinite sky?

Let's say I have a game that allows the player completely free, open world flight, and the world itself is a bunch of floating islands. This creates some problems with flying too low, such as reaching ...
0
votes
0answers
32 views

Make suspension for Car using Matter.js

I'm attempting to recreate a Hill Climb Racing game through using matter.js. However, I'm stuck on the part of creating a realistic suspension using constraints. The main issue is that the constraint (...
0
votes
0answers
37 views

How can I store “charges” on a player persistently between game sessions

I've got an idea for a gamemode for a Garrysmod RP server but I don't know if it's realistic within Lua. I specifically want to make my script apply variables to a person when they shoot another ...
-1
votes
2answers
75 views

Problem making wave animation

I want to simple wave-like animation using mesh. I thought that it would look like a wave if there would be a point at the middle of the mesh and change z axis of that point, and after this I change ...
0
votes
0answers
67 views

Unity Making a parry system where weapons collide (For honor style)

I've always been fascinated by games like For Honor and the way that when you parry an attack the weapons collide. Because of this, I wanted to implement such a feature in my own game. However, I ...
2
votes
2answers
187 views

Engaging ways to include party members in a fast-paced action RPG

Imagine a dynamic action RPG, where you constantly need to use your reflex to avoid bullets and fight against hordes of enemies. What would be a best way to incorporate other team members? I can think ...
-1
votes
1answer
61 views

Return the success or failure of an event occurring with a given percentage C#

I'm working on a skill based system that does away with the concept of RNG despite player skill. Basically, my concept is this: A player's chance to make something is based on ...
0
votes
0answers
42 views

Emerald AI animal not fleeing

Hey guys I have set up a =n animal to be a cautions cowered but he stops instead of running away. I am using unity version 2018.3.11 with emerald AI 2.2. Here is how I have the scene set up : Emerald ...
1
vote
0answers
19 views

Android problem with onTouchEvent

I'm making some sort of clone for FlappyBird, but with some adjustments. I want to change from the FlappyBird's mechaninc of jumping to make the bird raise as long as the player is long-pressing the ...
1
vote
1answer
239 views

How to draw a diagonal sine wave line renderer

I'm trying to use a LineRenderer component to draw a sine wave from point A to B and I'm using mouse position. However what I did so far is not working as expected, ...
18
votes
5answers
7k views

How to address players struggling with simple controls?

I have an HTML game I built with Phaser 3, and I can't decide what to do with the controls. I've changed them several times, and now I feel like I've hit a sweet spot between usability and fun. ...
0
votes
1answer
90 views

Snake game steering with Java FX

I am currently trying to make a snake game with Java FX, I read several posts about it and I understand on theory how to move the snake body (for each part of the snake reference the previous one and ...
1
vote
0answers
105 views

C# 2D game collision detection huge problem

I'm making my first game using C# and Monogame and I have a huge problem with collision detection. The entire code is in a link below: My game code So, I use Vector2 to keep position and dimensions ...
4
votes
2answers
376 views

In tactical combat games, why does shooting end your turn?

I was wondering about this particular game mechanic in tactical combat games, like XCOM2, where you have two actions, which may be: move+move reload+move move+reload move+attack ...but not attack+...
-1
votes
1answer
89 views

Web based poker on Phaser 3

Please can somebody help me as I'm a lil bit new to game dev and user interface designing. I am trying to create a simple Texas holdem poker using phaser3 for multiplayer application. I have a few ...
3
votes
3answers
148 views

How to make obstacles spawn randomly but still leave a way for player to pass?

I'm trying to make a game like Crossy Road: In this game, you control the character(the frog in this case) to go across the streets, and you have to prevent your character from being hit by a car. ...
0
votes
0answers
40 views

Unity 2d Player Glow like on off

I want my player to glow like in a loop of on and off for light it emitting and when he touches certain material with different light it should glow with that color
31
votes
7answers
13k views

Why do games have consumables?

Thinking along the lines of this question, and the too awesome to use trope in general. Why do game designers want to include consumable items in their games? Mortal Kombat 11 got me thinking... ...
2
votes
3answers
349 views

Magic Number Difficulty Balancing

So I've been working on my game for roughly two years now and although it's significantly more balanced than it was a year ago, I still feel like it's too easy, or rather, doesn't really have any sort ...
2
votes
0answers
104 views

How can I implement slow motion for one player in multiplayer?

Special attacks in Mortal Kombat Mobile require slow motion i.e. delay in game play. On multiplayer mode, when the opponent uses special attacks, I don't observe any lag/delay. When I use special ...
0
votes
3answers
58 views

OnCollisionEnter calls rapidly

...
15
votes
8answers
3k views

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

I'm working on a turn-based RPG with classes. I want one of the spellcaster classes to have standard magic points, but another to have abilities with time limitations, one or more of Use ability ...
0
votes
0answers
40 views

Weapon Reloading Bug

I'm developing a top-down shooter in Java with Slick2D, and I've been ignoring this bug for a while because I'm not sure what causes it. I have numerous weapons that you can buy from the shop and ...
0
votes
0answers
63 views

Help to Code Bowling Like Feature in Unity for Mobile

I need Code or Guidelines for Touch Feature. When We Drag ball back and Send it Forward. I am Making feature like bowling, and I need Player to add force while dragging back and also curve the path of ...
3
votes
3answers
235 views

Are delayed abilities bad in turn-based strategy games? [closed]

In my PvP turn-based strategy, one of the balancing mechanisms for separating stronger from weaker abilities is their "delay", which is the number of turns it will take to actually execute that ...
0
votes
1answer
236 views

How do I wait till an animation is finished?

I am currently working on a Warfare 1917 like game. Right now I am trying to get the combat system working. I have made animations for a running and shooting soldier. It takes exactly 0.5 seconds till ...
19
votes
13answers
6k views

How to make healing in an exploration game interesting

I'm creating a game with a heavy focus on exploration, though I'm at a bit of a loss for healing. The problem is that I don't like the idea of enemies randomly dropping health, as this usually ...
64
votes
12answers
9k views

Having the player face themselves after the mid-game

I am writing a game, in the vein of a jRPG, in which you begin playing as the main villain. You don't know it. You think you are playing the hero and the more successful you are and the stronger you ...
1
vote
1answer
132 views

How do I make a gun alignment to camera matrix in OpenGL GLSL?

I am trying to program a FPS game with OpenGL. I am using 3D eight the OpenGL 3.3 programmable pipeline. I have a gun and a camera that I loaded. When I load all of the assets for the game, I put ...
3
votes
2answers
309 views

Game Mechanics for character development in an RPG

I recently asked a question here on a different stack about how to write strong characters given the limitations of the RPG genre. After all, even in an RPG, which is somewhat story friendly, many ...