Shoot at where touched...

DrGlickertDrGlickert Member Posts: 1,135
edited November -1 in Working with GS (Mac)
I want my cannon to fire at the point where I touch on the screen. What's the best way to do this?

Comments

  • DreamLabDreamLab Member Posts: 2,127
    there is a tutorial that TSB did. hold on lemme get it
    DL
  • DrGlickertDrGlickert Member Posts: 1,135
    I believe I saw something on his Menu tutorials that may have some value to it. But I don't know if that would do it or not.
  • DreamLabDreamLab Member Posts: 2,127
  • DrGlickertDrGlickert Member Posts: 1,135
    That was very helpful. However, it's created new problems.

    I'm making a bubble breaker type game, so I want the player to click on the screen to make the balls fly towards the others. This just sends the balls to a certain point. How do i get the balls to continue moving? I tried accelerate but that just screws things up completely. Change velocity sends it all random like... any thoughts?
  • DreamLabDreamLab Member Posts: 2,127
    Don't make it MOVE TO. make it just move. and it will continue moving or use interpolate, and it will continue until you press another direction.
    DL
  • DrGlickertDrGlickert Member Posts: 1,135
    How do you add X and y coordinates to the "direction" expression bar of the MOVE function?
Sign In or Register to comment.