Collect to win

How would you make a pac-man like game where you collect the dots to win?

Use this link: http://forum.flowlab.io/discussion/31
It will tell you about the collect part. Ask grazer about the character that moves like pac-man.

basically you want your player to have a counter. If you have 50 dots in the game, you want a filter to the number of dots you collected to be “equal to 50” and have the next level appear.