For each block, dropped onto another, 200 points are added, the blocks contain the Physics behavior.
Unfortunately, every time a block drops onto another, it bounces, which adds more points than it should be.
Any ideas on how I can correct this?
Develop games in your browser. Powerful, performant & highly capable.
You may play with physics properties. For example, set Elasticity to 0 and Friction to 1.
Nope. Doesn't work, already had similar settings, and was only .5 out. Also the platform drops, when the platform drops, the blocks "bump" and then once again, adding scores.
You could add a short timer that while >0 ignores scoring.
So if it hits once, the second or third hits won't register until the timer has counted down to 0 again and triggerd scoring enabled.
How about adding an instance boolean to the blocks, and set it to true once the blocks collide. This will ensure the points are only given once.
Example .capx
How about adding an instance boolean to the blocks, and set it to true once the blocks collide. This will ensure the points are only given once. Example .capx
Thank you, Thank You, Thank You!!! It works!! <img src="smileys/smiley32.gif" border="0" align="middle"> <img src="smileys/smiley2.gif" border="0" align="middle">