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
0
votes
0answers
82 views

algorithm advice for game background ambiance - animals living in forest

In the game, there is a forest and animals living in it. The interaction of the animals is just a background ambiance. When googling I found Goal-Oriented Action Planning pattern. And this pattern ...
1
vote
1answer
530 views

Chaining Melee Attacks

I am working on an action platformer using Pygame. My player sprite has three melee attacks. Let's call them SLASH_1, SLASH_2, and SLASH_3. Each of these attacks has, let's say, 2 animation frames, ...
0
votes
1answer
764 views

Looking for collision detection algorithms for broad and narrow phases between non-convex polyhedrons

I have some experiences on particle system simulation (namely DEM - Discrete element method), in which an individual particle with realistic shape (convex and non-convex) is approximated by gluing 3D ...
9
votes
6answers
891 views

How can procedural generation be used to support exploration mechanics?

It would seem that procedural generation would be a great tool for open adventure games, since it would provide an almost limitless world. However, I notice most successful procedural generation games ...
1
vote
2answers
144 views

Help developing a scoring system for a tech tree based game

I'm working on a tech tree based project in which the player would select "advancements" to effect several measurement stats, or "basic stats". I have a working excel model that will calculate the "...
3
votes
0answers
52 views

How to calculate the sound volume for the left ear and right ear based on the object position & velocity, player position & forward vector? (3D sound) [closed]

Please assume: Minimum distance for 3D volume = 1.0; Maximum distance for 3D volume = 100.0; This is the declaration of the function: An object can be a ball moving closer to the player. ...
0
votes
1answer
139 views

Character jumping but not returning to ground platform game AS3

I am making a platform game where the main character moves right and left and jumps however my character jumps and does not return to the ground but stays on top of the stage.My characters movie-clip ...
1
vote
2answers
299 views

Strange issue with bool comparing ToString always false - unity c#

I have another problem with my code that I can't fix :\ Basically i have an enum called 'type' in my Item class, which tells me if the item is consumable, or equipment, etc. In the database script I ...
9
votes
5answers
989 views

How to balance experience gain with player collaboration?

I'm developing an online game with friends, and we're currently blocked by a overall game design issue: how do you reward players with experience points and loot/gold yet still encourage them to play ...
0
votes
1answer
1k views

What game mechanics work best on mobile phones? [closed]

I teach Swift 3 and Android Studio. My students are always asking why I'm not in the mobile market yet; frankly, I'm migrating my 88 games from flash into native mobile apps ... it takes time. My ...
1
vote
0answers
97 views

TBS Shooter targeting AI

I have some experience in developing all sorts of (small) games using Unity3D, I have a few personal game projects and I also work for a small game studio. The only subject in game development that I'...
14
votes
1answer
473 views

How to implement stress/strain mechanics in voxel terrain?

I am in the process of developing a Minecraft-like world where the terrain is divided into voxels. However, I would also like for unstable configurations of landscapes to collapse predictably. For ...
1
vote
3answers
509 views

How to avoid player base schisms created by levelling gaps in MMO games?

In WoW, players are split into strata (Pvp Tiers) 10-20 / 20-30 / 40-50 / 50-60... This causes the playerbase to split. It creates a rift, players of uneven levels cannot be matched together for ...
9
votes
3answers
1k views

How to build repetition into a game that won't ruin the experience

I am building an Educational technology (Edtech) game that attempts to follow the format of an adventure RPG while teaching foreign languages. Obviously, EdTech games must actually teach, which ...
0
votes
1answer
218 views

Offset on camera following object that accelerates

I have camera a that is actively following an object (a plane) from behind. This object can accelerate or decelerate. I would like to have a camera offset when I move the plane, so it doesn't look so ...
1
vote
2answers
229 views

I have a game based on combining 2 ingredients to create a product. What is the best way to code this? (Unity)

So to go a bit more in depth, in my game, you can combine a variety of ingredients to make a product. For example, you could combine water and dirt to make mud. What I am currently doing to achieve ...
4
votes
2answers
523 views

2D Skier physics looks very artificial

