Hey, so...I've been searching the forums but haven't quite found the solution that works, even though I imagine this is simpler than I'm making it.
I have a 2 player tile game, where tapping a tile changes its color and the color of the tiles around it.
I'd like to count how many tiles each player has colored, and display that as a score.
My most recent attempt was to do do:
Every tick
System > Pick tile where tile.ColorValue = rgb(237,136,82)
Then actions:
System > Set p1Score to tile.PickedCount
p1Text > Set text to p1Score
And repeat for Player 2's color value. Looking at it in debug, it's not updating the score variable, so I'm trying to figure out if the failure is happening because of how I'm using Pick/PickedCount or if it shouldn't be run Every Tick or what.
Attaching my .capx for reference. Thanks in advance!
dropbox.com/s/b2ccobpn60tm6c1/Bloom.c3p