Obtaining touch/mouseclick x,y location

gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
edited November -1 in Working with GS (Mac)
Hi, is there a way to get the x,y location of a touch/mouseclick please? I'm sure this must be somewhere but can't find it...

Comments

  • tamer1tamer1 Member Posts: 11
    Go read the SDK documentation at Apple website.
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    I get the feeling this isn't possible. One of my game ideas is an adventure game which would involve touching the screen at a certain place, then the player walking to that location. Ah well, I'll have to think again on that aspect.
  • JonTiStudiosJonTiStudios Member Posts: 66
    Hey gyroscope, the touch attributes are located under the "devices" section. There is an attribute for touch 1-5.

    I have heard that using mouse x&y will work for the first touch, but I have not tested that myself.
  • quantumsheepquantumsheep Member Posts: 8,188
    It certainly is possible!

    May I suggest going through as many template examples as you can bear? I'd suggest starting at FireMapleGames' profile on here, and Tshirtbooth's as well.

    There are plenty more though!

    It will really give you an idea of how stuff works, and the two guys I mentioned have specific feature templates, which really help.

    Hope that helps!

    QS :D
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Thanks JonTiStudios + quantumsheep; I should have guessed that it's possible, especially with touch facility; bit slow on the uptake sometimes, me!

    Thanks also QS, i'll check out those profiles.

    :-)
Sign In or Register to comment.