I am creating a ski slalom game and I coded a new physics routine, because I was told the rigidbodies are pure "not overly good thing" to use by my boss. With my physics routine it indeed looks much ...
7
votes
1answer
3k views

Modern Loot Table Concepts

First, allow me to apologize, because this is going to be a fairly long post. I've given this topic a lot of thought, and even experimented with concepts and previous implementations. When I imagine ...
-1
votes
1answer
206 views

Browser RPG mechanic from tabletop RPG [closed]

The GURPS "you have 100 point to buy attributes, advantages and skills, but you can get disadvantages for bonus points" mechanic can work in browser based RPG's?
8
votes
2answers
1k views

Adapting pen & paper RPG rule system for use in a video game [closed]

I want to make a browser based RPG. I am considering to use an existing pen & paper rule system (like FATE or GURPS) instead of developing my own rule system from scratch. What pitfalls should I ...
0
votes
1answer
21 views

How to make the image move forward properly when rotated in my HTML5 game?

I am just trying to make a simple 2D racing game using canvas. It uses the W,S,A, D keys to move the car. The W key should take me forward and the A and D keys will turn each way. I want the car to ...
3
votes
3answers
590 views

Could neural networks be used in order to build a better AI system? [closed]

Currently, I am researching both about Finite State Machines and Neural Networks in order to design AI for my game. I have searched a lot and I see that people usually use FSM because they are ...
2
votes
2answers
202 views

How can I dissuade alliances?

I'm designing a game where players are able to form alliances with each other. The game has two winning conditions: When all other players are eliminated, the remaining player wins; or if all the ...
0
votes
2answers
492 views

AI Algorithm to make enemy smarter from level to level in Runner game

I am designing a City-Runner game in Unity 3D Engine.I am a beginner in game development (not in programming). The idea is really simple, the Runner will be followed by AI enemies, and if caught by ...
19
votes
5answers
5k views

Is there any term for reverse gamification?

Gamification is a process of applying game mechanics to non-game contexts. Reverse gamification is a process of using non-game context or non-game mechanics in games. For example: Gamification - ...
0
votes
1answer
396 views

How do I handle resolution change in OpenGL and SDL2, in combination? [duplicate]

How do I handle resolution change in OpenGL and SDL2, in combination? Let´s assume I have a GUI window with a fixed position, so it will be on the right corner of the window, and after resolution ...
0
votes
1answer
47 views

How to reference a GameObject that shares position with gameObject in Unity C#

Well, thats a weird title. What i am trying to do is identify the object which position matches the gameObjects position that the script is attached to. Hell, that didn't make it better. Here's my ...
2
votes
1answer
368 views

How would I create colouring such as in Splatoon?

For those who don't know, Splatoon is a game where you color ground with your teams, and other team tries to color more area in their color. It looks like the whole ground is color-able, which makes ...
6
votes
4answers
913 views

Are random events beyond players' control necessary for “strategy” games?

By "random event" I mean critical hits, misses, random variation in some kind of result etc. Examples of these include the accuracy mechanic in XCom; critical hits and accuracy chance in Darkest ...
0
votes
2answers
63 views

Pressed key doesn't run out of special powerups

So I'm making a game in Lua/Love2D and have a problem with my game logic. Mainly I have a spaceship that can use boost and stuff. That part is fine, I click space and it boosts up to speed quickly. ...
-3
votes
1answer
90 views

How do I set the truck to run on the road, recognizing the black edge as the road?

I am rewriting the Bad Roads game with pygame, for AI research, having extracted the assets from the APK file. I have the truck images and the background: How do I set the truck to run on the road, ...
2
votes
2answers
6k views

Pokemon Artificial Intelligence [closed]

I'm working on a thesis about programming an AI combat system for Pokemon (To be implemented in Showdown!). However, I would like to include historical information about the existing implementations ...
1
vote
2answers
244 views

Movement of an object based on thrust and gravity force in 2d scrolling game, need help

I want to make a box "fly" so while user press D it's add thrust then on A it decrese untill 0, W and S control the direction of my box. I have problems after I add the gravity to update correctly my ...
-1
votes
2answers
215 views

