Page 1 of 1

physics - make a score when objects collide

Posted: Thu Jul 28, 2016 4:24 pm
by valossa
hello i saw a tutorial about love.physics where a ball interact with blocks, i create some other blocks and the objective of the game is fall the big block, redirecting the ball , and make it hit the blocks to fall.
But i need a little halp to make a score like this:
alwayes the ball hit the big block add a counter on the score, the game will end when the big block falls, win the player that have the lower number of hits to fall the block

Re: physics - make a score when objects collide

Posted: Fri Jul 29, 2016 12:36 am
by Beelz
I didn't happen to look at the code, but this may help you.