Mouse and Actor Positions… Not Universal?
bonywa
Member Posts: 13
Ok so I am new to Gamesalad. Though I do have a programming background, I am finding that it is almost useless with this interface. This thing really needs a debug window of some sort.
So I have an actor on the screen. I simply want to be able to click anywhere to the left of the actor and it moves left and click to the right it moves right. I realize (after dumbed down debugging using an extra actor with text displays) that the actor position is is based on the stage location which can be set to very large numbers. Mine is 1500 X value. However, the mouse position is only the position on the camera. So these positions will never be greater than the width of the screen size. Anybody know how to see what position in your level the mouse click occurs at?
So I have an actor on the screen. I simply want to be able to click anywhere to the left of the actor and it moves left and click to the right it moves right. I realize (after dumbed down debugging using an extra actor with text displays) that the actor position is is based on the stage location which can be set to very large numbers. Mine is 1500 X value. However, the mouse position is only the position on the camera. So these positions will never be greater than the width of the screen size. Anybody know how to see what position in your level the mouse click occurs at?
Comments
hope that makes sense.