/100_game_mechanics

Implementation of the 100 most famous game mechanics

Primary LanguageC#

100 game mechanics

Implementation of the 100 most famous game mechanics

Hi all! I am starting a marathon of implementing 100 well-known game mechanics based on the Unity game engine and the C# programming language. A list of these mechanics is freely available on the Internet. The main goal of this marathon is to try to implement all the mechanics in various ways. Please do not judge strictly for the quality of the code, since many of these mechanics have never been implemented before. Try to implement all things as simply as possible. In this project, I neglect the basic principles of programming (OOP, SOLID, etc.) in favor of the speed of writing mechanics. Maybe someday I'll get it right.) I will consider all your ideas and suggestions! I hope this repository will be useful to everyone who needs new game features in projects.

LIST OF GAME MECHANICS

  1. Health as a currency
  2. Fog of war
  3. Lack of menu, or menu inscribed in the game world
  4. Red barrels
  5. Sandbox
  6. Flexible creation of custom spells or weapons
  7. Saving in bed or in the house of a game character
  8. Bullet hell
  9. Complicated relationships between NPCs
  10. Change level color
  11. Ghost after dead
  12. Death depends on time
  13. Bridge constructor
  14. Infection
  15. Rythm Based
  16. Player Statistics
  17. Idle
  18. Farm
  19. Programming
  20. Undo
  21. Ladders
  22. HP From enemy
  23. Difficulty selection
  24. Combo
  25. Portals
  26. Physics gun
  27. Airport Controller
  28. Eleksir
  29. Dynamic Difficulty
  30. Clicker
  31. Simple store
  32. ... Coming soon ...

  1. Health as a currency

You need to collect lives to successfully complete the game.

0218.mov

  1. Fog of war

The further the player goes, the more the map is visible.

0218.1.mov

  1. Lack of menu, or menu inscribed in the game world

If you are tired of canvas and want to make a new menu, then this mechanic is definitely for you!

0219.mov

  1. Red barrels

Standard barrel explosion.

0219.1.mov

  1. Sandbox

In the mechanics of the sandbox, I took for the main idea - the capture and dragging of objects.

0220.mov

  1. Flexible creation of custom spells or weapons

From three figures you can make 6 types of weapons.

0220.1.mov

  1. Saving in bed or in the house of a game character
0222.mov

  1. Bullet hell

For example, some final boss with different types of bullets.

0222.1.mov

  1. Complicated relationships between NPCs

I decided to implement the relationship between the NPCs as in minecraft between the villagers and the invaders.

0224.mov

  1. Change level color

Changing the color of the map was achieved by switching shaders.

0225.mov

  1. Ghost after dead

The animation of the appearance was made through coroutine and a custom shader.

0227.mov

  1. Death depends on time

The approaching death depends on time. In this case, a platformer was made with lava that fills the room.

0227.1.mov

  1. Bridge constructor

When implementing this mechanic, I made a mesh generation.

0228.mov

  1. Infection
0301.mov

  1. Rythm based

Standard mechanics to have time to press a certain key to the rhythm of the music.

0301.1.mov

  1. Player statistics

Here it was decided to make statistics as in ordinary races that are smoothly sorted in the list.

0302.mov

  1. Idle

This mechanic is that when you are not playing the game, changes still occur. These things are done by manipulating dates.

0303.1.mov

  1. Farm

The basic principle of the farm - earned and paid.

0303.mov

  1. Programming

The main idea is to do it the way redstone works in minecraft.

0307.mov

  1. Undo
0311.mov

  1. Ladders
0311.1.mov

  1. HP From enemy

Getting hit points from enemies.

0312.mov

  1. Difficulty selection
0313.mov

  1. Combo

Standard combos like in Tekken.

0313.1.mov

  1. Portals
0317.mov

  1. Physics gun
0317.1.mov

  1. Airport Controller
0317.2.mov

  1. Eliksir
0318.mov

  1. Dynamic Difficulty
0319.mov

  1. Clicker
0319.1.mov

  1. Simple store
0320.1.mov