Hi everyone. I am trying to move a sprite starting on the right side back and forth from left to right and when it crosses the target sight in the center and is tapped on the screen triggers an animation.
I can't find any simple tutorial that automatically does this and I'm not seeing an obvious command to have a target move to position.
Thanks
Sin horizontal behavior + on click + is object overlaping object
Thank you can you dumb that down a bit for me? It's my first crack at a game.
O.K with some various tutorial digging and your suggestion I got it working. Now I need to change the speed of the back and forth direction when clicked successfully.
I'm trying to use the 'Set Sine Period to' action and I wanted it to get progressively faster but if I try and 'Set Sine Period to -1' It just goes full speed (1) instead of progressively speeding up one Sine Period at a time.
Any suggestions?
Use decimals. For example, set sine period to 1.9, or set sine period to 1.8, or set sine period to 1.7
Thanks but I'm not understanding your suggestion.
If I input a "-" and any decimal it still jumps to a ridiculous fast speed verse gradually amping up.
I'm looking to increase speed a little each time they are successful.
Develop games in your browser. Powerful, performant & highly capable.
Thanks!