A Unity-based core system that replicates fruit merging mechanics inspired by popular falling and merging puzzle games. This project focuses on recreating the core logic behind object merging using Rigidbody2D and built-in object pooling, all wrapped in a minimal and extensible structure.
- ✅ Unity-native object pooling system
- ✅ Customizable fruit data (appearance & physics) via
MelonDataContainer
- ✅ Ready-to-run demo scenes under
Scenes/Demo
Scripts/Runtime/
: Core merge logic and data containersScenes/Demo/
: Playable test scenes for validating functionalityTextures/
: Hand-drawn fruit sprites used in demo
- Clone this repository
- Open it using Unity 6 or later
- Load any scene under
Scenes/Demo
- Play the scene and drop fruit to observe merging behavior
Note: This project may not work properly in Unity versions below 6 due to usage of modern API features.
You can define your own fruits, physics properties, and visual assets by editing the MelonDataContainer
asset. This includes:
- Physical properties
- Appearance (sprite)
- Educational demos for Unity 2D physics & pooling
- Base system for prototyping fruit merging puzzle games
- Core system for commercial or personal projects (MIT-licensed)
This project is independently developed and is not affiliated with or endorsed by Aladdin X Inc. or any of its products. All trademarks and copyrights are the property of their respective owners.
This project is licensed under the MIT License.
You're free to use, modify, and distribute this code for personal, educational, or commercial purposes, provided that the original author is credited and the license terms are followed.
Created and maintained by Ethan Ling (@Bcoffee0630)
Repository hosted under the BcoffeeDev organization.