Can you define an Actors position attribute so that it is located in the same place in every scene
I am trying to create an actor (trash can) and put it in the same place on every scene without having to manually put it in the correct spot on the scenes I have already created. Is there an easy way to define an actor (i.e. position) and then just drag it to the scene and have it placed in the right position (x,y).
Thanks
Thanks
Best Answer
-
GLGAMES SingaporePosts: 988
constrain self.x & self.y position to the fixed position that you want so you can place the trash can off screen but once u run it will go to the position you have set. But the feature you are asking whereby you drag actors onto the screen and let it snap automatically to the set position is still not available.
Answers
Change position x to x
Change position y to y
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
http://www.youtube.com/watch?feature=player_embedded&v=iXhiVVWMF1c#!
http://www.deepblueapps.com/Deep_Blue_Ideas_Ltd./GS_SceneMerger.html
Darren.