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
-1
votes
1answer
23 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
20 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 ...
1
vote
2answers
115 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
50 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
25 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
18 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
104 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
63 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
81 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
325 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
44 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
112 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
37 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
297 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
95 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
39 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
54 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
202 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
142 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 ...
65
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
101 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 ...
2
votes
2answers
222 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 ...
0
votes
1answer
72 views

Ideal 3D platformer controls for Keyboard + Mouse [closed]

I am developing a 3D platformer, and I know that controller is optimal for the precise movement, but I don't feel players should have to buy a controller just to experience a 3D platformer that is ...
2
votes
2answers
176 views

How to make fighting roster fair

I plan on creating a fighting game in the future, and I'm wondering how to make a roster functionally fair, and feel fair. You see, Super Smash Brothers Ultimate is functionally fair (I think), but at ...
0
votes
0answers
35 views

Clutch slipping effect

I have modeled a 3D bus so now I'm working on the motor and gearbox script for a bus game simulator. All seems to be ok but I want to create a clutch slipping effect and I'm really disapointed. Here ...
0
votes
0answers
30 views

SDL_WarpMouseGlobal does not work in game

I tried to use SDL to move mouse in game. The function works fine only in menu, when I join a game, the function does not work. I checked coordinates with ...
0
votes
0answers
43 views

How to implement Microwave Signals in Unity?

I need to implement microwave signals for object detection in Unity. I know there are raycast sensors in Unity, but can microwave signals be simulated or can a proxy of microwave signals be created ...
0
votes
1answer
113 views

World War Game units and resources mechanics

I'm currently building a world war game with a timeline between the first world war up to current days. In the game there will be many fighting units with a diversified range of classes and sub-...
0
votes
0answers
57 views

Leading a target with edge casting

I am trying to write a movement prediction code. I have found the quadratic method with these topics: [1]: How to calculate shot angle and velocity to hit a moving target? [2]: http://...
0
votes
1answer
80 views

How do i prevent IAP abuse using restoring purchases in an online game?

Lets say i have a mobile mmorpg (ios/android) where you can purchase premium currency using IAP's... how do i actually prevent the following case : Player purchases premium currency Server side ...
1
vote
3answers
175 views

RTS Attack Formation

If i select a group of units and send them somewhere i form them like the following; If i select them and order an attack, i want three things to happen: High range units should keep the distance ...
1
vote
1answer
85 views

What are the ways to deal with elevated tile blocking the view of the tile behind it?

I'm trying to make an isometric tactical rpg type of game. One issue I encountered is that if I elevate an tile, then it starts to block the view behind it. The game is 2D, so there is no freely ...
0
votes
1answer
567 views

Unity3D C# Drag object smoothly on it's x axis that's already bouncing

In my scene, I have a bouncing ball that collides with a cube. On each collision the ball returns to the same height. How can I get the ball to smoothly move along the x-axis by dragging my finger ...
3
votes
5answers
378 views

What are the cons of a 3 team FPS?

In creating a video game concept, there are very little video games that offer a 3 team multiplayer FPS (think like Overwatch/Call of Duty but with 3 teams instead of 2). The only 'mainstream' games ...
1
vote
1answer
124 views

Game mechanics for a persistent real-time strategic/tactical game

I am designing a game based around a fairly realistic simulation of 'Age of sail'-like trading and combat, and I am currently trying to decide whether to make the game a limited on-line application, ...
1
vote
1answer
46 views

Automated LAN Matchmaking

I'm looking to build an automated LAN matchmaking system for games and wondering if/how it would differ from the online applications (like FaceIt, ESEA) that serve a similar function. Ideally, a user ...
1
vote
0answers
122 views

Specialisation in game roles: Getting better by learning vs leveling [closed]

Many games have some sort of role for the players, especially in multiplayer games. Medic, Sniper, Rifleman, AT Specialist in Battlefield, Healer, Tanks, DDs in MMOs, etc. Now, in many games, there ...
1
vote
2answers
199 views

Pros and cons of randomised item stats?

I'm working on an old-style isometric RPG like the early Diablo or Fallout games. It has a central story with branching paths, and a lot of player freedom to explore the open world. The combat system ...
3
votes
1answer
309 views

Would it be worth designing games in which the fighting is suspended so your enemies can get some sleep?

I think one way to motivate kids to get more sleep at night would be to design a series of video games in which the monsters/creatures/aliens, etc., will automatically stop attacking your character ...
0
votes
2answers
172 views

How Can I Fix Spawning The Tiles?

I am making a 3D infinite runner game in Unity in C#. When the player has reached the end of the tile it should spawn another tile and then delete the previous tile. When the player reached the end of ...
0
votes
1answer
83 views

How Can I Fix Where The Tile Spawns?

I am making a 3D game in Unity and C#. I want to spawn another tile when the player is at the end of the current tile. But when I spawn the next tile it doesn't spawn at the right place(just after the ...
2
votes
1answer
102 views

Logic for npc/customer for cafe simulator game

I need help for logic or pseudo code on how to implement a rules/formula for customer in how they choose drinks(& the toppings). I have more than 10 types of customer and I want to set preferences ...
1
vote
1answer
81 views

How can i reproduce the bird to catapult animation in angry birds?

I've seen tutorials on producing an angry birds like game but non of them explain how to get the next bird on the catapult after the current bird is shot. Also how would i go about doing this if the ...
1
vote
0answers
109 views

Making games on Structure programming language c or c++ [closed]

I am learning structured programming language C. I know about data type, control statements, loops, arrays, strings, functions, pointers, structures and STL. My question is, if I want to make game ...
3
votes
1answer
672 views

Adding character stats/traits in Ren'py

I'm coding a relatively simple VN with RPG elements in Ren'py, with little prior programming knowledge. There's one aspect that I can't simplify further because it's important to the game's branches, ...