another newbie question - grid to display x.y coordinates?

SarnSarn Member Posts: 7
Hi all,
Using gamesalad for windows here. Is there a built in system to help you determine x,y coordinates on the scene?

Comments

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    Can you explain what you need a little clearer?
    Do you want to find out the x,y cords of an actor during gameplay
    Do you want to adjust an actors position to specific cords?
  • SarnSarn Member Posts: 7
    edited July 2013
    I want to be able to adjust an actor to specific coordinates. I could make a 1px by 1px actor, put it on the scene where I want my real actor to move to and get the x,y coordinates from there, but was wondering if there was an easier way (for eg hover mouse over scene and gamesalad tells you the x,y coordinates of where your mouse is) :)

    edit:

    "Do you want to find out the x,y cords of an actor during gameplay" an easy way to do this would also be handy :)
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    just put a display text behavior inside the actor and make it display
    Self.position.x..":"..Self.position.y

    You can only find the mouse position during gameplay.
    I'm not home right now but I believe it's game.mouse.position.x
    Just have an actor display that as text like above
  • -Timo--Timo- Member Posts: 2,313

    I'm not home right now but I believe it's game.mouse.position.x
    Just have an actor display that as text like above
    its devices.mouse.position.x :)
Sign In or Register to comment.