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.
Conundrum
14
Posts
1
Topics
7
Followers
11
Following
A member registered Sep 01, 2020 · View creator page →
Creator of
A rushed game I made for the 1981 game jam. arrow and ASDW controls.
Adventure
Play in browser
A short robot platformer made for the Chill Game Jam in 2 days
Platformer
Play in browser