Hi,
I want to create a simple fruit merge game: Users drop a fruit and when the same fruits touch, a new type of fruit is created.
I'm stuck at the merge mechanic.
How do I do it that for example: Blueberry + Blueberry = Cherry?
So far I have:
Fruits On Collision with Fruits
Condition: System - Pick by comparison
- Object: Fruits
- Fruits.ObjectTypeName
- Comparison: Equal to "Blueberry"
Actions: System create cherry
Destroy Fruits
I have the same for cherry (cherry + cherry = grape) but for some reason cherry + blueberry also create a grape.
Each fruit has the physics behavior and is its own Sprite object. They're also in a Fruits family for random spawning at the top of the layout.
Thank you