What are the alternatives to additive damage?

By additive damage I do not mean additive damage bonuses. I mean damage that adds up over time: New HP = Old HP - Damage Additive damage has the following ...
1
vote
2answers
2k views

Breakout angle calculation

I am making my first game in python and I am really stuck at with a physics problem. The game I am trying to make is a copy of the game Breakout. In Breakout, the player controls a "paddle" at the ...
1
vote
1answer
549 views

How to use Libgdx Accelerometer?

I am developing a game with libgdx for android.I want use accelerometer for motion control.I am controlling a coin within screen bounds. I want to apply gravity according to device orientation as you ...
1
vote
0answers
67 views

Trying to create a UE4 blueprint or script to recognize set shapes

I'm currently developing an indie game using Unreal Engine 4 and I've stopped developing it within the last week because I have hit a massive roadblock.. I am trying to figure out how to create a ...
1
vote
0answers
53 views

Make an object rotate from 0 to 360 degrees by using the trigger button on the htc vive controller

Hello I would like to be able to make a sphere that is attached to a cube rotate from 0 to 360 degrees by pressing the trigger on the vive controller. As the sphere rotates I want it to be able to ...
3
votes
1answer
280 views

How should I balance temporary buffs to make my game fun?

As a game developer, I understand many players (usually in RPGs) expect short term buffs to be available to them, such as potions, war cries, drugs, etc. As a player, I've never understood what fun ...
4
votes
3answers
225 views

Finding the Balance - Income vs Expenditure

I'm working on a game idea that uses an in-game currency, and basic business (income/outcome). Basically, a certain type of building will generate 'income' per seconds until it hits a certain ...
4
votes
1answer
145 views

Could stealth and chase mechanics suit well for an exploration / branching paths game? [closed]

Our game focuses on exploring a city searching for clues and learning new skills to reach new locations to find something very valuable to the protagonist. The game design is based on two ideas: ...
0
votes
1answer
193 views

What are the advantages of using SAT(seperating-axis theorem ) in collision detection?

Lets say i need to check if two AABBs are colliding with each other. I would simply compare their corners. When am i gonna need SAT(heavy vector calculations) to do the same thing?
1
vote
1answer
345 views

Segmenting an MMO market

I've been considering a segmented market for an MMO: There is a different market for each in-game level (Level 1 players can only buy/sell items from the Level 1 market) If a player levels up with ...
-1
votes
2answers
217 views

Attack Rating for Weapons

I'm considering a combat power(CP) estimation for a game I'm working on, which acts as a function of different variables, including attack, def, speed, etc.(I haven't decided the function yet). Now ...
26
votes
4answers
6k views

Can inflation exist in a fixed price Mmorpg world?

Assumptions: Crafting materials are infinite. Limit is player boredom. Players can only trade through the auction house. All prices are fixed. Players cannot decide arbitrary prices. Goods in auction ...
0
votes
1answer
67 views

Quantity of dropped/spawned items in container

I'm having trouble figuring out how to spawn more than one item in to a container with a weight limit. What I'm having trouble with is the understanding, rather than what statements to write; My ...
2
votes
1answer
131 views

Should the objective of a game be obvious to the player?

Watching game dev talks and reading articles about 'good' game design, it seems consesus a game should always make the objective obvious to the player, making clear what 'skill check' is being made ...
-3
votes
1answer
117 views

How do I implement semi-random level generation?

I am trying to make a platform game that generates semi-random levels. I want it to read in the segments of a level and then choose a random one from among these segments. I am stuck. I have ...
0
votes
2answers
118 views

Ball jumping algorithm

I'm still starting out anf i'm making a 2d game where a ball which jumps through different blocks. The ball jumps a fixed height when i place the blocks that the ball should dodge i place them ...
4
votes
1answer
130 views

How do multiple expansions to a game typically should be implemented?

Let's say I have a game that's finished and shipped, what would be the approach that is typically taken in regards to future content such as expansions? I'm not talking about programmatic ...

1 2 3
4
5
14