This is awesome! I've been trying to make something similiar, but I got stuck trying to figure out the combining. Any chance you'll release the project file?
How I implemented this: Every fruit has size and age variable > Fruit listens for collisions > If anything collides check if it has same size > Remove both fruits > Create fruit in place of youngest egg :)
An age variable is an interesting idea! I came up with a different solution, basically when a fruit collides with another of the same it disables the contact monitoring of the other fruit. It works fine, but it's a bit clunky. your solution is much cleaner.
← Return to game
Comments
Log in with itch.io to leave a comment.
this shouldn't have the tetris tag
Seconded.
This is awesome! I've been trying to make something similiar, but I got stuck trying to figure out the combining. Any chance you'll release the project file?
How I implemented this:
Every fruit has size and age variable > Fruit listens for collisions > If anything collides check if it has same size > Remove both fruits > Create fruit in place of youngest egg
:)
An age variable is an interesting idea! I came up with a different solution, basically when a fruit collides with another of the same it disables the contact monitoring of the other fruit. It works fine, but it's a bit clunky. your solution is much cleaner.
Wowers this game makes me pog my pants so hard!