I'm creating a game and i need that when an object is visible in the game every 5 seconds , add 5 coins to my variable ' ' coins ' ' . And if i have two of the same object, an other 5 coins are added, that is to say 5 + 5 = 10 coins each 5 seconds. Thanks for everything
Develop games in your browser. Powerful, performant & highly capable.
There are official Scirra tutorials on something like this :
youtube.com/watch
Go check them out <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />
urmel you find your answer here
https://www.dropbox.com/sh/eioscti86bpr ... 7YPza?dl=0
Thanks!! You solve my problem! I only have an other question. When i have a sprite with the behaviors "Drag and Drop", I want to drag, and only drop the object in a specific space, later, the object is fixed in space . It's possible?