Make Actor Spawned Above Touch

sessiensessien Member Posts: 41
edited November -1 in Working with GS (Mac)
Hi,

This is a spawning question. How can I make an actor be spawned above my touch? In other words instead of the actor being spawned in the middle of my touch, the actor is spawned above my touch. And moved around relative to where I am touching.

I appreciate the help.

Comments

  • COBGamesCOBGames Member Posts: 114
    i would say add how ever many up to the y coordinate of where it should be spawned.

    so if spawn location = touch.x, touch.y make it touch.x, touch.y+20
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    << ya, itried cobgames, idea and it works good enough!!
  • sessiensessien Member Posts: 41
    Hi,

    I spawn a block and constrain it. Do not have a location for touch. Do I create that?
  • cbtcbt Member Posts: 644
    sessien said:
    Hi,

    I spawn a block and constrain it. Do not have a location for touch. Do I create that?

    Touch positions are located at;

    Attributes --> Devices --> Touches
  • sessiensessien Member Posts: 41
    Thanks All. Tshirtbooth's worked for my setup. I tried it before but then deleted and did it again and works perfectly. Thanks again.
Sign In or Register to comment.