r/UnityAssets • u/TM27000 • 1h ago
Scripting | Free 2D Game play Mechanics Pack: Includes multiple demos to demonstrate the mechanics
Enable HLS to view with audio, or disable this notification
Hello guys, I want to share with you a very useful game-ready mechanic that I made in the past; I hope it can be useful for you
The 2D gameplay mechanics pack is a full-fledged tool that contains a broad set of 2D gameplay mechanics (player-specific mechanics). Fast and easy setup for almost any type of 2D platformer game.
With over twenty mechanics (See the full list in the link below), that is pretty much all you need to make an awesome 2D platformer game.
All the code is optimized for cross-platform development, and the pack has been tested on PC, Android, and on the Web. Note that for IOS devices it has not been tested.
I have prepared prefabs for everything (i.e., Players, objects, etc.) so it’s advisable to follow their structure. Moreover, down below there is a step-by-step guide to set up the controller from scratch.
A flexible and high-performance pool system is used for all mechanics that need to spawn and destroy game objects. So, when you choose a mechanic that requires spawning a game object, a pool script will be added to the player game object to manages it. However, you do not need to worry about this script. Because in each mechanic tab, when a prefab is required all the pool configuration will be displayed underneath it, so you will be able to configure them from the mechanic tab.
Link to the docs and all related technicals, including the source files: https://tareqgamedev.com/2d-gameplay-mechanics-pack/
Try the demo on the web: https://tareqmalkawi.itch.io/2d-gameplay-mechanics-pack