You can check if the tile at Mouse position is empty or not by this condition:
It depends on many reasons, maybe you created too many objects and not destroy them(they still outside of your viewport), use too many effects, ..etc.
One text and one global variable:
And the result:
My format is min: sec: milliseconds, so you can delete the milliseconds part.
There you go:
drive.google.com/open
I saw that you will need 8 steps to decrease the progress bar 1 second.
So my solution is:
you can put a sub-condition to check this before do an action.
you should add a condition that if the layer 6 visible-> you can interact with it. If NOT, stop interacting.
When destroy you repeat 4 times to create fragment at 4 imagepoint of your brick
You need to add to Score when colliding with an item and Subtract when colliding with an enemy.
Hope this could help you:
scirra.com/tutorials/978/example-load-data-from-json-to-array-and-populate-game-card
Develop games in your browser. Powerful, performant & highly capable.
Willing to work with you.
Can you please share your info for me can contact?
Or you can reach me at my gmail: nguyenquocdong2009fue@gmail.com
or my Skype: DongNguyen602
Member since 13 Nov, 2014