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...

""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

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.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • 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

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • 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.

    :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.